summaryrefslogtreecommitdiff
path: root/tests/lang/bug23524.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lang/bug23524.phpt')
-rwxr-xr-xtests/lang/bug23524.phpt29
1 files changed, 0 insertions, 29 deletions
diff --git a/tests/lang/bug23524.phpt b/tests/lang/bug23524.phpt
deleted file mode 100755
index 18ffc33a48..0000000000
--- a/tests/lang/bug23524.phpt
+++ /dev/null
@@ -1,29 +0,0 @@
---TEST--
-Bug #23524 Improper handling of constants in array indeces
---FILE--
-<?php
- echo "Begin\n";
- define("THE_CONST",123);
- function f($a=array(THE_CONST=>THE_CONST)) {
- print_r($a);
- }
- f();
- f();
- f();
- echo "Done";
-?>
---EXPECT--
-Begin
-Array
-(
- [123] => 123
-)
-Array
-(
- [123] => 123
-)
-Array
-(
- [123] => 123
-)
-Done