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 $x = 5; // global scope function myTest() { $x = 1; echo "<p>Variable ..

Decoded Output download

<p>Variable x outside function is: 5</p>

Did this file decode correctly?

Original Code

<?php
$x = 5; // global scope

function myTest() {
    $x = 1;
    echo "<p>Variable x inside function is: $x</p>";
}

// myTest();

echo "<p>Variable x outside function is: $x</p>";
?>

Function Calls

None

Variables

$x 5

Stats

MD5 367da73b274d052db7ce18c1055d0df5
Eval Count 0
Decode Time 61 ms