From: satanistlav at mail dot ru Operating system: Linux PHP version: 5.0.5 PHP Bug Type: Scripting Engine problem Bug description: PHP 5 do not recognize Capital "I" letters in function and class method names
Description: ------------ The Linux hosting server I use recently upgraded PHP Version to 5.0.4. After upgrade all function and and class methods those had capital "I" letter in the function names became unrecognized by PHP. No such problem I had in previouse version of PHP, and no problem in my local server (WinXP, Apache 2, PHP v5.0.5) Reproduce code: --------------- //Part of mail class ..... /** * Sets Mailer to send message using SMTP. * @return void */ function IsSMTP() { $this->Mailer = "smtp"; } /** * Sets Mailer to send message using PHP mail() function. * @return void */ function IsMail() { $this->Mailer = "mail"; } ..... /********* I used class methods *******************/ ..... $mailer->IsHtml(true); $mailer->IsMail(); ..... Expected result: ---------------- Execution of class method is expected Actual result: -------------- /********* I got error ********************/ Fatal error: Call to undefined method PHPMailer::IsHtml() in .... -- Edit bug report at http://bugs.php.net/?id=35050&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=35050&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=35050&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=35050&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=35050&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=35050&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=35050&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=35050&r=needscript Try newer version: http://bugs.php.net/fix.php?id=35050&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=35050&r=support Expected behavior: http://bugs.php.net/fix.php?id=35050&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=35050&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=35050&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=35050&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35050&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=35050&r=dst IIS Stability: http://bugs.php.net/fix.php?id=35050&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=35050&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=35050&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=35050&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=35050&r=mysqlcfg