diff options
| author | Sean Finney <seanius@debian.org> | 2009-04-10 14:09:48 +0200 |
|---|---|---|
| committer | Sean Finney <seanius@debian.org> | 2009-04-10 14:09:48 +0200 |
| commit | cd0b49c72aee33b3e44a9c589fcd93b9e1c7a64f (patch) | |
| tree | 1315c623bb7d9dfa8d366fa9cd2c6834ceeb5da5 /ext/standard/tests/array/array_slice_variation3.phpt | |
| parent | 9ea47aab740772adf0c69d8c94b208a464e599ea (diff) | |
| download | php-upstream/5.2.9.dfsg.1.tar.gz | |
Imported Upstream version 5.2.9.dfsg.1upstream/5.2.9.dfsg.1
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 |
