ID:               35050
 Updated by:       [EMAIL PROTECTED]
 Reported By:      satanistlav at mail dot ru
-Status:           Open
+Status:           Feedback
 Bug Type:         Scripting Engine problem
 Operating System: Linux
 PHP Version:      5.0.5
 New Comment:

What is your locale set to? Can you provide a link to phpinfo() output?


Previous Comments:
------------------------------------------------------------------------

[2005-11-01 14:45:44] satanistlav at mail dot ru

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 this bug report at http://bugs.php.net/?id=35050&edit=1

Reply via email to