cvs: ZendEngine2(PHP_5_1) / bench.php
dmitry Mon Mar 6 09:58:01 2006 UTC
Modified files: (Branch: PHP_5_1)
/ZendEngine2 bench.php
Log:
Fixed compatibility with ext/hash
http://cvs.php.net/viewcvs.cgi/ZendEngine2/bench.php?r1=1.4&r2=1.4.2.1&diff_format=u
Index: ZendEngine2/bench.php
diff -u ZendEngine2/bench.php:1.4 ZendEngine2/bench.php:1.4.2.1
--- ZendEngine2/bench.php:1.4 Tue Aug 2 12:11:55 2005
+++ ZendEngine2/bench.php Mon Mar 6 09:58:01 2006
@@ -179,7 +179,7 @@
/****/
-function hash($n) {
+function hash1($n) {
for ($i = 1; $i <= $n; $i++) {
$X[dechex($i)] = $i;
}
@@ -401,8 +401,8 @@
$t = end_test($t, "ary3(2000)");
fibo(30);
$t = end_test($t, "fibo(30)");
-hash(50000);
-$t = end_test($t, "hash(50000)");
+hash1(50000);
+$t = end_test($t, "hash1(50000)");
hash2(500);
$t = end_test($t, "hash2(500)");
heapsort(20000);
Thread (1 message)
- Dmitry Stogov