php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5943 Wrong "Call to undefined function" fatal error
Submitted: 2000-08-03 14:38 UTC Modified: 2000-09-03 07:54 UTC
From: paco at aragon dot as Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.1pl2 OS: Linux 2.2.12-20 (i686) (Red Hat
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: paco at aragon dot as
New email:
PHP Version: OS:

 

 [2000-08-03 14:38 UTC] paco at aragon dot as
<?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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-03 19:49 UTC] rasmus@php.net
Where did this pfw extension come from?  It isn't a standard PHP extension and without source code to it I don't see how we could possibly debug this one.
 [2000-09-03 07:54 UTC] waldschrott@php.net
Closed due to missing user feedback, most likely no bug.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 11:00:01 2026 UTC