php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35841 PHP Does not like underscores?
Submitted: 2005-12-29 18:10 UTC Modified: 2005-12-30 01:23 UTC
From: maarten at kleeszone dot be Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.1.1 OS: Linux2.6.12-1-amd64 Debian
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: maarten at kleeszone dot be
New email:
PHP Version: OS:

 

 [2005-12-29 18:10 UTC] 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'.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-12-29 18:12 UTC] tony2001@php.net
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 19:44 UTC] derick@php.net
There are typoes there, I see strange things in your report. For example a weird character instead of an underscore...
 [2005-12-30 01:23 UTC] maarten at kleeszone dot be
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.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri Sep 12 20:00:01 2025 UTC