<?php
interface Foo {}
class Bar implements Foo {}
class Foo2 extends Bar {}
var_dump(is_a('Bar', 'Foo'));
var_dump(is_a('Foo2', 'Foo'));
var_dump(is_a('Foo2', 'Bar'));
Strict Standards: is_a(): Deprecated. Please use the instanceof operator in /in/9L67k on line 8
bool(false)
Strict Standards: is_a(): Deprecated. Please use the instanceof operator in /in/9L67k on line 10
bool(false)
Strict Standards: is_a(): Deprecated. Please use the instanceof operator in /in/9L67k on line 11
bool(false)
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_STRING in /in/9L67k on line 2
Process exited with code 255.