xref: /PHP-5.4/Zend/tests/exception_006.phpt (revision e35c4579)
1--TEST--
2Trying to throw a non-object
3--FILE--
4<?php
5
6throw 1;
7
8?>
9--EXPECTF--
10Fatal error: Can only throw objects in %s on line %d
11