3v4l.org

run code in 300+ PHP versions simultaneously
<?php $days = 10; $time = strtotime("-{$days} days"); echo "Time: {$time}\nData atual: " . date('Y-m-d') . "\nData antiga: " . date('Y-m-d', $time);
Output for git.master, git.master_jit, rfc.property-hooks
Time: 1412364183 Data atual: 2014-10-13 Data antiga: 2014-10-03

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