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-- Maths test for xapic versions of lcg_value() --FILE-- <?php echo "MATHS test scr..
Decoded Output download
MATHS test script started
lcg_value tests...
Did this file decode correctly?
Original Code
--TEST--
Maths test for xapic versions of lcg_value()
--FILE--
<?php
echo "MATHS test script started\n";
echo "\n lcg_value tests...\n";
for ($i = 0; $i < 100; $i++) {
$res = lcg_value();
if (!is_float($res) || $res < 0 || $res > 1) {
break;
}
}
if ($i != 100) {
echo "FAILED\n";
} else {
echo "PASSED\n";
}
echo "MATHS test script completed\n";
?>
--EXPECT--
MATHS test script started
lcg_value tests...
PASSED
MATHS test script completed
Function Calls
lcg_value | 1 |
Stats
MD5 | e87e95a23ec235a67d141450ce3acf23 |
Eval Count | 0 |
Decode Time | 111 ms |