3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $currentDate = date('y-n'); $cardDate = sprintf('%s-%s', 16, 1); echo $currentDate .' == ' . $cardDate; if ($currentDate > $cardDate) { echo "FAIL"; return; } echo 'OK';
based on cN1ha
Output for 5.4.0 - 7.2.6
15-10 == 16-1OK