3v4l.org

run code in 300+ PHP versions simultaneously
<?php function vacancy_expire($id, $close_date){ date_default_timezone_set("Pacific/Fiji"); $today = strtotime("2014-04-30 04:04"); $close_date = strtotime("2014-04-30 16:00"); if( $today > $close_date ){ echo "1"; } else { echo "0"; } }
Output for git.master, git.master_jit, rfc.property-hooks

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
58.35 ms | 401 KiB | 8 Q