|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2004-01-16 16:45 UTC] Nico dot Laus dot 2002 at gmx dot de
Description: ------------ since I installed PHP5RC1-dev (Apache 2, Win/Linux), I have encountered a quite strange bug. It gives me an "variable not defined" but some lines above it is been defined. I've also got one message telling me that "Fatal error: Unknown function: _GET() in index.php on line 12" but neither I use such function, nor I declare one. only one line above, I acces the $_GET[] variable. This happens in very different situations with different variables and even "real" funtions. In PHP5 beta 2, this hasn't happened. It's also very strange, that this bug appears randomly. So I cannot even give a reproduce code because even simple examples like $test[0] = 'test'; print $test[0]; or if ($_GET['test']=='test') print 'test'; can cause this problem PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 09:00:01 2025 UTC |
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 (root@Pentium.suse.de) (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 ?*/);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);