felipe Wed Mar 19 03:15:56 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/standard/tests/array array_push_error2.phpt
Log:
Remove accidental change
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/array_push_error2.phpt?r1=1.1.4.4&r2=1.1.4.5&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.4
php-src/ext/standard/tests/array/array_push_error2.phpt:1.1.4.5
--- php-src/ext/standard/tests/array/array_push_error2.phpt:1.1.4.4 Wed Mar
19 03:05:34 2008
+++ php-src/ext/standard/tests/array/array_push_error2.phpt Wed Mar 19
03:15:56 2008
@@ -1,9 +1,5 @@
--TEST--
Test array_push() function : error conditions - min and max int values as keys
---SKIPIF--
-<?php
-if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only");
-?>
--FILE--
<?php
/* Prototype : int array_push(array $stack, mixed $var [, mixed $...])
@@ -32,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
+Done
\ No newline at end of file
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php