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 75c084eCopy full SHA for 75c084e
Zend/tests/bug79836.phpt
@@ -0,0 +1,13 @@
1
+--TEST--
2
+Bug #79836 (Segfault in concat_function)
3
+--FILE--
4
+<?php
5
+error_reporting(E_ALL ^ E_WARNING);
6
+ob_start ( function () use ( & $c ) { $c = 0 ;}, 1 );
7
+$c .= [];
8
9
+ob_end_clean();
10
+echo "Done\n";
11
+?>
12
+--EXPECT--
13
+Done
Zend/tests/bug79836_1.phpt
@@ -0,0 +1,15 @@
+$x = 'non-empty';
+ob_start ( function () use ( & $x ) { $x = 0 ;}, 1 );
+$c = [];
+$x = $c . $x;
14
15
0 commit comments