Php/docs/internals2.opcodes.declare-function

来自菜鸟教程
跳转至:导航、​搜索

DECLARE_FUNCTION

PHP code

<?php/* *  * opcode number: 141 */class A{ function funcA(){ }}?>

PHP opcodes

Function name: (null)

Compiled variables: none

line # op fetch ext return operands
6 0 NOP        
10 1 RETURN       1

Function name: funcA

Compiled variables: none

line # op fetch ext return operands
8 0 RETURN       null