php-src/Zend/tests/use_const/self_parent.phpt

13 lines
155 B
PHP

--TEST--
Allow self and parent in use const statement
--FILE--
<?php
namespace {
use const self as foo;
use const parent as bar;
}
?>
--EXPECT--