3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo date('m.d.y', strtotime('last Monday', strtotime('+ 28 day'))) . "\n"; echo date('m.d.y',strtotime('next Monday', strtotime('+ 28 day'))) . "\n"; echo date('m.d.y',strtotime('last Monday')) . "\n"; echo date('m.d.y',strtotime('last Monday', strtotime('last Monday'))) . "\n"; echo "\n"; echo date('m.d.y',strtotime('- ' . (intval(date('N')) - 1) . ' day')); ?>

Shows result from various feature-branches currently under review from the php developers. Contact me to have additional branches featured.

Output for Typed properties v2
12.31.12 01.07.13 12.03.12 11.26.12 12.03.12
Output for Array change keys
12.31.12 01.07.13 12.03.12 11.26.12 12.03.12
Output for Lexical anon
12.31.12 01.07.13 12.03.12 11.26.12 12.03.12

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