3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(-1); function gzdecode_filler( $data, $length = 0 ) { $fp = fopen( 'compress.zlib://data:application/x-gzip;base64,' . base64_encode( $data ), 'r' ); fseek( $fp, SEEK_END ); var_dump( ftell( $fp ) ); $length = (int)$length; $max = 32768 * strlen( $data ); $max = $length ? min( $length, $max ) : $max; $decoded = fread( $fp, $max + 1 ); if ( $decoded === false || strlen( $decoded ) > $max ) { return false; } return $decoded; } var_dump(gzdecode_filler(pack('H*', "1f8b08000000000000030bc94855282ccd4cce56482aca2fcf5348cbaf50c82acd2d2856c82f4b2d5228014ae72456552aa4e4a7eb0100e92590512c0000001f8b08000000000000030bc94855282ccd4cce56482aca2fcf5348cbaf50c82acd2d2856c82f4b2d5228014ae72456552aa4e4a7eb0100e92590512c000000")));
Output for git.master, git.master_jit, rfc.property-hooks
int(2) string(86) "e quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog."

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.35 ms | 401 KiB | 8 Q