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