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 // Tests of warning about noops, and warnings about bad variables/expressions encaps..

Decoded Output download

<?php
// Tests of warning about noops, and warnings about bad variables/expressions encapsulated in strings
function aScalarNoop(array $x) {
    "x is $x";
    'x == $x';
    2;
    .5;

    <<<EOT

    x is $x
EOT;
}

function bScalarNoop(stdClass $x) {
    <<<'EOT'

    x is $x

EOT;
    "x :: $x";
    .75;
}
1.0;
 ?>

Did this file decode correctly?

Original Code

<?php
// Tests of warning about noops, and warnings about bad variables/expressions encapsulated in strings
function aScalarNoop(array $x) {
    "x is $x";
    'x == $x';
    2;
    .5;

    <<<EOT

    x is $x
EOT;
}

function bScalarNoop(stdClass $x) {
    <<<'EOT'

    x is $x

EOT;
    "x :: $x";
    .75;
}
1.0;

Function Calls

None

Variables

None

Stats

MD5 7b8d10c0dd37b608983895912be8b02d
Eval Count 0
Decode Time 106 ms