Am 28.08.2013 21:27, schrieb Matthew Leverton: > On Wed, Aug 28, 2013 at 10:47 AM, Nikita Popov <nikita....@gmail.com> wrote: >> <snip> > > Would any functions get deprecated as a result of this? e.g., func_get_args() > > <snip> >
It's not a good idea to deprecate the function func_get_args/func_num_args() because it is used in user land code to detect if a function was called with a specific argument like the following: function (&$argByRef = null) { if (func_num_args() > 1) { // do expensive stuff to set $argByRef $argByRef = true; } return false; } -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php