1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

fix tests

This commit is contained in:
Antony Dovgal
2007-04-26 23:30:00 +00:00
parent ef32c956f7
commit 66859a74de
18 changed files with 33 additions and 0 deletions

View File

@@ -1,5 +1,7 @@
--TEST--
double to string conversion tests
--INI--
precision=14
--SKIPIF--
<?php if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); ?>
--FILE--

View File

@@ -1,5 +1,7 @@
--TEST--
testing integer overflow (32bit)
--INI--
precision=14
--SKIPIF--
<?php if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); ?>
--FILE--

View File

@@ -1,5 +1,7 @@
--TEST--
testing integer overflow (32bit)
--INI--
precision=14
--SKIPIF--
<?php if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); ?>
--FILE--

View File

@@ -1,5 +1,7 @@
--TEST--
filter_var()
--INI--
precision=14
--SKIPIF--
<?php if (!extension_loaded("filter")) die("skip"); ?>
--FILE--

View File

@@ -1,5 +1,7 @@
--TEST--
input_get()
--INI--
precision=14
--SKIPIF--
<?php if (!extension_loaded("filter")) die("skip"); ?>
--GET--

View File

@@ -1,5 +1,7 @@
--TEST--
bug 7715, floats value with integer or incomplete input
--INI--
precision=14
--SKIPIF--
<?php if (!extension_loaded("filter")) die("skip"); ?>
--FILE--

View File

@@ -1,5 +1,7 @@
--TEST--
Bug #40503 (json_encode() value corruption on 32bit systems with overflown values)
--INI--
precision=14
--SKIPIF--
<?php if (!extension_loaded("json")) print "skip"; ?>
--FILE--

View File

@@ -1,5 +1,7 @@
--TEST--
JSON (http://www.crockford.com/JSON/JSON_checker/test/pass1.json)
--INI--
precision=14
--SKIPIF--
<?php
if (!extension_loaded('json')) die('skip: json extension not available');

View File

@@ -1,5 +1,7 @@
--TEST--
JSON (http://www.crockford.com/JSON/JSON_checker/test/pass1.json)
--INI--
precision=14
--SKIPIF--
<?php
if (!extension_loaded('json')) die('skip: json extension not available');

View File

@@ -1,5 +1,7 @@
--TEST--
Reflection Bug #29986 (Class constants won't work with predefined constants when using ReflectionClass)
--INI--
precision=14
--SKIPIF--
<?php extension_loaded('reflection') or die('skip'); ?>
--FILE--

View File

@@ -1,6 +1,7 @@
--TEST--
Test array_sum()
--INI--
precision=14
memory_limit=128M
--FILE--
<?php

View File

@@ -1,5 +1,7 @@
--TEST--
Bug #41121 (range() overflow handling for large numbers on 32bit machines)
--INI--
precision=14
--SKIPIF--
<?php if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); ?>
--FILE--

View File

@@ -1,5 +1,7 @@
--TEST--
disk_total_space() and disk_free_space() tests
--INI--
precision=14
--SKIPIF--
<?php
if (substr(PHP_OS, 0, 3) == 'WIN') {

View File

@@ -1,5 +1,7 @@
--TEST--
Math constants
--INI--
precision=14
--FILE--
<?php
$constants = array(

View File

@@ -1,5 +1,7 @@
--TEST--
overflow check for _php_math_basetozval
--INI--
precision=14
--FILE--
<?php

View File

@@ -1,5 +1,7 @@
--TEST--
Bug #31442 (unserialize broken on 64-bit systems)
--INI--
precision=14
--FILE--
<?php
echo unserialize(serialize(2147483648));

View File

@@ -1,5 +1,7 @@
--TEST--
Test printf() function (32bit)
--INI--
precision=14
--SKIPIF--
<?php
if (PHP_INT_MAX > 2147483647) {