dis-bench / src /php /php-src /tests /classes /autoload_007.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
235 Bytes
--TEST--
Ensure instanceof does not trigger autoload.
--FILE--
<?php
spl_autoload_register(function ($name) {
echo "In autoload: ";
var_dump($name);
});
$a = new stdClass;
var_dump($a instanceof UndefC);
?>
--EXPECT--
bool(false)