3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dt = new DateTime('21-07-1988'); var_dump(get_class_methods($dt));
Output for git.master, git.master_jit, rfc.property-hooks
array(22) { [0]=> string(11) "__construct" [1]=> string(11) "__serialize" [2]=> string(13) "__unserialize" [3]=> string(8) "__wakeup" [4]=> string(11) "__set_state" [5]=> string(19) "createFromImmutable" [6]=> string(19) "createFromInterface" [7]=> string(16) "createFromFormat" [8]=> string(13) "getLastErrors" [9]=> string(6) "format" [10]=> string(6) "modify" [11]=> string(3) "add" [12]=> string(3) "sub" [13]=> string(11) "getTimezone" [14]=> string(11) "setTimezone" [15]=> string(9) "getOffset" [16]=> string(7) "setTime" [17]=> string(7) "setDate" [18]=> string(10) "setISODate" [19]=> string(12) "setTimestamp" [20]=> string(12) "getTimestamp" [21]=> string(4) "diff" }

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:
35.09 ms | 403 KiB | 8 Q