3v4l.org

run code in 300+ PHP versions simultaneously
<?php $couponHolder = array(); //$test = 'test'; $test = null; //$couponHolder['test'] = $test ? $test . '!' : null; $couponHolder['test'] = $test . ?: null; print_r($couponHolder);
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.

preferences:
176.77 ms | 1399 KiB | 29 Q