3v4l.org

run code in 300+ PHP versions simultaneously
<?php $startLM = new DateTime('first day of previous month', new DateTimeZone('America/Detroit')); $startLM->modify('today'); $startLM->setTimezone(new DateTimeZone('UTC')); $startLastMonth = $startLM->format('Y-m-d H:i:s'); $endLM = clone $startLM; $endLM->modify('+30 day'); $endLM->modify('+1 day'); $endLastMonth = $endLM->format('Y-m-d H:i:s'); printf('`timestamp` >= %s AND `timestamp` < %s', $startLastMonth, $endLastMonth);
Output for git.master, git.master_jit, rfc.property-hooks
`timestamp` >= 2015-07-01 04:00:00 AND `timestamp` < 2015-08-01 04:00:00

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