ID: 26939 Updated by: [EMAIL PROTECTED] Reported By: Nico dot Laus dot 2002 at gmx dot de -Status: Open +Status: Feedback Bug Type: Zend Engine 2 problem Operating System: Windows & Linux PHP Version: 5CVS-2004-01-16 (dev) New Comment:
Do you have Zend Optimizer there? (Or ANY other zend extension, like some cache..?) Previous Comments: ------------------------------------------------------------------------ [2004-01-19 09:31:02] Nico dot Laus dot 2002 at gmx dot de I just got another example of this error Fatal error: Unknown function: #037B0B() in /www/dsa-final/constants.inc.php on line 31 31 define("KB_IMAGE_PLANETS_UPLOAD", TRUE); ------------------------------------------------------------------------ [2004-01-19 06:00:46] Nico dot Laus dot 2002 at gmx dot de ok, on Windows, I use the php-cgi.exe Windows XP: P4 2,53GhZ, 512MB RAM, Apache 2.0.47, MySQL 4.1.1 configuration is almost the same, php.ini is almost the recommended ini: register_globals=off register_long_arrays = On cgi.force_redirect = off one extension: extension=php_mysql.dll Linux: Pentium III (Katmai) 450MHz - 512KB SuSE Linux 8.2 Linux version 2.4.20-4GB ([EMAIL PROTECTED]) (gcc version 3.3 20030226 (prerelease) (SuSE Linux)) apache2-2.0.47 with libphp.so (or similar file(name)) MySql. 4.1.0_max PHP Version 5.0.0RC1-dev Configure Command './configure' '--with-apxs2=/usr/local/httpd/current/bin/apxs' '--with-mysql=/usr/local/mysql/current/' '--with-zlib-dir=/usr/lib/' '--enable-versioning' '--enable-track-vars=yes' '--enable-url-includes' '--enable-trans-sid' '--enable-sysvshm=yes' '--enable-ftp' '--with-config-file-path=/etc' '--with-gd' further information about the _GET()-function error: Fatal error: Unknown function: _GET() in index.php on line 12 11 if (isset($_GET['top'])) 12 define('BLOCK_DB_WRITE',true); 13 else 14 define('BLOCK_DB_WRITE',false); I've got another example of the error: Fatal error: Unknown function: name() in /www/dsa-final/constants.inc.php on line 55 line 55: define('LIMIT_CANCELTIME_1',0 /*von 'kein Vertrag' in ?*/); ------------------------------------------------------------------------ [2004-01-16 19:35:02] [EMAIL PROTECTED] What I wanted to know is the environment. Are you seeing this with CLI on both platforms? Are you using same SAPI module on both platforms? Same configuration? (if you claim it happens on both..) ------------------------------------------------------------------------ [2004-01-16 19:17:42] Nico dot Laus dot 2002 at gmx dot de well, as I told, there are no special details possible about this. Seems, that the variable handler is somehow screwed up, or it's because I do use __destruct() more often now, but I don't know, how this can affect variables at runtime. At least, the thing with _GET() could be a hint to the solution. Because this is no function of mine. I can give one more example: I got an object $user and sometimes when accessing functions in it, PHP tells me that it cannot access this on a non-object, though I haven't deleted or reset it. well, I can't give you a short example and as I told, there are no special conditions for this error to happen ------------------------------------------------------------------------ [2004-01-16 18:58:04] [EMAIL PROTECTED] Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/26939 -- Edit this bug report at http://bugs.php.net/?id=26939&edit=1