- Output for 5.3.0 - 5.3.15, 5.4.0 - 5.4.5
- Parse error: syntax error, unexpected '?' in 1Lr0B on line 7
Process exited with code 255.
<?php
$couponHolder = array();
//$test = 'test';
$test = null;
//$couponHolder['test'] = $test ? $test . '!' : null;
$couponHolder['test'] = $test . ?: null;
print_r($couponHolder);