helly Sat Feb 2 13:33:21 2008 UTC
Modified files:
/php-src/ext/standard/tests/array array_reverse_variation5.phpt
array_unshift_variation5.phpt
Log:
- Fix tests
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/array_reverse_variation5.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/standard/tests/array/array_reverse_variation5.phpt
diff -u php-src/ext/standard/tests/array/array_reverse_variation5.phpt:1.2
php-src/ext/standard/tests/array/array_reverse_variation5.phpt:1.3
--- php-src/ext/standard/tests/array/array_reverse_variation5.phpt:1.2 Mon Oct
15 06:23:27 2007
+++ php-src/ext/standard/tests/array/array_reverse_variation5.phpt Sat Feb
2 13:33:21 2008
@@ -1,5 +1,7 @@
--TEST--
Test array_reverse() function : usage variations - assoc. array with diff.
value for 'array' argument
+--INI--
+precision=12
--FILE--
<?php
/* Prototype : array array_reverse(array $array [, bool $preserve_keys])
@@ -179,7 +181,7 @@
- default argument -
array(4) {
["f4"]=>
- float(33333333.333333)
+ float(33333333.3333)
[0]=>
float(4.8999992284)
["f2"]=>
@@ -190,7 +192,7 @@
- $preserve keys = true -
array(4) {
["f4"]=>
- float(33333333.333333)
+ float(33333333.3333)
[3]=>
float(4.8999992284)
["f2"]=>
@@ -201,7 +203,7 @@
- $preserve_keys = false -
array(4) {
["f4"]=>
- float(33333333.333333)
+ float(33333333.3333)
[0]=>
float(4.8999992284)
["f2"]=>
@@ -493,7 +495,7 @@
- default argument -
array(4) {
[u"f4"]=>
- float(33333333.333333)
+ float(33333333.3333)
[0]=>
float(4.8999992284)
[u"f2"]=>
@@ -504,7 +506,7 @@
- $preserve keys = true -
array(4) {
[u"f4"]=>
- float(33333333.333333)
+ float(33333333.3333)
[3]=>
float(4.8999992284)
[u"f2"]=>
@@ -515,7 +517,7 @@
- $preserve_keys = false -
array(4) {
[u"f4"]=>
- float(33333333.333333)
+ float(33333333.3333)
[0]=>
float(4.8999992284)
[u"f2"]=>
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/array_unshift_variation5.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/standard/tests/array/array_unshift_variation5.phpt
diff -u php-src/ext/standard/tests/array/array_unshift_variation5.phpt:1.2
php-src/ext/standard/tests/array/array_unshift_variation5.phpt:1.3
--- php-src/ext/standard/tests/array/array_unshift_variation5.phpt:1.2 Fri Oct
19 09:19:57 2007
+++ php-src/ext/standard/tests/array/array_unshift_variation5.phpt Sat Feb
2 13:33:21 2008
@@ -1,5 +1,7 @@
--TEST--
Test array_unshift() function : usage variations - assoc. array with diff
values for 'array' argument
+--INI--
+precision=12
--FILE--
<?php
/* Prototype : int array_unshift(array $array, mixed $var [, mixed ...])
@@ -209,7 +211,7 @@
[1]=>
float(4.8999992284)
["f4"]=>
- float(33333333.333333)
+ float(33333333.3333)
}
int(7)
array(7) {
@@ -226,7 +228,7 @@
[3]=>
float(4.8999992284)
["f4"]=>
- float(33333333.333333)
+ float(33333333.3333)
}
-- Iteration 7 --
int(5)
@@ -511,7 +513,7 @@
[1]=>
float(4.8999992284)
[u"f4"]=>
- float(33333333.333333)
+ float(33333333.3333)
}
int(7)
array(7) {
@@ -528,7 +530,7 @@
[3]=>
float(4.8999992284)
[u"f4"]=>
- float(33333333.333333)
+ float(33333333.3333)
}
-- Iteration 7 --
int(5)
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php