PHP 4.0 Bug #5830: nested includes doesn't work

From: Date: Fri, 28 Jul 2000 09:23:15 +0000
Subject: PHP 4.0 Bug #5830: nested includes doesn't work
Groups: php.dev 
Request: Send a blank email to php-dev+get-26685@lists.php.net to get a copy of this message
From: barmeier@barmeier.com Operating system: NT4 / IIS4 PHP version: 4.0.1pl2 PHP Bug Type: Scripting Engine problem Bug description: nested includes doesn't work The problem is that includes include includes that include includes. Functions that are declared in the includes made at the first level is not recognized in the last. :() This happens with php4 (exe and isapi) but not with php3 Example: includefile A: function setcookietimeout() includefile B: include A function dbutils() includefile C: include B function connect() includefile X: cannotsee () phpfile: include X include C the function setcookietimeout cannot use the function cannotsee();

« previous php.dev (#26685) next »