mirror of
https://github.com/php/php-src.git
synced 2024-12-18 14:30:35 +08:00
fbbcf82ab7
And promote it to be fatal.
11 lines
218 B
PHP
11 lines
218 B
PHP
--TEST--
|
|
__unserialize declaration
|
|
--FILE--
|
|
<?php
|
|
class Foo {
|
|
static function __unserialize($data, $value) {}
|
|
}
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Method Foo::__unserialize() must take exactly 1 argument in %s on line %d
|