#35841 [NEW]: PHP Does not like underscores?
From: maarten at kleeszone dot be Operating system: Linux2.6.12-1-amd64 Debian PHP version: 5.1.1 PHP Bug Type: Compile Failure Bug description: PHP Does not like underscores? Description: Recently I installed a new server with apache2, PHP5.1 and mysql 5.0.16 Now I noticed that sometimes (0.5% of all requests) I get fatal errors: Fatal error: Unknown function: strtomower() in /var/www/global/init.global.php on line 235 Fatal error: Unknown function: strtlower() in /var/www/global/init.global.php on line 235 Fatal error: Unknown function: arrayslice() in /var/www/global/init.global.php on line 105 Fatal error: Unknown function: classexists() in /var/www/global/init.global.php on line 259 Typo I tought, but there are no typo's at these lines and after refreshing the page, there is no error! (these lines are executed each time the script runs!). I get these errors sooner or later on every page. But everytime the error is gone after a refresh. Maybe some encoding problems? I save my pages as UTF-8. But in that case I would expect to see the error every request and not just 'sometimes'. -- Edit bug report at http://bugs.php.net/?id=35841edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=35841r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=35841r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=35841r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=35841r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=35841r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=35841r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=35841r=needscript Try newer version:http://bugs.php.net/fix.php?id=35841r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=35841r=support Expected behavior:http://bugs.php.net/fix.php?id=35841r=notwrong Not enough info: http://bugs.php.net/fix.php?id=35841r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=35841r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=35841r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35841r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=35841r=dst IIS Stability:http://bugs.php.net/fix.php?id=35841r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=35841r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=35841r=float No Zend Extensions: http://bugs.php.net/fix.php?id=35841r=nozend MySQL Configuration Error:http://bugs.php.net/fix.php?id=35841r=mysqlcfg
#35841 [Bgs]: PHP Does not like underscores?
ID: 35841 User updated by: maarten at kleeszone dot be Reported By: maarten at kleeszone dot be Status: Bogus Bug Type: Compile Failure Operating System: Linux2.6.12-1-amd64 Debian PHP Version: 5.1.1 New Comment: Yes I noticed the weird characters too. But then again: Why don't I see these errors every request? It just happens random. I'll try the latest snapshot tomorrow, it's too late now. Previous Comments: [2005-12-29 19:44:37] [EMAIL PROTECTED] There are typoes there, I see strange things in your report. For example a weird character instead of an underscore... [2005-12-29 18:12:22] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5.1-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.1-win32-latest.zip [2005-12-29 18:10:19] maarten at kleeszone dot be Description: Recently I installed a new server with apache2, PHP5.1 and mysql 5.0.16 Now I noticed that sometimes (0.5% of all requests) I get fatal errors: Fatal error: Unknown function: strtomower() in /var/www/global/init.global.php on line 235 Fatal error: Unknown function: strtlower() in /var/www/global/init.global.php on line 235 Fatal error: Unknown function: arrayslice() in /var/www/global/init.global.php on line 105 Fatal error: Unknown function: classexists() in /var/www/global/init.global.php on line 259 Typo I tought, but there are no typo's at these lines and after refreshing the page, there is no error! (these lines are executed each time the script runs!). I get these errors sooner or later on every page. But everytime the error is gone after a refresh. Maybe some encoding problems? I save my pages as UTF-8. But in that case I would expect to see the error every request and not just 'sometimes'. -- Edit this bug report at http://bugs.php.net/?id=35841edit=1