summaryrefslogtreecommitdiff
path: root/Zend/tests/interface_exists_001.phpt
blob: 84e9c6df1e42ec652d52fdc16ce5994c4ca30c69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--TEST--
Testing interface_exists()
--FILE--
<?php

interface foo {
}

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

?>
--EXPECT--
bool(true)
bool(false)
bool(false)