3v4l.org

run code in 300+ PHP versions simultaneously
<?php $curWeekStart = date('d.m', strtotime('monday this week')); $curWeekEnd = date('d.m', strtotime('friday this week')); $nextWeekStart = date('d.m', strtotime('monday next week')); $nextWeekEnd = date('d.m', strtotime('friday next week')); var_dump($curWeekStart); var_dump($curWeekEnd); var_dump($nextWeekStart); var_dump($nextWeekEnd);
Output for git.master, git.master_jit, rfc.property-hooks
string(5) "13.03" string(5) "17.03" string(5) "20.03" string(5) "24.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:
160.38 ms | 405 KiB | 5 Q