Posted by Johannes Wienke on 03/09/06 19:17
Am 09.03.2006 18:08 schrieb afrinspray:
> I've defined my own error handler as well, but it doesn't seem to stop
> these messages.
> <strong>File:</strong> phpmailer/class.smtp.php (line 30)<br>
> <strong>Error String:</strong> var: Deprecated. Please use the
> public/private/protected modifiers<br>
>
> Is this a different situation than deprecated functions? Extracted from
> php.net:
>
>>From http://us3.php.net/manual/en/ref.errorfunc.php:
> Note: In PHP 5 a new error level E_STRICT is available. As E_STRICT is
> not included within E_ALL you have to explicitly enable this kind of
> error level. Enabling E_STRICT during development has some benefits.
> STRICT messages will help you to use the latest and greatest suggested
> method of coding, for example warn you about using deprecated
> functions.
Then use error_reporting() to switch to a lower level.
Navigation:
[Reply to this message]
|