blob: 4efaf6fb18a8292694b7905351303e5028d5d5be (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
--TEST--
__set_state first parameter must be an array
--FILE--
<?php
class Foo {
public static function __set_state(int $properties) {}
}
?>
--EXPECTF--
Fatal error: Foo::__set_state(): Parameter #1 ($properties) must be of type array when declared in %s on line %d
|