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