diff options
Diffstat (limited to 'Zend/tests/halt_compiler3.phpt')
-rw-r--r-- | Zend/tests/halt_compiler3.phpt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Zend/tests/halt_compiler3.phpt b/Zend/tests/halt_compiler3.phpt new file mode 100644 index 0000000..6ee16f7 --- /dev/null +++ b/Zend/tests/halt_compiler3.phpt @@ -0,0 +1,10 @@ +--TEST-- +__HALT_COMPILER(); bad define() of __COMPILER_HALT_OFFSET__ 1 +--FILE-- +<?php +define ('__COMPILER_HALT_OFFSET__', 1); +?> +==DONE== +--EXPECTF-- +Notice: Constant __COMPILER_HALT_OFFSET__ already defined in %s on line %d +==DONE==
\ No newline at end of file |