3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $friday = strtotime("Friday 3rd April"); $saturday = strtotime("Saturday 4th April"); if($friday < $saturday) { echo "Friday"; } else { echo "Saturday"; }
based on XZQ3A
Output for 4.3.0 - 5.0.5, 5.1.2 - 7.2.0
Friday
Output for 5.1.0 - 5.1.1
Saturday