On Sun, 2003-03-23 at 11:47, Sterling Hughes wrote: > <?php > namespace Foo { > class Bar { > function boom() { > echo "BOOM!\n"; > } > } > > import Bar; > > $b = new Bar; > $b->boom(); > ?> > > The import parse error will cause a segfault. >
Just a note that most import statements cause a parser error + segfault: import Bar from Foo import * from Foo etc. > -Sterling > > -- > "Programming today is a race between software engineers stirring to > build bigger and better idiot-proof programs, and the universe trying > to produce bigger and better idiots. So far, the universe is winning." > - Unknown -- "A business that makes nothing but money is a poor kind of business." - Henry Ford -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php