xref: /PHP-7.2/Zend/tests/errmsg_041.phpt (revision 17ccbeec)
1--TEST--
2errmsg: instanceof expects an object instance, constant given
3--FILE--
4<?php
5
6var_dump("abc" instanceof stdclass);
7
8echo "Done\n";
9?>
10--EXPECTF--
11Fatal error: instanceof expects an object instance, constant given in %s on line %d
12