dis-bench / src /php /php-src /Zend /tests /errmsg /errmsg_028.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
193 Bytes
--TEST--
errmsg: cannot use "self" as class name
--FILE--
<?php
class self {
}
echo "Done\n";
?>
--EXPECTF--
Fatal error: Cannot use "self" as a class name as it is reserved in %s on line %d