3v4l.org

run code in 300+ PHP versions simultaneously
<?php $now = new DateTime('07.01.2016 11:35:00'); $formatter = new IntlDateFormatter('ja_JP', IntlDateFormatter::FULL, IntlDateFormatter::FULL, 'Asia/Tokyo', IntlDateFormatter::GREGORIAN); echo 'It is now: "' . $formatter->format($now) . '" in Tokyo' . "\n"; $formatter = new IntlDateFormatter('ja_JP', IntlDateFormatter::LONG, IntlDateFormatter::LONG, 'Asia/Tokyo', IntlDateFormatter::GREGORIAN); echo 'It is now: "' . $formatter->format($now) . '" in Tokyo' . "\n"; $formatter = new IntlDateFormatter('ja_JP', IntlDateFormatter::MEDIUM, IntlDateFormatter::MEDIUM, 'Asia/Tokyo', IntlDateFormatter::GREGORIAN); echo 'It is now: "' . $formatter->format($now) . '" in Tokyo' . "\n"; $formatter = new IntlDateFormatter('ja_JP', IntlDateFormatter::SHORT, IntlDateFormatter::SHORT, 'Asia/Tokyo', IntlDateFormatter::GREGORIAN); echo 'It is now: "' . $formatter->format($now) . '" in Tokyo' . "\n";
Output for git.master, git.master_jit, rfc.property-hooks
It is now: "2016年1月7日木曜日 19時35分00秒 日本標準時" in Tokyo It is now: "2016年1月7日 19:35:00 JST" in Tokyo It is now: "2016/01/07 19:35:00" in Tokyo It is now: "2016/01/07 19:35" in Tokyo

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