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-- getenv() basic tests --ENV-- FOO=bar --FILE-- <?php var_dump(getenv("FOO")); var..

Decoded Output download

--TEST--
getenv() basic tests
--ENV--
FOO=bar
--FILE--
<?php

var_dump(getenv("FOO"));
var_dump(getenv()["FOO"]);

echo "Done
";
?>
--EXPECT--
string(3) "bar"
string(3) "bar"
Done

Did this file decode correctly?

Original Code

--TEST--
getenv() basic tests
--ENV--
FOO=bar
--FILE--
<?php

var_dump(getenv("FOO"));
var_dump(getenv()["FOO"]);

echo "Done\n";
?>
--EXPECT--
string(3) "bar"
string(3) "bar"
Done

Function Calls

None

Variables

None

Stats

MD5 3826ad4d96d8c8a0a5f30f23db133e0e
Eval Count 0
Decode Time 88 ms