3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php date_default_timezone_set('America/New_York'); $date = new DateTime("2012-07-05 16:43:21", new DateTimeZone('Europe/Paris')); echo date("Y-m-d h:iA", $date->format('U'));

Shows result from various feature-branches currently under review from the php developers. Contact me to have additional branches featured.

Output for Array change keys
2012-07-05 10:43AM
Output for Lexical anon
2012-07-05 10:43AM
Output for Typed properties
2012-07-05 10:43AM

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