Hi!

> The above are, as far as I’m concerned, all potential candidates for
> removal in PHP 7, so in order to reliably test a deprecated function
> I would suggest introducing a hidden function with this signature:
> 
> void __deprecated__() { }
> 
> And mark that function as eternally deprecated using the
> ZEND_ACC_DEPRECATED flag.

If this is needed only for testing, this should only be enabled with
ZEND_DEBUG flag active. Like leak() one.

-- 
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