略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: ADD_INTERFACE

2024-04-25

ADD_INTERFACE

PHP code

<?php 
/*
 * adds an implemented interface to a class declaration
 * opcode number: 144
 */
interface iA {
}

class 
implements iA {
}
?>

PHP opcodes

Function name: (null)

Compiled variables: none

line#op fetchextreturn operands
60 NOP      
 1 DECLARE_CLASS     'a'
 2 ADD_INTERFACE     'iA'
 3 VERIFY_ABSTRACT_CLASS      
 3 RETURN     1
add a note add a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/internals2.opcodes.add-interface.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3