ASSIGN_OBJ
ASSIGN_SL
Opcode Descriptions and Examples
PHP Manual

## 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

ASSIGN_OBJ
ASSIGN_SL
Opcode Descriptions and Examples
PHP Manual