summaryrefslogtreecommitdiff
path: root/Zend/tests/use_const/self_parent.phpt
blob: b71f2ecc81fee2ab2ddde2b496d97256339a27ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--TEST--
Allow self and parent in use const statement
--FILE--
<?php

namespace {
    use const self as foo;
    use const parent as bar;
}

?>
--EXPECT--