DECLARE_CLASS

PHP code

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

PHP opcodes

Function name: (null)

Compiled variables: none

line#opfetchextreturnoperands
60NOP    
111RETURN   1

Function name: methodA

Compiled variables: none

line#opfetchextreturnoperands
80ECHO   'hello+world'
91RETURN   null