summaryrefslogtreecommitdiff
path: root/Zend/tests/bug28072.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 /Zend/tests/bug28072.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 'Zend/tests/bug28072.phpt')
-rwxr-xr-xZend/tests/bug28072.phpt46
1 files changed, 0 insertions, 46 deletions
diff --git a/Zend/tests/bug28072.phpt b/Zend/tests/bug28072.phpt
deleted file mode 100755
index 7959a1c4da..0000000000
--- a/Zend/tests/bug28072.phpt
+++ /dev/null
@@ -1,46 +0,0 @@
---TEST--
-Bug #28072 (static array with some constant keys will be incorrectly ordered)
---FILE--
-<?php
-define("FIRST_KEY", "a");
-define("THIRD_KEY", "c");
-
-
-function test()
-{
- static $arr = array(
- FIRST_KEY => "111",
- "b" => "222",
- THIRD_KEY => "333",
- "d" => "444"
- );
- print_r($arr);
-}
-
-function test2()
-{
- static $arr = array(
- FIRST_KEY => "111",
- "a" => "222",
- "c" => "333",
- THIRD_KEY => "444"
- );
- print_r($arr);
-}
-
-test();
-test2();
-?>
---EXPECT--
-Array
-(
- [a] => 111
- [b] => 222
- [c] => 333
- [d] => 444
-)
-Array
-(
- [a] => 111
- [c] => 444
-)