I believe, that it will be better to make better error-messages regarding
place of options declarations. "safe_mode" and "magic_quotes" are things,
which some projects rely on heavily, so people should be forced to disable
these manually… It's kinda psychological effect: "we told you it won't work,
but you insisted"

On 3/23/07, Antony Dovgal <[EMAIL PROTECTED]> wrote:

Hello all.

I propose to change the error in HEAD that appears when enabling
magic_quotes
and safe_mode from E_ERROR to E_WARNING.
It's not something that leaves the engine in unstable state, so I believe
E_ERROR is misused in this case.

It's also impossible to know even where exactly these INI options were
declared
if they appeared in php.ini:

   # php -i
   PHP Fatal error:  Directive 'safe_mode' is no longer supported in PHP 6
and
   greater in Unknown on line 0


I'll commit the patch in the evening if there are no (well-grounded)
objections.

--
Wbr,
Antony Dovgal

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php




--
Alexey Zakhlestin
http://blog.milkfarmsoft.com/

Reply via email to