blob: e65c2565a2ee4510856b8766dcb6b3e539e62d2c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
--TEST--
Ensure implements does trigger autoload.
--FILE--
<?php
spl_autoload_register(function ($name) {
echo "In autoload: ";
var_dump($name);
});
class C implements UndefI
{
}
?>
--EXPECTF--
In autoload: string(6) "UndefI"
Fatal error: Interface 'UndefI' not found in %s on line %d
|