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-- return statement --SKIPIF-- <?php include(__DIR__ . '/../skipif.inc'); ?> --FILE-..
Decoded Output download
--TEST--
return statement
--SKIPIF--
<?php include(__DIR__ . '/../skipif.inc'); ?>
--FILE--
<?php
$code =<<<ZEP
function test() {
return;
}
ZEP;
$ir = zephir_parse_file($code, '(eval code)');
var_dump($ir[0]["statements"][0]);
?>
--EXPECT--
array(4) {
["type"]=>
string(6) "return"
["file"]=>
string(11) "(eval code)"
["line"]=>
int(3)
["char"]=>
int(1)
}
Did this file decode correctly?
Original Code
--TEST--
return statement
--SKIPIF--
<?php include(__DIR__ . '/../skipif.inc'); ?>
--FILE--
<?php
$code =<<<ZEP
function test() {
return;
}
ZEP;
$ir = zephir_parse_file($code, '(eval code)');
var_dump($ir[0]["statements"][0]);
?>
--EXPECT--
array(4) {
["type"]=>
string(6) "return"
["file"]=>
string(11) "(eval code)"
["line"]=>
int(3)
["char"]=>
int(1)
}
Function Calls
None |
Stats
MD5 | e1ea00c8dad5e524b6a264b0156675b6 |
Eval Count | 0 |
Decode Time | 102 ms |