![]() ![]() | ![]() |
1.1 ! misho 1: --TEST-- ! 2: Ensure 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-- ! 15: bool(false)