©
本文档使用
php.cn手册 发布
<?php
echo "hello $a world" ;
?>
Function name: (null)
Compiled variables: !0=$a
line | # | op | fetch | ext | return | operands |
---|---|---|---|---|---|---|
6 | 0 | ADD_STRING | ~0 | 'hello' | ||
1 | ADD_VAR | ~0 | ~0,!0 | |||
2 | ADD_STRING | ~0 | ~0,'+world' | |||
3 | ECHO | ~0 | ||||
7 | 4 | RETURN | 1 |
[#1] fengdingbo at gmail dot com [2013-07-22 05:55:11]
<?php
$abc = 'ok';
$php = 'php';
echo "$php";
?>
qiufeng@ubuntu:~/tmp/php$ php -dvld.active=1 test.php
Finding entry points
Branch analysis from position: 0
Return found
filename: /home/qiufeng/tmp/php/test.php
function name: (null)
number of ops: 4
compiled vars: !0 = $abc, !1 = $php
line # * op fetch ext return operands
---------------------------------------------------------------------------------
2 0 > ASSIGN !0, 'ok'
3 1 ASSIGN !1, 'php'
4 2 ECHO !1
6 3 > RETURN 1
branch: # 0; line: 2- 6; sop: 0; eop: 3
path #1: 0,