mirror of
https://github.com/php/php-src.git
synced 2024-11-27 20:03:40 +08:00
16 lines
242 B
PHP
16 lines
242 B
PHP
--TEST--
|
|
Ensure instanceof does not trigger autoload.
|
|
--FILE--
|
|
<?php
|
|
function __autoload($name)
|
|
{
|
|
echo "In autoload: ";
|
|
var_dump($name);
|
|
}
|
|
|
|
$a = new stdClass;
|
|
var_dump($a instanceof UndefC);
|
|
?>
|
|
--EXPECTF--
|
|
bool(false)
|