mirror of
https://github.com/php/php-src.git
synced 2024-12-19 15:00:15 +08:00
727b422ad9
E_RECOVERABLE errors are reported as "Catchable fatal error". This is misleading, because they actually can't be caught via try-catch statements. Therefore we change the wording to "Recoverable fatal error" as suggested by Nikita.
11 lines
280 B
PHP
11 lines
280 B
PHP
--TEST--
|
|
Bug #72162 (use-after-free - error_reporting)
|
|
--FILE--
|
|
<?php
|
|
error_reporting(E_ALL);
|
|
$var11 = new StdClass();
|
|
$var16 = error_reporting($var11);
|
|
?>
|
|
--EXPECTF--
|
|
Recoverable fatal error: Object of class stdClass could not be converted to string in %sbug72162.php on line %d
|