[PHP] PHP里的opcode →→→→→进入此内容的聊天室

来自 , 2020-10-08, 写在 PHP, 查看 112 次.
URL http://www.code666.cn/view/504c296f
  1. struct _zend_op_array {
  2.     /* Common elements */
  3.     zend_uchar type;
  4.     char *function_name;  // 如果是用户定义的函数则,这里将保存函数的名字
  5.     zend_class_entry *scope;
  6.     zend_uint fn_flags;
  7.     union _zend_function *prototype;
  8.     zend_uint num_args;
  9.     zend_uint required_num_args;
  10.     zend_arg_info *arg_info;
  11.     zend_bool pass_rest_by_reference;
  12.     unsigned char return_reference;
  13.     /* END of common elements */
  14.  
  15.     zend_bool done_pass_two;
  16.  
  17.     zend_uint *refcount;
  18.  
  19.     zend_op *opcodes;  // opcode数组
  20.  
  21.     zend_uint last,size;
  22.  
  23.     zend_compiled_variable *vars;
  24.     int last_var,size_var;
  25.  
  26.     // ...
  27. }
  28.  

回复 "PHP里的opcode"

这儿你可以回复上面这条便签

captcha