Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php function test_foreach() { $x = []; $y = rand() ? [] : null; $z = rand() ..
Decoded Output download
<?php
function test_foreach() {
$x = [];
$y = rand() ? [] : null;
$z = rand() ? [] : STDIN;
foreach ($x as $a) {echo $a;}
foreach ($y as $a) {echo $a;}
foreach ($z as $a) {echo $a;}
foreach ([] as $a) {echo $a;}
}
function test_foreach_generator() {
$x = [];
$y = rand() ? [] : null;
$z = rand() ? [] : STDIN;
yield from 0;
yield from $x;
yield from $y;
yield from $z;
}
?>
Did this file decode correctly?
Original Code
<?php
function test_foreach() {
$x = [];
$y = rand() ? [] : null;
$z = rand() ? [] : STDIN;
foreach ($x as $a) {echo $a;}
foreach ($y as $a) {echo $a;}
foreach ($z as $a) {echo $a;}
foreach ([] as $a) {echo $a;}
}
function test_foreach_generator() {
$x = [];
$y = rand() ? [] : null;
$z = rand() ? [] : STDIN;
yield from 0;
yield from $x;
yield from $y;
yield from $z;
}
Function Calls
None |
Stats
MD5 | b4c234f2ff4af4d4bfaf2eab9fbcf936 |
Eval Count | 0 |
Decode Time | 106 ms |