dismiss Step into the future! Click here to switch to the beta php.net site
downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

INIT_STRING> <INIT_NS_FCALL_BY_NAME
[edit] Last updated: Fri, 28 Jun 2013

view this page in

INIT_STATIC_METHOD_CALL

PHP code

<?php
/*
 * 
 * opcode number: 113
 */
class Foo {
    public static function 
aStaticMethod() {
            echo 
"hello world\n";
    }
}

Foo::aStaticMethod();
?>

PHP opcodes

Function name: (null)

Compiled variables: none

line#op fetchextreturn operands
60 NOP      
121 ZEND_INIT_STATIC_METHOD_CALL     'Foo','aStaticMethod'
 2 ZEND_OP_DATA     'foo%3A%3Aastaticmethod'
 3 DO_FCALL_BY_NAME  0   
134 RETURN     1

Function name: aStaticMethod

Compiled variables: none

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


add a note add a note User Contributed Notes INIT_STATIC_METHOD_CALL - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites