3v4l.org

run code in 500+ PHP versions simultaneously
<?php try { $test = new \DateTime('undefined'); } catch(\Exception $e) { var_dump($e->getMessage()); } var_dump(error_get_last());
Output for rfc.property-hooks, git.master, git.master_jit
string(106) "Failed to parse time string (undefined) at position 0 (u): The timezone could not be found in the database" NULL

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:
48.75 ms | 2822 KiB | 4 Q