iliaa Thu Feb 14 16:29:45 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/standard/tests/array array_push_error2.phpt
Log:
Fixed test on 64bit machines
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/array_push_error2.phpt?r1=1.1.4.2&r2=1.1.4.3&diff_format=u
Index: php-src/ext/standard/tests/array/array_push_error2.phpt
diff -u php-src/ext/standard/tests/array/array_push_error2.phpt:1.1.4.2
php-src/ext/standard/tests/array/array_push_error2.phpt:1.1.4.3
--- php-src/ext/standard/tests/array/array_push_error2.phpt:1.1.4.2 Wed Feb
13 16:12:48 2008
+++ php-src/ext/standard/tests/array/array_push_error2.phpt Thu Feb 14
16:29:45 2008
@@ -28,22 +28,22 @@
*** Testing array_push() : error conditions ***
int(3)
array(3) {
- [-2147483647]=>
+ [-%d]=>
string(3) "min"
- [2147483647]=>
+ [%d]=>
string(3) "max"
- [-2147483648]=>
+ [-%d]=>
string(3) "new"
}
Warning: array_push(): Cannot add element to the array as the next element is
already occupied in %s on line %d
bool(false)
array(3) {
- [-2147483647]=>
+ [-%d]=>
string(3) "min"
- [2147483647]=>
+ [%d]=>
string(3) "max"
- [-2147483648]=>
+ [-%d]=>
string(3) "new"
}
Done
\ No newline at end of file
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php