php教程

FETCH_FUNC_ARG

PHP code

<?php
/*
 * 
 * opcode number: 92
 */
function foo($x)
{
}

$x 1;
$y "x";
$z "foo";

$z($$y);

?>

PHP opcodes

Function name: (null)

Compiled variables: !0=$x, !1=$y, !2=$z

line#op fetchextreturn operands
60 NOP      
101 ASSIGN     !0,1
112 ASSIGN     !1,'x'
123 ASSIGN     !2,'foo'
144 INIT_FCALL_BY_NAME     !2
 5 FETCH_FUNC_ARGlocal  $3 !1
 6 SEND_VAR     $3
 7 DO_FCALL_BY_NAME  1   
168 RETURN     1

Function name: foo

Compiled variables: !0=$x

line#op fetchextreturn operands
60 RECV     1
81 RETURN     null

User Contributed Notes

There are no user contributed notes for this page.

CopyRight © 2008-2022 verySource.Com All Rights reserved. 京ICP备17048824号-1 京公网安备:11010502034788