Browse Source

Add SKIPIF (32bit platform only)

PHP-5.2.1RC1
Felipe Pena 19 years ago
parent
commit
655610a5bb
  1. 6
      ext/standard/tests/array/array_push_error2.phpt
  2. 6
      ext/standard/tests/array/natcasesort_variation3.phpt
  3. 6
      ext/standard/tests/array/rsort_variation3.phpt

6
ext/standard/tests/array/array_push_error2.phpt

@ -1,5 +1,9 @@
--TEST--
Test array_push() function : error conditions - min and max int values as keys
--SKIPIF--
<?php
if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only");
?>
--FILE--
<?php
/* Prototype : int array_push(array $stack, mixed $var [, mixed $...])
@ -46,4 +50,4 @@ array(3) {
[-2147483648]=>
string(3) "new"
}
Done
Done

6
ext/standard/tests/array/natcasesort_variation3.phpt

@ -1,5 +1,9 @@
--TEST--
Test natcasesort() function : usage variations - different numeric types
--SKIPIF--
<?php
if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only");
?>
--FILE--
<?php
/* Prototype : bool natcasesort(array &$array_arg)
@ -128,4 +132,4 @@ array(7) {
[1]=>
float(2147483648)
}
Done
Done

6
ext/standard/tests/array/rsort_variation3.phpt

@ -1,5 +1,9 @@
--TEST--
Test rsort() function : usage variations - numeric values
--SKIPIF--
<?php
if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only");
?>
--FILE--
<?php
/* Prototype : bool rsort(array &$array_arg [, int $sort_flags])
@ -318,4 +322,4 @@ array(7) {
[6]=>
float(-2147483649)
}
Done
Done
Loading…
Cancel
Save