- Output for 5.4.0 - 5.4.45, 5.5.24 - 5.5.30, 5.6.8 - 5.6.15
- Parse error: syntax error, unexpected '$b' (T_VARIABLE) in /in/mLtqs on line 4
Process exited with code 255.
<?php
$a = null;
$b = false;
$c $b ?: '1';
$d = $a ?? '2';
echo $c;
echo $d;