summaryrefslogtreecommitdiff
path: root/ext/standard/tests/class_object/interface_exists_variation4.phpt
blob: 7ab6b4ab878975f7bb752c9df468a0252a474c8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--TEST--
Test interface_exists() function : test autoload default value
--FILE--
<?php
echo "*** Testing interface_exists() : test autoload default value ***\n";

spl_autoload_register(function ($class_name) {
    require_once $class_name . '.inc';
});

var_dump(interface_exists("AutoInterface"));

echo "\nDONE\n";

?>
--EXPECT--
*** Testing interface_exists() : test autoload default value ***
bool(true)

DONE