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-- running code with -r --SKIPIF-- <?php include "skipif.inc"; if (substr(PHP_OS, 0,..

Decoded Output download

--TEST--
running code with -r
--SKIPIF--
<?php
include "skipif.inc";
if (substr(PHP_OS, 0, 3) == 'WIN') {
    die ("skip not for Windows");
}
?>
--FILE--
<?php

$php = getenv('TEST_PHP_EXECUTABLE');

var_dump(`$php -n -r 'var_dump("hello");'`);

echo "Done
";
?>
--EXPECT--
string(18) "string(5) "hello"
"
Done

Did this file decode correctly?

Original Code

--TEST--
running code with -r
--SKIPIF--
<?php
include "skipif.inc";
if (substr(PHP_OS, 0, 3) == 'WIN') {
    die ("skip not for Windows");
}
?>
--FILE--
<?php

$php = getenv('TEST_PHP_EXECUTABLE');

var_dump(`$php -n -r 'var_dump("hello");'`);

echo "Done\n";
?>
--EXPECT--
string(18) "string(5) "hello"
"
Done

Function Calls

None

Variables

None

Stats

MD5 06a306bc6af025155b88d7aa8744169b
Eval Count 0
Decode Time 83 ms