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 $lines = explode("\n", file_get_contents('input.txt')); $lines = array_map('tr..
Decoded Output download
<?php
$lines = explode("
", file_get_contents('input.txt'));
$lines = array_map('trim', $lines);
$lines = array_map(function ($line) { return preg_replace('~\s{2,}~', ' ', $line); }, $lines);
$lines = array_filter($lines);
echo implode("
", $lines);
?>
Did this file decode correctly?
Original Code
<?php
$lines = explode("\n", file_get_contents('input.txt'));
$lines = array_map('trim', $lines);
$lines = array_map(function ($line) { return preg_replace('~\s{2,}~', ' ', $line); }, $lines);
$lines = array_filter($lines);
echo implode("\n", $lines);
?>
Function Calls
explode | 1 |
array_map | 1 |
file_get_contents | 1 |
Stats
MD5 | e84b0e2ef3a3c5442588fa1cdea68706 |
Eval Count | 0 |
Decode Time | 300 ms |