PHPTS:一键免费搭建 Nginx + PHP + MySQL 运行环境

INCLUDE_OR_EVAL

PHP code

<?php
/*
 * Include the file specified by filename and eval it.
 * opcode number: 73
 */
include("test.php");
eval(
"test.php");
?>

PHP opcodes

Function name: (null)

Compiled variables: none

line#op fetchextreturn operands
60 INCLUDE_OR_EVAL     'test.php',INCLUDE
71 INCLUDE_OR_EVAL     'test.php',EVAL
82 RETURN     1

Function name: (null)

Compiled variables: none

line#op fetchextreturn operands
20 DO_FCALL  0  'phpinfo'
31 RETURN     1