PHP Doku:: FETCH_CONSTANT - internals2.opcodes.fetch-constant.html

Verlauf / Chronik / History: (2) anzeigen

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

Ein Service von Reinhard Neidl - Webprogrammierung.

Opcodes

<<FETCH_CLASS

FETCH_DIM_FUNC_ARG>>

FETCH_CONSTANT

PHP code

<?php
/*
 * Fetch the constant value bound to the specified name (name) and stores it into a variable (result).
 * opcode number: 99
 */
define("FOO""something");
echo 
FOO;
?>

PHP opcodes

Function name: (null)

Compiled variables: none

line#op fetchextreturn operands
60 SEND_VAL     'FOO'
 1 SEND_VAL     'something'
 2 DO_FCALL  2  'define'
73 FETCH_CONSTANT   ~1 'FOO'
 4 ECHO     ~1
85 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",...)