Re: Re: PHP 4.0 Bug #5941 Updated: Bug in the require() function ?
| From: | waldschrott | Date: | Thu, 03 Aug 2000 13:03:36 +0000 |
| Subject: | Re: Re: PHP 4.0 Bug #5941 Updated: Bug in the require() function ? | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-27548@lists.php.net to get a copy of this message | ||
are *really* sure that you´re using php4.0.1pl2,
try
phpinfo()
regards
Nico Blanke wrote:
Am Don, 03 Aug 2000 schrieben Sie: ID: 5941 Updated by: stas Reported By: support@masterbyte.de Status: Feedback Bug Type: Other Assigned To: Comments: Please provide _valid_ reproducing script for this behaviour. Full Bug description available at: http://bugs.php.net/?id=5941 The 2 scripts i sent are valid. I will send them to you again. The Point is, if there is an error in script.php, the parser will not say 'Error in script.php line x', it will say 'Error in include.php line y' , where y is a line number that does not exist. ------------------------------------------------------------------------ <? require('./include.php'); $x = 1; $y = 2 $z = 3; ?> ------------------------------------------------------------------------ <? $a = 1; $b = 1; $c = 1; $d = 1; $e = 1; $f = 1; $g = 1; $h = 1; $i = 1; $j = 1; ?> script.php Content-Type: text/plain Content-Encoding: base64 ------------------------------------------------------------------------ include.php Content-Type: text/plain Content-Encoding: base64 ------------------------------------------------------------------------ attachment.txt Content-Type: text/plain-- o----------0-¬---------O-·---¬----o---®-----o o O ° . | http://www.kiffen.de | pRoteçt y0ur bRaín |0 O ° ¤ ° · 0°·³°²'²³-¹'³´³°^°³~³²³°'³²²¨³²^³¹³²°²³`³º³°Þ ° o © ° . · | psychedelic experience | gott@kiffen.de | O ° o ° o-¬--o--0-----©-·--O-----o-----0-¤----------o 0 ° · ° . ¤ ·