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.
The following code:
<?php $all = ['test']; foreach ($all as &$item) { $all += [$item]; } var_dump($all);
Resulted in this output:
endless foreach
But I expected this output instead:
array(1) { [0]=> &string(4) "test" }
PHP 8.2.6RC1
Debian 11.7