3v4l.org

run code in 300+ PHP versions simultaneously
<?php $run_time = '2016-10-27 10:00:00'; $entry_date = '2016-10-20 11:00:00'; $days_to_dial = 7; if ( ((strtotime($run_time)-strtotime($entry_date))/3600) >= $days_to_dial*24 ) { echo strtotime($run_time).PHP_EOL; echo strtotime($entry_date).PHP_EOL; } else { echo 'false'; }
Output for git.master, git.master_jit, rfc.property-hooks
false

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:
70.98 ms | 401 KiB | 8 Q