mirror of
https://github.com/php/php-src.git
synced 2026-04-22 23:48:14 +02: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.
14 lines
419 B
PHP
14 lines
419 B
PHP
--TEST--
|
|
Bug #61115: Stream related segfault on fatal error in php_stream_context_del_link.
|
|
--FILE--
|
|
<?php
|
|
|
|
$arrayLarge = array_fill(0, 113663, '*');
|
|
|
|
$resourceFileTemp = fopen('php://temp', 'r+');
|
|
stream_context_set_params($resourceFileTemp, array());
|
|
preg_replace('', function() {}, $resourceFileTemp);
|
|
?>
|
|
--EXPECTF--
|
|
Recoverable fatal error: Object of class Closure could not be converted to string in %s on line %d
|