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