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 #!/usr/bin/env php set_time_limit(0); if (isset($argv[1])) { $_SERVER['SYMFONY_VE..
Decoded Output download
<?php
#!/usr/bin/env php
set_time_limit(0);
if (isset($argv[1])) {
$_SERVER['SYMFONY_VERSION'] = $argv[1];
}
$vendorDir = __DIR__;
$deps = array(
array('symfony', 'git://github.com/symfony/symfony.git', isset($_SERVER['SYMFONY_VERSION']) ? $_SERVER['SYMFONY_VERSION'] : 'origin/master'),
array('twig', 'git://github.com/fabpot/Twig.git', 'origin/master'),
array('twig_Extensions', 'http://github.com/fabpot/Twig-extensions.git', 'origin/master')
);
foreach ($deps as $dep) {
list($name, $url, $rev) = $dep;
echo "> Installing/Updating $name
";
$installDir = $vendorDir.'/'.$name;
if (!is_dir($installDir)) {
$return = null;
system(sprintf('git clone -q %s %s', escapeshellarg($url), escapeshellarg($installDir)), $return);
if ($return > 0) {
exit($return);
}
}
$return = null;
system(sprintf('cd %s && git fetch -q origin && git reset --hard %s', escapeshellarg($installDir), escapeshellarg($rev)), $return);
if ($return > 0) {
exit($return);
}
}
?>
Did this file decode correctly?
Original Code
<?php
#!/usr/bin/env php
set_time_limit(0);
if (isset($argv[1])) {
$_SERVER['SYMFONY_VERSION'] = $argv[1];
}
$vendorDir = __DIR__;
$deps = array(
array('symfony', 'git://github.com/symfony/symfony.git', isset($_SERVER['SYMFONY_VERSION']) ? $_SERVER['SYMFONY_VERSION'] : 'origin/master'),
array('twig', 'git://github.com/fabpot/Twig.git', 'origin/master'),
array('twig_Extensions', 'http://github.com/fabpot/Twig-extensions.git', 'origin/master')
);
foreach ($deps as $dep) {
list($name, $url, $rev) = $dep;
echo "> Installing/Updating $name\n";
$installDir = $vendorDir.'/'.$name;
if (!is_dir($installDir)) {
$return = null;
system(sprintf('git clone -q %s %s', escapeshellarg($url), escapeshellarg($installDir)), $return);
if ($return > 0) {
exit($return);
}
}
$return = null;
system(sprintf('cd %s && git fetch -q origin && git reset --hard %s', escapeshellarg($installDir), escapeshellarg($rev)), $return);
if ($return > 0) {
exit($return);
}
}
Function Calls
set_time_limit | 1 |
Stats
MD5 | f4e726617c8471bf9e9cabe6b01c015c |
Eval Count | 0 |
Decode Time | 134 ms |