1--TEST--
2method_exists() on non-existent class, with __autoload().
3--FILE--
4<?php
5/* Prototype  : proto bool is_subclass_of(object object, string class_name)
6 * Description: Returns true if the object has this class as one of its parents
7 * Source code: Zend/zend_builtin_functions.c
8 * Alias to functions:
9 */
10
11function __autoload($name) {
12	echo "In __autoload($name)\n";
13}
14
15var_dump(method_exists('UndefC', 'func'));
16
17echo "Done";
18?>
19--EXPECTF--
20In __autoload(UndefC)
21bool(false)
22Done