xref: /PHP-8.4/ext/standard/tests/math/bug25665.phpt (revision c5401854)
1--TEST--
2Bug #25665 (var_dump () hangs on Nan and INF)
3--SKIPIF--
4<?php
5    $OS = strtoupper(PHP_OS);
6    if ($OS == 'SUNOS' || $OS == 'SOLARIS') die("SKIP Solaris acos() returns wrong value");
7?>
8--FILE--
9<?php
10set_time_limit(5);
11var_dump(acos(1.01));
12var_dump(log(0));
13?>
14--EXPECT--
15float(NAN)
16float(-INF)
17