> > I guess I do not understand. The following example works just fine in PHP > > 4.1.0RC1: > > > > test.php > > ===== > > <?php > > include 'testlib.php'; > > include 'testlib.php'; > > test(); > > ?> > > testlib.php > > ====== > > <?php > > if (!defined('_TESTLIB_PHP')) { > > define ('_TESTLIB_PHP', 1); > > > > function test() { > > print "Function test()\n"; > > } > > } > > ?> > > Doesn't work in my 4.1 here. I get redefined function errors.
Now that's totally weird. I get output like this: [ek@scpno test]$ ../php -v 4.1.0RC1 [ek@scpno test]$ ../php -q test.php Function test() Can anyone reproduce this? Edin -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]