<?php

interface foo {
}

var_dump(interface_exists('foo'));
var_dump(interface_exists(1));

?>