diff options
Diffstat (limited to 'tests/classes/bug29446.phpt')
-rw-r--r-- | tests/classes/bug29446.phpt | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/tests/classes/bug29446.phpt b/tests/classes/bug29446.phpt deleted file mode 100644 index 5e30e8e74b..0000000000 --- a/tests/classes/bug29446.phpt +++ /dev/null @@ -1,19 +0,0 @@ ---TEST-- -Bug #29446 (ZE allows multiple declarations of the same class constant) ---FILE-- -<?php - -class testClass { - const TEST_CONST = 'test'; - const TEST_CONST = 'test1'; - - function testClass() { - echo self::TEST_CONST; - } -} - -$test = new testClass; - -?> ---EXPECTF-- -Fatal error: Cannot redefine class constant testClass::TEST_CONST in %s on line 5
\ No newline at end of file |