mirror of
https://github.com/php/php-src.git
synced 2024-11-25 10:54:15 +08:00
11 lines
132 B
PHP
11 lines
132 B
PHP
--TEST--
|
|
Trying to throw a non-object
|
|
--FILE--
|
|
<?php
|
|
|
|
throw 1;
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Can only throw objects in %s on line %d
|