ADD_INTERFACE
PHP code
<?php
/*
* adds an implemented interface to a class declaration
* opcode number: 144
*/
interface iA {
}
class A implements iA {
}
?>
PHP opcodes
Function name: (null)
Compiled variables: none
line | # | op | fetch | ext | return | operands |
---|---|---|---|---|---|---|
6 | 0 | NOP | ||||
1 | DECLARE_CLASS | 'a' | ||||
2 | ADD_INTERFACE | 'iA' | ||||
3 | VERIFY_ABSTRACT_CLASS | |||||
3 | RETURN | 1 |
add a note
User Contributed Notes
There are no user contributed notes for this page.
备份地址:http://www.lvesu.com/blog/php/internals2.opcodes.add-interface.php