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#opfetchextreturnoperands
60NOP    
 1DECLARE_CLASS   'a'
 2ADD_INTERFACE   'iA'
 3VERIFY_ABSTRACT_CLASS    
 3RETURN   1