Fixed tests again after double->long conversion change (to match 5.2)

This commit is contained in:
Matt Wilmas 2009-06-05 17:15:18 +00:00
parent 76c919552b
commit 88127e2328
5 changed files with 12 additions and 4 deletions

View File

@ -1,5 +1,7 @@
--TEST--
Test array_slice() function : usage variations - Pass different data types as $offset arg
--SKIPIF--
<?php if (PHP_INT_SIZE > 4) die("skip this test is for 32bit platform only"); ?>
--FILE--
<?php
/* Prototype : array array_slice(array $input, int $offset [, int $length [, bool $preserve_keys]])

View File

@ -1,5 +1,7 @@
--TEST--
Test array_slice() function : usage variations - Pass different data types as $length arg
--SKIPIF--
<?php if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?>
--FILE--
<?php
/* Prototype : array array_slice(array $input, int $offset [, int $length [, bool $preserve_keys]])
@ -118,7 +120,11 @@ array(0) {
}
-- Iteration 7 --
array(0) {
array(2) {
[u"three"]=>
int(3)
[0]=>
int(4)
}
-- Iteration 8 --

View File

@ -107,7 +107,7 @@ unicode(14) "11000000111001"
unicode(64) "1111111111111111111111111111111111111111111111111111011011010111"
-- Iteration 5 --
unicode(63) "111111111111111111111111111111111111111111111111111111111111111"
unicode(1) "0"
-- Iteration 6 --
unicode(1) "0"

View File

@ -107,7 +107,7 @@ unicode(4) "3039"
unicode(16) "fffffffffffff6d7"
-- Iteration 5 --
unicode(16) "7fffffffffffffff"
unicode(1) "0"
-- Iteration 6 --
unicode(1) "0"

View File

@ -108,7 +108,7 @@ unicode(5) "30071"
unicode(22) "1777777777777777773327"
-- Iteration 5 --
unicode(21) "777777777777777777777"
unicode(1) "0"
-- Iteration 6 --
unicode(1) "0"