We have covered this a bunch of times already. magic_quotes_gpc are gone, but we leave in the function that tells userspace code that they are off. get_magic_quotes_gpc() will always return false which means that thousands
of applications out there will run unchanged and will simply take the
magic_quotes off code path.

Exactly, what I said in my very first reply to this thread. With all
respects to Philip, this RFC and discussion are pointless, the
solution has been approved and the problem is about to be solved (when
I get two and half mins to apply my patch, probably early next week).


But Rasmus, the patch planned by Pierre will emit errors. Even E_WARNING in 6.0. So here's possible upcoming documentation:

"Checking for magic quotes is deprecated, as is setting them, so do neither in your code; else suffer errors."

And:

"Yes, magic_quotes_gpc is on by default in PHP 5.3 but checking its value is deprecated. Instead, assume they are always on or off."

Maybe this makes the point clear to everyone? This is my last plea on the subject.

Regards,
Philip


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

Reply via email to