3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = new \DateTime(); $date->setTimeZone(new DateTimeZone('GMT')); //Wed, 20 Dec 2023 23:28:11 GMT echo $date->format(DATE_RFC7231)."\n"; $date->setTimeZone(new DateTimeZone('Europe/Tallinn')); //Thu, 21 Dec 2023 01:28:20 GMT echo $date->format(DATE_RFC7231);
Output for git.master_jit, git.master, rfc.property-hooks
Wed, 20 Dec 2023 23:52:59 GMT Thu, 21 Dec 2023 01:52:59 GMT

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:
44.48 ms | 405 KiB | 5 Q