--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]])
--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]])
}
-- Iteration 7 --
-array(0) {
+array(2) {
+ [u"three"]=>
+ int(3)
+ [0]=>
+ int(4)
}
-- Iteration 8 --
unicode(64) "1111111111111111111111111111111111111111111111111111011011010111"
-- Iteration 5 --
-unicode(63) "111111111111111111111111111111111111111111111111111111111111111"
+unicode(1) "0"
-- Iteration 6 --
unicode(1) "0"
unicode(16) "fffffffffffff6d7"
-- Iteration 5 --
-unicode(16) "7fffffffffffffff"
+unicode(1) "0"
-- Iteration 6 --
unicode(1) "0"
unicode(22) "1777777777777777773327"
-- Iteration 5 --
-unicode(21) "777777777777777777777"
+unicode(1) "0"
-- Iteration 6 --
unicode(1) "0"