summaryrefslogtreecommitdiff
path: root/Zend/tests/errmsg_028.phpt
blob: 3331cb35bf5c3608b2d3e280fb761eed9573538f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--TEST--
errmsg: cannot use 'self' as class name
--FILE--
<?php

class self {
}

echo "Done\n";
?>
--EXPECTF--	
Fatal error: Cannot use 'self' as class name as it is reserved in %s on line %d