3v4l.org

run code in 300+ PHP versions simultaneously
<?php $testDates = array( '2018-01-01', '2000-01-01', '1992-01-01', '1991-12-30', '1980-01-01', '1971-01-01', '1970-01-02', '1970-01-01', ); foreach($testDates as $testDate){ echo $testDate . ' - result:' . strtotime($testDate) . PHP_EOL; }
Output for git.master, git.master_jit, rfc.property-hooks
2018-01-01 - result:1514761200 2000-01-01 - result:946681200 1992-01-01 - result:694220400 1991-12-30 - result:694047600 1980-01-01 - result:315529200 1971-01-01 - result:31532400 1970-01-02 - result:82800 1970-01-01 - result:-3600

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