noverify
noverify copied to clipboard
'Undefined variable' on inline defined variable in expression
Code Example
<?php
$a = !($b = 1) ? 0 : $b;
Actual Behavior
<critical> ERROR undefined: Undefined variable: b at Sample.php:2
Expected Behavior
No errors found