3v4l.org

run code in 500+ PHP versions simultaneously
<?php echo gmdate("Y-m-d\TH:i:s\Z", 0); echo "\n"; echo gmdate("Y-m-d\TH:i:s\Z", -1); echo "\n"; echo gmdate("Y-m-d\TH:i:s\Z", 'foo'); echo "\n"; echo gmdate("Y-m-d\TH:i:s\Z", 10);
Output for git.master, git.master_jit, rfc.property-hooks
1970-01-01T00:00:00Z 1969-12-31T23:59:59Z Fatal error: Uncaught TypeError: gmdate(): Argument #2 ($timestamp) must be of type ?int, string given in /in/hHNOT:7 Stack trace: #0 /in/hHNOT(7): gmdate('Y-m-d\\TH:i:s\\Z', 'foo') #1 {main} thrown in /in/hHNOT on line 7
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:
105.94 ms | 1674 KiB | 4 Q