cvs: php-src /ext/standard/tests/array array_push_error2.phpt
| From: | Ilia Alshanetsky | Date: | Thu, 14 Feb 2008 16:30:10 +0000 |
| Subject: | cvs: php-src /ext/standard/tests/array array_push_error2.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-48547@lists.php.net to get a copy of this message | ||
iliaa Thu Feb 14 16:30:10 2008 UTC
Modified files:
/php-src/ext/standard/tests/array array_push_error2.phpt
Log:
MFB: Fixed test on 64bit machines
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/array_push_error2.phpt?r1=1.2&r2=1.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.2
php-src/ext/standard/tests/array/array_push_error2.phpt:1.3
--- php-src/ext/standard/tests/array/array_push_error2.phpt:1.2 Wed Feb 13 16:14:02 2008
+++ php-src/ext/standard/tests/array/array_push_error2.phpt Thu Feb 14 16:30:10 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