summaryrefslogtreecommitdiff
path: root/tests/classes/bug29446.phpt
diff options
context:
space:
mode:
authorSVN Migration <svn@php.net>2006-10-15 21:09:28 +0000
committerSVN Migration <svn@php.net>2006-10-15 21:09:28 +0000
commit88ec761548b66f58acc1a86cdd0fc164ca925476 (patch)
treed0af978fa00d83bb1d82c613f66477fbd6bb18aa /tests/classes/bug29446.phpt
parent268984b4787e797db6054313fc9ba3b9e845306e (diff)
downloadphp-git-PECL_OPENSSL.tar.gz
This commit was manufactured by cvs2svn to create branch 'PECL_OPENSSL'.PECL_OPENSSL
Diffstat (limited to 'tests/classes/bug29446.phpt')
-rw-r--r--tests/classes/bug29446.phpt19
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