PHP 4.0 Bug #5943: Wrong "Call to undefined function" fatal error

From: Date: Thu, 03 Aug 2000 12:38:37 +0000
Subject: PHP 4.0 Bug #5943: Wrong "Call to undefined function" fatal error
Groups: php.dev 
Request: Send a blank email to php-dev+get-27545@lists.php.net to get a copy of this message
From: paco@aragon.as Operating system: Linux 2.2.12-20 (i686) (Red Hat Linux release 6.1) PHP version: 4.0.1pl2 PHP Bug Type: Compile Failure Bug description: Wrong "Call to undefined function" fatal error <?php $in = "<pfw:image name=\042novedad\042/>"; $out = pfw_f1($in); $out = pfw_f1($in); ... $out = pfw_f1($in); echo "out: _", $out, "_"; ?> ------------ If only few 'pfw_f1($1)' calls, nothing rare occurs; but if you put "a ton" of these calls: then become that error. The 'pfw_f1()' function is not "memory hungry" nor "memory allocation buggy" (tested). I think that zend/php syntax analyzer may have a limit for token labels (parser fault?). Well, I'm not sure. ------------- configured as: ./configure ./configure --enable-pfw ---------- php.ini: no manually touched nor intentionally changed ----------- Console data dump: ]$ php t0 X-Powered-By: PHP/4.0.0 Content-type: text/html <br> <b>Fatal error</b>: Call to undefined function: pfw_f1() in <b>t0</b> on line <b> 5</b><br> ]$ ls -la

« previous php.dev (#27545) next »