php-src/Zend/tests/special_name_error1.phpt
2014-09-23 00:57:00 +02:00

11 lines
166 B
PHP

--TEST--
Cannot use special class name as namespace
--FILE--
<?php
namespace self;
?>
--EXPECTF--
Fatal error: Cannot use 'self' as namespace name in %s on line %d