Php/docs/internals2.opcodes.include-or-eval

来自菜鸟教程
跳转至:导航、​搜索

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 fetch ext return operands
6 0 INCLUDE_OR_EVAL       'test.php',INCLUDE
7 1 INCLUDE_OR_EVAL       'test.php',EVAL
8 2 RETURN       1

Function name: (null)

Compiled variables: none

line # op fetch ext return operands
2 0 DO_FCALL   0   'phpinfo'
3 1 RETURN       1