summaryrefslogtreecommitdiff
path: root/Zend/tests/ns_080.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/ns_080.phpt')
-rw-r--r--Zend/tests/ns_080.phpt15
1 files changed, 15 insertions, 0 deletions
diff --git a/Zend/tests/ns_080.phpt b/Zend/tests/ns_080.phpt
new file mode 100644
index 0000000..9c81c0d
--- /dev/null
+++ b/Zend/tests/ns_080.phpt
@@ -0,0 +1,15 @@
+--TEST--
+080: bracketed namespaces and __HALT_COMPILER();
+--FILE--
+<?php
+namespace foo {
+echo "hi\n";
+}
+__HALT_COMPILER();
+namespace unprocessed {
+echo "should not echo\n";
+}
+?>
+===DONE===
+--EXPECT--
+hi \ No newline at end of file