<?php
/*
* Fetch the constant value bound to the specified name (name) and stores it into a variable (result).
* Opcode 编号: 99
*/
define("FOO", "something");
echo FOO;
?>
函数名: (null)
编译后的变量: none
行号 | # | 操作 | 读取 | 扩展 | 返回 | 操作数 |
---|---|---|---|---|---|---|
6 | 0 | SEND_VAL | 'FOO' | |||
1 | SEND_VAL | 'something' | ||||
2 | DO_FCALL | 2 | 'define' | |||
7 | 3 | FETCH_CONSTANT | ~1 | 'FOO' | ||
4 | ECHO | ~1 | ||||
8 | 5 | RETURN | 1 |