mirror of
https://github.com/php/php-src.git
synced 2024-09-26 20:37:29 +00:00
Fixed tests again after double->long conversion change (to match 5.2)
This commit is contained in:
parent
76c919552b
commit
88127e2328
@ -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]])
|
||||
|
@ -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 --
|
||||
|
@ -107,7 +107,7 @@ unicode(14) "11000000111001"
|
||||
unicode(64) "1111111111111111111111111111111111111111111111111111011011010111"
|
||||
|
||||
-- Iteration 5 --
|
||||
unicode(63) "111111111111111111111111111111111111111111111111111111111111111"
|
||||
unicode(1) "0"
|
||||
|
||||
-- Iteration 6 --
|
||||
unicode(1) "0"
|
||||
|
@ -107,7 +107,7 @@ unicode(4) "3039"
|
||||
unicode(16) "fffffffffffff6d7"
|
||||
|
||||
-- Iteration 5 --
|
||||
unicode(16) "7fffffffffffffff"
|
||||
unicode(1) "0"
|
||||
|
||||
-- Iteration 6 --
|
||||
unicode(1) "0"
|
||||
|
@ -108,7 +108,7 @@ unicode(5) "30071"
|
||||
unicode(22) "1777777777777777773327"
|
||||
|
||||
-- Iteration 5 --
|
||||
unicode(21) "777777777777777777777"
|
||||
unicode(1) "0"
|
||||
|
||||
-- Iteration 6 --
|
||||
unicode(1) "0"
|
||||
|
Loading…
Reference in New Issue
Block a user