From 17c0c49a54db2a5dd6dc2205d0e02978b3070bae Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Wed, 4 Apr 2007 00:42:42 +0000 Subject: Addres limitation of __HALT_COMPILER() that allowed only one instance per request. # Patch by Greg Beaver --- Zend/tests/halt_compiler4.phpt | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Zend/tests/halt_compiler4.phpt (limited to 'Zend/tests/halt_compiler4.phpt') diff --git a/Zend/tests/halt_compiler4.phpt b/Zend/tests/halt_compiler4.phpt new file mode 100644 index 0000000000..43e532ce7d --- /dev/null +++ b/Zend/tests/halt_compiler4.phpt @@ -0,0 +1,10 @@ +--TEST-- +__HALT_COMPILER(); bad define() of __COMPILER_HALT_OFFSET__ 2 +--FILE-- + +==DONE== +--EXPECTF-- +Notice: Constant __COMPILER_HALT_OFFSET__ already defined in %s on line %d \ No newline at end of file -- cgit v1.2.1