From: Antony Dovgal Date: Fri, 10 Sep 2004 13:55:26 +0000 (+0000) Subject: add testcase for bug #29446 X-Git-Tag: PRE_NEW_VM_GEN_PATCH~332 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=663e46eee5909d0f1d68223122c8455e36e583e9;p=php add testcase for bug #29446 --- diff --git a/tests/classes/bug29446.phpt b/tests/classes/bug29446.phpt new file mode 100644 index 0000000000..5e30e8e74b --- /dev/null +++ b/tests/classes/bug29446.phpt @@ -0,0 +1,19 @@ +--TEST-- +Bug #29446 (ZE allows multiple declarations of the same class constant) +--FILE-- + +--EXPECTF-- +Fatal error: Cannot redefine class constant testClass::TEST_CONST in %s on line 5 \ No newline at end of file