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.4.0alpha1~191^2~2042 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d2127c143aec8f2b719c05a355f12f9559a9ee70;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