3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $epoch = 1483228800; echo date('r', $epoch) . PHP_EOL; // output as RFC 2822 date - returns local time echo gmdate('r', $epoch);
based on OPa9T

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
Sun, 01 Jan 2017 01:00:00 +0100 Sun, 01 Jan 2017 00:00:00 +0000
Output for Arrow functions
Sun, 01 Jan 2017 01:00:00 +0100 Sun, 01 Jan 2017 00:00:00 +0000

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