PHP 4.0 Bug #5941: Bug in the require() function ?
| From: | support at masterbyte dot de | Date: | Thu, 03 Aug 2000 09:29:18 +0000 |
| Subject: | PHP 4.0 Bug #5941: Bug in the require() function ? | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-27525@lists.php.net to get a copy of this message | ||
From: support@masterbyte.de
Operating system: WinNT
PHP version: 4.0.1pl2
PHP Bug Type: Other
Bug description: Bug in the require() function ?
I've got the following Problem with require :
I have a script, an in Line 10 is a normal parse error (missing ; or something like that).
In line one, i am including a 309 lines php file with include(); .
Result : Error in script.php line 10 : missing ; . Correct !
If I use require() instead of include() i get the following error :
Error in includefile.php line 319 : missing ; . Wrong !
Best regards, Nico Blanke