mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2025-01-21 21:01:15 +01:00
Don't set unserialize_callback_func in Autoloader::register() as it has side effects even when the library is not used
This commit is contained in:
parent
805078e0a9
commit
8d18848fb0
@ -23,7 +23,6 @@ class Autoloader
|
||||
return;
|
||||
}
|
||||
|
||||
ini_set('unserialize_callback_func', 'spl_autoload_call');
|
||||
spl_autoload_register(array(__CLASS__, 'autoload'), true, $prepend);
|
||||
self::$registered = true;
|
||||
self::$runningOnPhp7 = version_compare(PHP_VERSION, '7.0-dev', '>=');
|
||||
|
Loading…
x
Reference in New Issue
Block a user