PHP Doku:: DECLARE_CLASS - internals2.opcodes.declare-class.html

Verlauf / Chronik / History: (3) anzeigen

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

Ein Service von Reinhard Neidl - Webprogrammierung.

Opcodes

<<CONCAT

DECLARE_FUNCTION>>

DECLARE_CLASS

PHP code

<?php
/*
 * Declare a class with the name of class-name as the implementation specified by ID.
 * opcode number: 139
 */
class {
    function 
methodA(){
        echo 
"hello world";
    }
}
?>

PHP opcodes

Function name: (null)

Compiled variables: none

line#op fetchextreturn operands
60 NOP      
111 RETURN     1

Function name: methodA

Compiled variables: none

line#op fetchextreturn operands
80 ECHO     'hello+world'
91 RETURN     null

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",...)