xref: /PHP-5.6/Zend/tests/errmsg_041.phpt (revision 0f0fe9c9)
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