Press "Enter" to skip to content

PHP Internals — Functions (Introspecting PHP Function)

In PHP there are two kinds of functions: zend_internal_function, supplied by an extension or the Zend/PHP kernel in C/C++ and directly executable, and zend_user_function, defined by the user in a PHP script and compiled by the ZE into an opcode array. This article looks at how the two differ at the ZE level, and why zend_internal_function, zend_op_array and zend_function can be safely cast to one another.

Filed in English, PHP应用, PHP源码分析
with 0 Comment