3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dateLastMonth = date("first day of last month"); $dateCurrentMonth = date("last day of last month"); var_dump($dateLastMonth, $dateCurrentMonth);
Output for git.master, git.master_jit, rfc.property-hooks
string(77) "f48Tue, 11 Jul 2017 11:48:24 +02002431 11am17 2017f Tuesdayam2431 07201773111" string(52) "Tuesdayam2431 11am17 2017f Tuesdayam2431 07201773111"

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