diff options
Diffstat (limited to 'ext/standard/tests/array/array_slice_variation3.phpt')
| -rw-r--r-- | ext/standard/tests/array/array_slice_variation3.phpt | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/ext/standard/tests/array/array_slice_variation3.phpt b/ext/standard/tests/array/array_slice_variation3.phpt index 0aafa645e..e3ffa21d9 100644 --- a/ext/standard/tests/array/array_slice_variation3.phpt +++ b/ext/standard/tests/array/array_slice_variation3.phpt @@ -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) { + ["three"]=> + int(3) + [0]=> + int(4) } -- Iteration 8 -- @@ -204,4 +210,4 @@ array(2) { [0]=> int(4) } -Done
\ No newline at end of file +Done |
