3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = ['CATS','DOGS']; if(in_array(0, $array) === true){ echo "found zero!\n"; } var_dump(DateTime::ISO8601,DateTime::ATOM,date(DateTime::ISO8601,0),date(DateTime::ATOM,0));
Output for git.master, git.master_jit, rfc.property-hooks
string(13) "Y-m-d\TH:i:sO" string(13) "Y-m-d\TH:i:sP" string(24) "1970-01-01T01:00:00+0100" string(25) "1970-01-01T01:00:00+01:00"

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:
62.55 ms | 401 KiB | 8 Q