errmsg_041.phpt 240 B

1234567891011
  1. --TEST--
  2. errmsg: instanceof expects an object instance, constant given
  3. --FILE--
  4. <?php
  5. var_dump("abc" instanceof stdclass);
  6. echo "Done\n";
  7. ?>
  8. --EXPECTF--
  9. Fatal error: instanceof expects an object instance, constant given in %s on line %d