mirror of
https://github.com/php/php-src.git
synced 2024-11-25 02:44:58 +08:00
19 lines
299 B
PHP
19 lines
299 B
PHP
--TEST--
|
|
Ensure implements does trigger autoload.
|
|
--FILE--
|
|
<?php
|
|
function __autoload($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
|