xref: /PHP-5.4/tests/classes/autoload_007.phpt (revision 7eb114a9)
1--TEST--
2Ensure instanceof does not trigger autoload.
3--FILE--
4<?php
5  function __autoload($name)
6  {
7      echo "In autoload: ";
8      var_dump($name);
9  }
10
11  $a = new stdClass;
12  var_dump($a instanceof UndefC);
13?>
14--EXPECTF--
15bool(false)
16