-
-
Notifications
You must be signed in to change notification settings - Fork 946
Closed
phpstan/phpstan-src
#4216Description
Bug report
Issue appears from 2.1.18
Process stuck with this code :
Level 0
`<?php
function get_array(): array
{
return [];
}
$tests = get_array();
foreach ($tests as $test) {
// information fichiers
$test['information'] = '';
$test['information'] .= $test['a'] ? 'test' : '';
$test['information'] .= $test['b'] ? 'test' : '';
$test['information'] .= $test['c'] ? 'test' : '';
$test['information'] .= $test['d'] ? 'test' : '';
$test['information'] .= $test['e'] ? 'test' : '';
$test['information'] .= $test['f'] ? 'test' : '';
$test['information'] .= $test['g'] ? 'test' : '';
$test['information'] .= $test['h'] ? 'test' : '';
}
`
I can't share a snippet withi this code, the playground fail to create share.
Code snippet that reproduces the problem
No response
Expected output
Working
Did PHPStan help you today? Did it make you happy in any way?
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels