3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t = new \IntlDateFormatter( 'en_US', IntlDateFormatter::MEDIUM, IntlDateFormatter::MEDIUM, new DateTimeZone('Asia/Shanghai'), IntlDateFormatter::GREGORIAN, 'Y-m-d H:i:s'); $t->setLenient(false); $timestamp = $t->parse('2019-09-18 18:58:08'); var_dump(date('r', $timestamp));
Output for git.master, git.master_jit, rfc.property-hooks
string(31) "Fri, 18 Jan 2019 11:09:00 +0100"

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