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

class test extends self {
}

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