1
0
mirror of https://github.com/php/php-src.git synced 2026-03-28 02:02:32 +01:00
Files
archived-php-src/ext/standard/tests/class_object/interface_exists_variation4.phpt
2020-06-24 13:13:44 +02:00

21 lines
414 B
PHP

--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