diff options
Diffstat (limited to 'Zend/tests/use_function/self_parent.phpt')
-rw-r--r-- | Zend/tests/use_function/self_parent.phpt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Zend/tests/use_function/self_parent.phpt b/Zend/tests/use_function/self_parent.phpt new file mode 100644 index 0000000000..f1e1fa84f1 --- /dev/null +++ b/Zend/tests/use_function/self_parent.phpt @@ -0,0 +1,12 @@ +--TEST-- +Allow self and parent in use function statement +--FILE-- +<?php + +namespace { + use function self as foo; + use function parent as bar; +} + +?> +--EXPECT-- |