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 #22187 (possible crash in number_format() function) --FILE-- <?php var_du..
Decoded Output download
--TEST--
Bug #22187 (possible crash in number_format() function)
--FILE--
<?php
var_dump(number_format(0.0001, 1));
var_dump(number_format(0.0001, 0));
?>
--EXPECT--
string(3) "0.0"
string(1) "0"
Did this file decode correctly?
Original Code
--TEST--
Bug #22187 (possible crash in number_format() function)
--FILE--
<?php
var_dump(number_format(0.0001, 1));
var_dump(number_format(0.0001, 0));
?>
--EXPECT--
string(3) "0.0"
string(1) "0"
Function Calls
number_format | 1 |
Stats
MD5 | afef52a39d2699ec835b2964f2bafeed |
Eval Count | 0 |
Decode Time | 103 ms |