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

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to