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-- Promoting float precision warning to exception in bitwise_not --FILE-- <?php set_..

Decoded Output download

--TEST--
Promoting float precision warning to exception in bitwise_not
--FILE--
<?php
set_error_handler(function($_, $msg) {
    throw new Exception($msg);
});
try {
    var_dump(~INF);
} catch (Exception $e) {
    echo $e->getMessage(), "
";
}
?>
--EXPECT--
Implicit conversion from float INF to int loses precision

Did this file decode correctly?

Original Code

--TEST--
Promoting float precision warning to exception in bitwise_not
--FILE--
<?php
set_error_handler(function($_, $msg) {
    throw new Exception($msg);
});
try {
    var_dump(~INF);
} catch (Exception $e) {
    echo $e->getMessage(), "\n";
}
?>
--EXPECT--
Implicit conversion from float INF to int loses precision

Function Calls

None

Variables

None

Stats

MD5 33d3fc50edfff58f34ec244f48584174
Eval Count 0
Decode Time 82 ms