mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
20 lines
288 B
PHP
20 lines
288 B
PHP
--TEST--
|
|
Bug #79836 (Segfault in concat_function)
|
|
--INI--
|
|
opcache.optimization_level = 0x7FFEBFFF & ~0x400
|
|
--FILE--
|
|
<?php
|
|
$x = 'non-empty';
|
|
ob_start(function () use (&$c) {
|
|
$c = 0;
|
|
return '';
|
|
}, 1);
|
|
$c = [];
|
|
$x = $c . $x;
|
|
$x = $c . $x;
|
|
ob_end_clean();
|
|
echo "Done\n";
|
|
?>
|
|
--EXPECT--
|
|
Done
|