1--TEST--
2Test interface_exists() function : test autoload default value
3--FILE--
4<?php
5/* Prototype  : bool interface_exists(string classname [, bool autoload])
6 * Description: Checks if the class exists
7 * Source code: Zend/zend_builtin_functions.c
8 * Alias to functions:
9 */
10
11echo "*** Testing interface_exists() : test autoload default value ***\n";
12
13spl_autoload_register(function ($class_name) {
14    require_once $class_name . '.inc';
15});
16
17var_dump(interface_exists("AutoInterface"));
18
19echo "\nDONE\n";
20
21?>
22--EXPECTF--
23*** Testing interface_exists() : test autoload default value ***
24bool(true)
25
26DONE
27