From: Ilia Alshanetsky Date: Mon, 25 Jan 2010 13:08:43 +0000 (+0000) Subject: Added test case for bug #44827 X-Git-Tag: php-5.2.13RC1~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c5435361ba2ee4a49423782ab8aea7dd9c4744e1;p=php Added test case for bug #44827 --- 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