php-src/Zend/tests/errmsg_041.phpt
2007-02-07 11:10:32 +00:00

12 lines
240 B
PHP

--TEST--
errmsg: instanceof expects an object instance, constant given
--FILE--
<?php
var_dump("abc" instanceof stdclass);
echo "Done\n";
?>
--EXPECTF--
Fatal error: instanceof expects an object instance, constant given in %s on line %d