<?php
/*
* Pass the constant value as an actual parameter to a function. DO_FCALL follows.
* Opcode 编号: 65
*/
function funcA($msg){
print $msg;
}
funcA('HELLO');
defined('IN_PHPBB');
?>
函数名: (null)
编译后的变量: none
| 行号 | # | 操作 | 读取 | 扩展 | 返回 | 操作数 |
|---|---|---|---|---|---|---|
| 6 | 0 | NOP | ||||
| 10 | 1 | SEND_VAL | 'HELLO' | |||
| 2 | DO_FCALL | 1 | 'funca' | |||
| 12 | 3 | SEND_VAL | 'IN_PHPBB' | |||
| 4 | DO_FCALL | 1 | 'defined' | |||
| 13 | 5 | RETURN | 1 |
函数名: funcA
编译后的变量: !0=$msg
| 行号 | # | 操作 | 读取 | 扩展 | 返回 | 操作数 |
|---|---|---|---|---|---|---|
| 6 | 0 | RECV | 1 | |||
| 7 | 1 | ~0 | !0 | |||
| 2 | FREE | ~0 | ||||
| 8 | 3 | RETURN | null |