> If those application are written properly, they also have to check for
> the existance of the functions even with current PHP version since it is
> possible to disable them altogether. So it shouldn't matter if they're
> removed for them.. ;)

Function is standard for PHP4-5. get_magic_quotes_gpc() does not change
php settings and only returns status of magic quotes. Any function can be
disabled with disable_functions. If user does that, he or she is
deliberately breaking his setup and he/she is the one that should solve
the issues. If developers follow your advice, they will have to check for
any php function before using it.

In case of magic quotes people just have to check for function or php
version. It is one of those things that make PHP6 different from older PHP
versions. Core written for both versions will check php version or
existence of get_magic_quotes_gpc()

-- 
Tomas

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

Reply via email to