3v4l.org

run code in 300+ PHP versions simultaneously
<?php if('12/10/2000' < '10/10/2000') echo "true\n"; else echo "false\n"; $data = date('d/m/Y'); print_r($data); echo "\n"; $data1 = DateTime::createFromFormat('d/m/Y', $data); $data2 = DateTime::createFromFormat('d/m/Y', $data); echo $data1 == $data2->add(new DateInterval('P1D')) ? "iguais\n" : "diferentes\n"; $arr = array(arra(), array()); print_r($arr); if(empty($arr)) echo "empty\n"; else echo "not empty\n";
Output for git.master, git.master_jit, rfc.property-hooks
false 11/12/2013 diferentes Fatal error: Uncaught Error: Call to undefined function arra() in /in/uSeik:11 Stack trace: #0 {main} thrown in /in/uSeik on line 11
Process exited with code 255.

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