1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 01:02:25 +01:00
Files
archived-php-src/ext/standard/tests/math/bug25665.phpt
Nikita Popov c5401854fc Run tidy
This should fix most of the remaining issues with tabs and spaces
being mixed in tests.
2020-09-18 14:28:32 +02:00

17 lines
308 B
PHP

--TEST--
Bug #25665 (var_dump () hangs on Nan and INF)
--SKIPIF--
<?php
$OS = strtoupper(PHP_OS);
if ($OS == 'SUNOS' || $OS == 'SOLARIS') die("SKIP Solaris acos() returns wrong value");
?>
--FILE--
<?php
set_time_limit(5);
var_dump(acos(1.01));
var_dump(log(0));
?>
--EXPECT--
float(NAN)
float(-INF)