PHP Doku:: SEND_VAR - internals2.opcodes.send-var.html

Verlauf / Chronik / History: (5) anzeigen

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

Ein Service von Reinhard Neidl - Webprogrammierung.

Opcodes

<<SEND_VAL

SEND_VAR_NO_REF>>

SEND_VAR

PHP code

<?php
/*
 * Pass the variable value as an actual parameter to a function.  DO_FCALL follows.
 * opcode number: 66
 */
$a = array(1,2,3);
if(
is_array($a)){ return 0; }
?>

PHP opcodes

Function name: (null)

Compiled variables: !0=$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 SEND_VAR     !0
 5 DO_FCALL  1  'is_array'
 6 JMPZ     $2,->9
 7 RETURN     0
 8 JMP     ->9
89 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",...)