On Tue, Jul 19, 2011 at 1:08 AM, Reindl Harald <h.rei...@thelounge.net> wrote:
>
>
> Am 19.07.2011 00:46, schrieb Ángel González:
>> Derick Rethans wrote:
>>> "Raise E_DEPRECATED when running the CGI or any web server SAPI and a
>>> php.ini file does not contain “magic_quotes_gpc = Off”."
>>>
>>> and
>>>
>>> "Raise E_ERROR when running the CGI or any web server SAPI and a php.ini
>>> file does not contain “magic_quotes_gpc = Off”."
>>>
>>> Doesn't that mean that anybody not running a php.ini file will just
>>> always get this warning/error? I wouldn't want that as a php.ini file
>>> should be optional.
>>>
>>> cheers,
>>> Derick
>> That's also a big concern for me. PHP should not fail if one configuration 
>> line
>> is missing from the file.
>
> since this is default OFF there is no warning if not configured
> empty php.ini implicits = Off
>
>

sadly no:

tyrael@thor:~/checkouts$ php -n -r 'echo PHP_VERSION."\n";echo
ini_get("magic_quotes_gpc")."\n";'
5.3.6-6~dotdeb.1
1


tyrael@chronos:~/checkouts/php/src/php/php-src/branches/PHP_5_4$
./sapi/cli/php -n -r 'echo PHP_VERSION."\n";echo
ini_get("magic_quotes_gpc")."\n";'
5.4.0alpha2-dev
1

-- 
Ferenc Kovács
@Tyr43l - http://tyrael.hu

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

Reply via email to