2007/12/20, Greg Beaver <[EMAIL PROTECTED]>: > > Martin Alterisio wrote: > > Consider the following code: > > > > test.php: > > <?php > > include 'foo.php'; > > use test::foo; > > foo(); > > ?> > > > > foo.php: > > <?php > > namespace test; > > function foo() { } > > ?> > > > > Is it expected behavior that the scripts ends in: > > Fatal error: Call to undefined function foo() > > ? > > Hi Martin, > > No. This is a bug, I was alluding to it in an earlier email, but you > know how time eats up one's life, so I haven't reported it and would > grateful if someone would (or Dmitry/Stas would just know why it is > broken and fix it :) > > Greg >
Thank you. Sorry I didn't read your mail about this bug. I'll look into it a bit more and post a bug report. Have you seen my post scriptum in the first mail about benchmarks? Any idea of what I could use to test the performance of the unsolved name resolutions that are pushed into the executer? I expect there won't be any considerable performance penalty but just want to be completely sure.