We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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