PHP Doku:: FETCH_DIM_R - internals2.opcodes.fetch-dim-r.html

Verlauf / Chronik / History: (5) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchPHP im Kern: Das Entwicklerhandbuch für die Zend EngineZend Engine 2 opcode listOpcodesFETCH_DIM_R

Ein Service von Reinhard Neidl - Webprogrammierung.

Opcodes

<<FETCH_DIM_IS

FETCH_DIM_RW>>

FETCH_DIM_R

PHP code

<?php
/*
 * Fetch the value of the element at "index" in "array-value" to store it in "result".  Read-only?
 * opcode number: 81
 */
$x = array(1,2,3);
$a 'x';
echo $
$a[0];
?>

PHP opcodes

Function name: (null)

Compiled variables: !0=$x, !1=$a

line#op fetchextreturn operands
60 INIT_ARRAY   ~0 1
 1 ADD_ARRAY_ELEMENT   ~0 2
 2 ADD_ARRAY_ELEMENT   ~0 3
 3 ASSIGN     !0,~0
74 ASSIGN     !1,'x'
85 FETCH_DIM_R   $3 !1,0
 6 FETCH_Rlocal  $4 $3
 7 ECHO     $4
98 RETURN     1

Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)