blob: 301dbb84dae77cff2bda28e74bf0b9d27b08068f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--TEST--
Testing __set_state() declaration with wrong modifier
--FILE--
<?php
class Foo {
function __set_state($array)
{
}
}
?>
--EXPECTF--
Fatal error: Method Foo::__set_state() must be static in %s on line %d
|