We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92b6bce commit 60fe78aCopy full SHA for 60fe78a
Zend/tests/bug79836.phpt
@@ -0,0 +1,14 @@
1
+--TEST--
2
+Bug #79836 (Segfault in concat_function)
3
+--INI--
4
+error_reporting = E_ALL & ~E_WARNING
5
+--FILE--
6
+<?php
7
+ob_start ( function () use ( & $c ) { $c = 0 ;}, 1 );
8
+$c .= [];
9
10
+ob_end_clean();
11
+echo "Done\n";
12
+?>
13
+--EXPECT--
14
+Done
Zend/tests/bug79836_1.phpt
@@ -0,0 +1,16 @@
+$x = 'non-empty';
+ob_start ( function () use ( & $x ) { $x = 0 ;}, 1 );
+$c = [];
+$x = $c . $x;
15
16
0 commit comments