Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

--TEST-- Bug #25665 (var_dump () hangs on Nan and INF) --SKIPIF-- <?php $OS = strtoupp..

Decoded Output download

--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)

Did this file decode correctly?

Original Code

--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)

Function Calls

None

Variables

None

Stats

MD5 b0a60cc73fc189e8cf79f2c1f4be9391
Eval Count 0
Decode Time 96 ms