xref: /PHP-5.6/tests/classes/autoload_010.phpt (revision 7eb114a9)
1--TEST--
2Ensure implements does trigger autoload.
3--FILE--
4<?php
5  function __autoload($name)
6  {
7      echo "In autoload: ";
8      var_dump($name);
9  }
10
11  class C implements UndefI
12  {
13  }
14?>
15--EXPECTF--
16In autoload: string(6) "UndefI"
17
18Fatal error: Interface 'UndefI' not found in %s on line %d
19