dis-bench / src /php /php-src /Zend /tests /enum /__unserialize.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
225 Bytes
--TEST--
Enum __unserialize
--FILE--
<?php
enum Foo {
case Bar;
public function __unserialize(array $data) {
}
}
?>
--EXPECTF--
Fatal error: Enum Foo cannot include magic method __unserialize in %s on line %d