## 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