xref: /PHP-5.6/Zend/tests/errmsg_030.phpt (revision 0f0fe9c9)
1--TEST--
2errmsg: cannot use 'self' as parent class name
3--FILE--
4<?php
5
6class test extends self {
7}
8
9echo "Done\n";
10?>
11--EXPECTF--
12Fatal error: Cannot use 'self' as class name as it is reserved in %s on line %d
13