mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_passing_spl_autoload_call_to_spl_autoload_unregister
13 lines
448 B
PHP
13 lines
448 B
PHP
--TEST--
|
|
spl_autoload_unregister("spl_autoload_call") without registrations
|
|
--FILE--
|
|
<?php
|
|
var_dump(spl_autoload_unregister("spl_autoload_call"));
|
|
?>
|
|
Done
|
|
--EXPECTF--
|
|
|
|
Deprecated: spl_autoload_unregister(): Using spl_autoload_call() as a callback for spl_autoload_unregister() is deprecated, to remove all registered autoloaders, call spl_autoload_unregister() for all values returned from spl_autoload_functions() in %s on line %d
|
|
bool(true)
|
|
Done
|