1--TEST-- 2__serialize declaration 3--FILE-- 4<?php 5class Foo { 6 static function __serialize($arguments) {} 7} 8?> 9--EXPECTF-- 10Fatal error: Method Foo::__serialize() cannot take arguments in %s on line %d 11