repo.or.cz
/
tomato.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Updates to Tomato RAF including NGINX && PHP
[tomato.git]
/
release
/
src
/
router
/
php
/
ext
/
standard
/
tests
/
math
/
bug25665.phpt
blob
469236c943d5ab4c5f9c1575c36e3387a4fb701c
1
--TEST--
2
Bug #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
10
set_time_limit(5);
11
var_dump(acos(1.01));
12
var_dump(log(0));
13
?>
14
--EXPECT--
15
float(NAN)
16
float(-INF)