> 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. -Rasmus -- 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]