mirror of
https://github.com/php/php-src.git
synced 2024-11-28 12:26:37 +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
|