3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $date = (($year = date('Y')) == 2013) ? $year : '2013-'. $year; echo $date;
Output for 4.3.0 - 7.1.7
2013