3v4l.org

run code in 300+ PHP versions simultaneously
<?php $z = new ZipArchive(); $r = $z->open('badzip.zip'); file_put_contents('badzip.zip', pack('IvvvvIIv', 0x06054b50, // End of central directory signature = 0x06054b50 0, // Number of this disk 0, // Disk where central directory starts 0, // Number of central directory records on this disk 0, // Total number of central directory records 0, // Size of central directory (bytes) 0, // Offset of start of central directory, relative to start of archive 0 // Comment length (n) )); $z->close();
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Class "ZipArchive" not found in /in/M4eVD:3 Stack trace: #0 {main} thrown in /in/M4eVD on line 3
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:
43.75 ms | 401 KiB | 8 Q