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-- fcall statement --SKIPIF-- <?php include(__DIR__ . '/../skipif.inc'); ?> --FILE--..

Decoded Output download

--TEST--
fcall statement
--SKIPIF--
<?php include(__DIR__ . '/../skipif.inc'); ?>
--FILE--
<?php
$code =<<<ZEP
function test() {
	f();
}
ZEP;

$ir = zephir_parse_file($code, '(eval code)');
var_dump($ir[0]["statements"][0]);
?>
--EXPECT--
array(5) {
  ["type"]=>
  string(5) "fcall"
  ["expr"]=>
  array(6) {
    ["type"]=>
    string(5) "fcall"
    ["name"]=>
    string(1) "f"
    ["call-type"]=>
    int(1)
    ["file"]=>
    string(11) "(eval code)"
    ["line"]=>
    int(2)
    ["char"]=>
    int(5)
  }
  ["file"]=>
  string(11) "(eval code)"
  ["line"]=>
  int(3)
  ["char"]=>
  int(1)
}

Did this file decode correctly?

Original Code

--TEST--
fcall statement
--SKIPIF--
<?php include(__DIR__ . '/../skipif.inc'); ?>
--FILE--
<?php
$code =<<<ZEP
function test() {
	f();
}
ZEP;

$ir = zephir_parse_file($code, '(eval code)');
var_dump($ir[0]["statements"][0]);
?>
--EXPECT--
array(5) {
  ["type"]=>
  string(5) "fcall"
  ["expr"]=>
  array(6) {
    ["type"]=>
    string(5) "fcall"
    ["name"]=>
    string(1) "f"
    ["call-type"]=>
    int(1)
    ["file"]=>
    string(11) "(eval code)"
    ["line"]=>
    int(2)
    ["char"]=>
    int(5)
  }
  ["file"]=>
  string(11) "(eval code)"
  ["line"]=>
  int(3)
  ["char"]=>
  int(1)
}

Function Calls

None

Variables

None

Stats

MD5 61aa33f2859d03736d64eae758c3f0d8
Eval Count 0
Decode Time 101 ms