©
本文档使用 PHP中文网手册 发布
<?php
class Foo {
public static function aStaticMethod () {
echo "hello world\n" ;
}
}
Foo :: aStaticMethod ();
?>
Function name: (null)
Compiled variables: none
line | # | op | fetch | ext | return | operands |
---|---|---|---|---|---|---|
6 | 0 | NOP | ||||
12 | 1 | ZEND_INIT_STATIC_METHOD_CALL | 'Foo','aStaticMethod' | |||
2 | ZEND_OP_DATA | 'foo%3A%3Aastaticmethod' | ||||
3 | DO_FCALL_BY_NAME | 0 | ||||
13 | 4 | RETURN | 1 |
Function name: aStaticMethod
Compiled variables: none
line | # | op | fetch | ext | return | operands |
---|---|---|---|---|---|---|
8 | 0 | ECHO | 'hello+world%0A' | |||
9 | 1 | RETURN | null |