Hi!

> Coming late to the discussion. Was there any discussion to make the
> new argument a callback instead? Pass it the fully-qualified class
> name, have it return true (the class should be loaded) or false (the
> class should not be loaded). Deprecate the `unserialize_callback_func`
> mechanism at the same time.

That was not discussed. It can be made this way, though it would be more
complicated and have more moving parts, but that's not part of the
present RFC.

-- 
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/

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

Reply via email to