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 13function __autoload($class_name) { 14 require_once $class_name . '.inc'; 15} 16 17 18var_dump(interface_exists("AutoInterface")); 19 20echo "\nDONE\n"; 21 22?> 23--EXPECTF-- 24*** Testing interface_exists() : test autoload default value *** 25bool(true) 26 27DONE 28