3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $days_number = 360; $days_to_new_year = 366 - $days_number; //expression if ($days_to_new_year < 30) { echo "not long now till new year"; //statement # code... } elseif ($days_to_new_year > 30) { echo "you still got a long way to go!"; //statement # code... }
Output for 4.3.0 - 7.2.0
not long now till new year