Php/docs/internals2.opcodes.assign-ref

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

ASSIGN_REF

PHP code

<?php/* * indicates that variable indicated by value1 is to be treated in the global scope for the remainder of the current scope. * opcode number: 39 */global $a;?>

PHP opcodes

Function name: (null)

Compiled variables: !0=$a

line # op fetch ext return operands
6 0 FETCH_W globallock   $0 'a'
  1 ASSIGN_REF       !0,$0
7 2 RETURN       1