Re: set_magic_quotes_runtime is still E_DEPRECATED
| From: | Hannes Magnusson | Date: | Tue, 16 Jun 2009 19:05:13 +0000 |
| Subject: | Re: set_magic_quotes_runtime is still E_DEPRECATED | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-44323@lists.php.net to get a copy of this message | ||
On Tue, Jun 16, 2009 at 20:59, Greg Beaver<greg@chiaraquartet.net> wrote:
> Lukas Kahwe Smith wrote:
>> 1) its not about "punishing", its about alerting people that they are
>> relying on stuff that will go away
>> 2) E_DEPRECATE is for development only and only as a check you enable
>> now and then
>> 3) its off in both of the php.ini's we will ship with 5.3
> OK, then the UPGRADING guide needs a slight revision. It says:
>
> - The following ini directives will now emit an E_DEPRECATED warning
> upon startup if they are activated:
Thats correct.
bjori@jessica:~$ /usr/src/php/5.3/sapi/cli/php -n -ddefine_syslog_variables=1
PHP Warning: Directive 'define_syslog_variables' is deprecated in PHP
5.3 and greater in Unknown on line 0
However, like I warned about, the warning is thrown so early that
normal users won't ever see it.
-Hannes