blob: 4bc01221a8356748e129812fae2fd385c56d1d15 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
--TEST--
Testing interface_exists()
--FILE--
<?php
interface foo {
}
var_dump(interface_exists('foo'));
var_dump(interface_exists(1));
?>
--EXPECT--
bool(true)
bool(false)
|