3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace A { /** * My magic test class * * @return \DateTime */ function getdate() { return 'what_ever'; } \getdate(); // ctrl + click on getdate, should go to date.php stubs. Hover is also invalid. This looks like a problem with selection engine } namespace B { print_r(getdate()); // shouldn't work as \DateTime. \getdate() fallback ;; // fix CA ;) }
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [seconds] => 49 [minutes] => 29 [hours] => 9 [mday] => 27 [wday] => 1 [mon] => 10 [year] => 2014 [yday] => 299 [weekday] => Monday [month] => October [0] => 1414398589 )

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.23 ms | 401 KiB | 8 Q