Hi 2009/6/16 Zeev Suraski <z...@zend.com>: > At 17:00 16/06/2009, Daniel Convissor wrote: >> >> Folks: >> >> > I propose the following behavior: "Throw a deprecated warning unless >> > magic quotes are currently enabled and the >> > parameter is to disable them". >> >> The function is going away. A deprecated warning is necessary to alert >> people of this fact, no matter how the function is used. > > Why not keep this function then? We can remove the implementation, for now > - emit E_DEPRECATED in case of true and nothing in case of false; For 6 - > emit an error for true and nothing for false. It just looks compatibility > breakage for no good reason.
Late timing, but if we want this behaviour then I've written a patch available at: http://pastie.org/521077 Removes the deprecation warnings from magic_quotes_runtime()/set_magic_quotes_runtime(), and only emits one if: magic_quotes_runtime(true); > > Zeev > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- regrads, Kalle Sommer Nielsen ka...@php.net -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php