From c5435361ba2ee4a49423782ab8aea7dd9c4744e1 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Mon, 25 Jan 2010 13:08:43 +0000 Subject: [PATCH] Added test case for bug #44827 --- Zend/tests/bug44827.phpt | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Zend/tests/bug44827.phpt diff --git a/Zend/tests/bug44827.phpt b/Zend/tests/bug44827.phpt new file mode 100644 index 0000000000..a9f1d87d24 --- /dev/null +++ b/Zend/tests/bug44827.phpt @@ -0,0 +1,11 @@ +--TEST-- +Bug #44827 (define() allows :: in constant names) +--FILE-- + +--EXPECTF-- +Warning: Class constants cannot be defined or redefined in %sbug44827.php on line %d + +Warning: Class constants cannot be defined or redefined in %sbug44827.php on line %d -- 2.40.0