3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(-1); function gzdecode_filler( $data, $length = 0 ) { $length = (int)$length; $max = 32768 * strlen( $data ); $max = $length ? min( $length, $max ) : $max; $fp = gzopen( 'data:application/x-gzip;base64,' . base64_encode( $data ), 'r' ); $decoded = gzread( $fp, $max + 1 ); if ( $decoded === false || strlen( $decoded ) > $max ) { return false; } return $decoded; } var_dump(gzdecode_filler(pack('H*', "1f8b08000000000000030bc94855282ccd4cce56482aca2fcf5348cbaf50c82acd2d2856c82f4b2d5228014ae72456552aa4e4a7eb0100e92590512c0000001f8b08000000000000030bc94855282ccd4cce56482aca2fcf5348cbaf50c82acd2d2856c82f4b2d5228014ae72456552aa4e4a7eb0100e92590512c000000")));

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.60.0090.01220.49
8.3.50.0150.00021.33
8.3.40.0110.00718.80
8.3.30.0000.01419.25
8.3.20.0040.00420.59
8.3.10.0040.00424.06
8.3.00.0040.00424.58
8.2.180.0150.00716.63
8.2.170.0180.00022.96
8.2.160.0080.00619.16
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0040.00421.57
8.2.110.0070.00321.00
8.2.100.0060.00617.91
8.2.90.0060.00319.17
8.2.80.0000.00817.97
8.2.70.0060.00317.50
8.2.60.0000.00817.93
8.2.50.0050.00518.07
8.2.40.0040.00422.17
8.2.30.0000.00818.19
8.2.20.0000.00817.67
8.2.10.0050.00217.71
8.2.00.0040.00417.86
8.1.280.0030.01025.92
8.1.270.0000.00821.97
8.1.260.0040.00426.35
8.1.250.0030.00628.09
8.1.240.0050.00522.19
8.1.230.0040.00818.80
8.1.220.0040.00417.79
8.1.210.0040.00418.77
8.1.200.0030.00617.35
8.1.190.0090.00017.23
8.1.180.0000.00818.55
8.1.170.0040.00418.74
8.1.160.0080.00022.25
8.1.150.0040.00418.69
8.1.140.0030.00517.42
8.1.130.0000.00717.93
8.1.120.0000.00717.56
8.1.110.0040.00417.54
8.1.100.0000.00717.53
8.1.90.0050.00217.54
8.1.80.0040.00417.50
8.1.70.0000.00817.55
8.1.60.0000.00817.68
8.1.50.0030.00517.64
8.1.40.0000.00717.61
8.1.30.0040.00417.73
8.1.20.0000.00817.71
8.1.10.0000.00817.63
8.1.00.0040.00417.55
8.0.300.0030.00618.77
8.0.290.0040.00416.75
8.0.280.0070.00018.45
8.0.270.0000.00717.30
8.0.260.0030.00316.88
8.0.250.0040.00417.01
8.0.240.0050.00217.04
8.0.230.0080.00016.86
8.0.220.0070.00016.94
8.0.210.0000.00716.95
8.0.200.0030.00317.04
8.0.190.0040.00417.01
8.0.180.0070.00016.97
8.0.170.0040.00416.95
8.0.160.0020.00516.81
8.0.150.0040.00416.84
8.0.140.0040.00416.94
8.0.130.0060.00013.54
8.0.120.0030.00616.96
8.0.110.0080.00016.89
8.0.100.0040.00416.77
8.0.90.0040.00417.07
8.0.80.0060.01016.94
8.0.70.0040.00416.84
8.0.60.0040.00417.04
8.0.50.0040.00416.87
8.0.30.0030.01617.00
8.0.20.0070.01217.40
8.0.10.0000.00716.86
8.0.00.0090.01016.87
7.4.330.0030.00317.21
7.4.320.0030.00316.47
7.4.300.0000.00616.45
7.4.290.0000.00816.55
7.4.280.0000.00816.63
7.4.270.0000.00716.66
7.4.260.0000.00816.63
7.4.250.0080.00016.68
7.4.240.0050.00316.60
7.4.230.0070.00016.72
7.4.220.0090.00916.63
7.4.210.0100.00516.62
7.4.200.0040.00416.55
7.4.190.0040.00416.78
7.4.160.0160.00616.58
7.4.150.0000.01817.40
7.4.140.0100.00817.86
7.4.130.0080.00816.46
7.4.120.0120.00516.58
7.4.110.0170.00616.61
7.4.100.0100.00716.58
7.4.90.0100.01316.63
7.4.80.0140.00719.39
7.4.70.0070.01716.54
7.4.60.0070.01016.46
7.4.50.0020.00216.44
7.4.40.0110.01122.77
7.4.30.0080.01216.48
7.4.10.0060.01215.04
7.4.00.0070.01114.97
7.3.330.0000.00513.23
7.3.320.0000.00513.38
7.3.310.0030.00316.39
7.3.300.0000.00716.27
7.3.290.0060.01316.39
7.3.280.0090.00616.42
7.3.270.0070.01017.40
7.3.260.0140.00316.48
7.3.250.0090.00916.45
7.3.240.0070.01016.43
7.3.230.0100.00716.39
7.3.210.0090.00916.66
7.3.200.0080.00819.39
7.3.190.0060.01116.52
7.3.180.0130.00316.69
7.3.170.0130.00616.57
7.3.160.0080.01216.63
7.3.130.0000.01814.89
7.3.120.0080.01014.86
7.3.110.0030.01714.82
7.3.100.0000.01414.61
7.3.90.0000.01514.96
7.3.80.0030.00614.88
7.3.70.0000.01515.03
7.3.60.0070.00714.93
7.3.50.0040.00714.94
7.3.40.0130.00314.91
7.3.30.0100.01015.03
7.3.20.0090.00618.69
7.3.10.0140.00018.71
7.3.00.0080.00818.77
7.2.330.0030.01416.56
7.2.320.0100.01016.82
7.2.310.0070.01116.76
7.2.300.0130.00316.92
7.2.290.0000.01616.73
7.2.260.0100.01015.41
7.2.250.0030.01715.14
7.2.240.0070.00715.37
7.2.230.0060.00915.17
7.2.220.0120.00615.03
7.2.210.0090.00614.69
7.2.200.0040.01515.20
7.2.190.0080.00814.98
7.2.180.0100.00315.12
7.2.170.0030.01314.80
7.2.160.0000.01915.18
7.2.150.0000.01718.69
7.2.140.0040.01118.87
7.2.130.0070.01018.63
7.2.120.0080.01218.90
7.2.110.0060.00919.02
7.2.100.0100.00618.82
7.2.90.0030.01419.01
7.2.80.0040.00818.95
7.2.70.0070.00718.84
7.2.60.0000.01818.82
7.2.50.0040.01219.00
7.2.40.0080.00819.03
7.2.30.0090.00618.98
7.2.20.0030.01218.93
7.2.10.0070.01118.99
7.2.00.0030.01020.24
7.1.330.0040.00717.75
7.1.320.0100.00617.57
7.1.310.0110.00417.84
7.1.300.0100.00317.60
7.1.290.0000.00817.64
7.1.280.0040.01217.70
7.1.270.0060.01217.75
7.1.260.0040.00818.02
7.1.250.0030.01617.52
7.1.240.0040.00717.53
7.1.230.0070.00717.71
7.1.220.0000.01317.66
7.1.210.0070.00717.94
7.1.200.0060.00317.85
7.1.190.0090.00317.74
7.1.180.0100.00717.53
7.1.170.0070.00717.90
7.1.160.0060.00917.76
7.1.150.0070.01017.45
7.1.140.0090.00017.78
7.1.130.0070.00717.80
7.1.120.0060.00817.90
7.1.110.0050.00517.93
7.1.100.0060.00819.06
7.1.90.0000.00917.83
7.1.80.0040.01117.86
7.1.70.0060.00618.26
7.1.60.0040.01018.33
7.1.50.0110.00818.23
7.1.40.0080.00817.88
7.1.30.0060.00317.48
7.1.20.0040.01117.87
7.1.10.0090.00617.72
7.1.00.0000.04321.14
7.0.330.0120.00317.50
7.0.320.0070.00717.56
7.0.310.0090.00017.34
7.0.300.0030.01417.53
7.0.290.0060.00617.51
7.0.280.0000.01117.50
7.0.270.0000.00917.57
7.0.260.0030.00717.58
7.0.250.0030.01017.59
7.0.240.0000.01617.27
7.0.230.0060.00617.58
7.0.220.0070.01017.67
7.0.210.0040.01217.34
7.0.200.0070.00818.29
7.0.190.0030.01417.50
7.0.180.0060.00617.74
7.0.170.0060.00917.62
7.0.160.0060.00617.45
7.0.150.0050.00517.26
7.0.140.0060.03820.74
7.0.130.0030.01317.49
7.0.120.0090.00017.61
7.0.110.0000.00917.41
7.0.100.0130.00017.51
7.0.90.0040.01117.66
7.0.80.0060.00317.45
7.0.70.0050.00517.67
7.0.60.0080.02318.68
7.0.50.0050.04517.79
7.0.40.0070.02617.86
7.0.30.0200.04317.83
7.0.20.0150.02317.91
7.0.10.0150.03717.90
7.0.00.0100.03317.74
5.6.400.0040.00414.25
5.6.390.0090.00614.66
5.6.380.0100.00314.39
5.6.370.0090.00014.71
5.6.360.0090.00614.50
5.6.350.0000.01414.73
5.6.340.0070.00714.27
5.6.330.0070.00714.70
5.6.320.0090.00614.53
5.6.310.0070.00714.37
5.6.300.0000.00814.39
5.6.290.0030.01014.51
5.6.280.0060.03817.76
5.6.270.0090.00014.71
5.6.260.0030.00914.30
5.6.250.0070.00714.39
5.6.240.0110.00314.23
5.6.230.0130.00314.16
5.6.220.0090.00614.47
5.6.210.0000.05217.40
5.6.200.0060.03116.37
5.6.190.0060.02517.31
5.6.180.2120.02717.59
5.6.170.0070.03017.50
5.6.160.0030.04117.38
5.6.150.0030.04316.30
5.6.140.0100.03816.33
5.6.130.0030.04316.20
5.6.120.0130.04117.68
5.6.110.0070.04517.62
5.6.100.0080.04617.57
5.6.90.0090.04217.66
5.6.80.0040.02417.31
5.6.70.0190.03317.26
5.6.60.0070.00714.45
5.6.50.0000.00914.30
5.6.40.0090.00614.17
5.6.30.0000.01014.39
5.6.20.0070.00714.39
5.6.10.0000.01514.13
5.6.00.0030.01214.56
5.5.380.0070.01014.40
5.5.370.0080.00814.29
5.5.360.0000.01614.42
5.5.350.0100.03417.43
5.5.340.0050.05016.08
5.5.330.0050.04817.29
5.5.320.0150.02917.46
5.5.310.0180.02017.33
5.5.300.0050.02815.98
5.5.290.0060.04616.26
5.5.280.0130.04417.71
5.5.270.0050.04217.46
5.5.260.0050.03617.67
5.5.250.0100.03917.49
5.5.240.0060.04017.16
5.5.230.0050.01414.22
5.5.220.0060.01214.14
5.5.210.0130.00614.46
5.5.200.0100.01014.31
5.5.190.0070.01014.26
5.5.180.0060.00814.29
5.5.170.0000.01614.34
5.5.160.0090.00914.43
5.5.150.0080.00814.30
5.5.140.0050.01414.05
5.5.130.0140.00513.95
5.5.120.0090.01213.89
5.5.110.0070.01013.85
5.5.100.0130.00713.70
5.5.90.0050.01214.11
5.5.80.0120.00614.18
5.5.70.0110.00813.64
5.5.60.0030.01214.05
5.5.50.0000.01414.00
5.5.40.0070.00714.16
5.5.30.0090.00014.18
5.5.20.0000.01214.07
5.5.10.0100.00714.23
5.5.00.0110.00614.20
5.4.450.0410.03515.19
5.4.440.0300.03515.16
5.4.430.0200.03315.41
5.4.420.0320.03215.16
5.4.410.0270.02815.13
5.4.400.0420.00714.93
5.4.390.0480.00314.94
5.4.380.0150.03214.70
5.4.370.0200.02614.93
5.4.360.0170.03314.77
5.4.350.0120.03214.80
5.4.340.0080.03014.72
5.4.330.0050.00810.86
5.4.320.0070.02111.77
5.4.310.0050.02511.66
5.4.300.0050.02111.74
5.4.290.0060.02511.85
5.4.280.0040.02311.61
5.4.270.0060.02711.69
5.4.260.0030.02911.62
5.4.250.0100.02011.61
5.4.240.0070.02511.62
5.4.230.0070.02411.79
5.4.220.0080.02211.66
5.4.210.0060.02111.85
5.4.200.0060.02211.87
5.4.190.0050.03215.07
5.4.180.0080.02814.97
5.4.170.0080.02914.84
5.4.160.0110.02714.80
5.4.150.0050.03014.98
5.4.140.0060.02913.67
5.4.130.0050.03213.79
5.4.120.0110.02213.62
5.4.110.0130.03413.81
5.4.100.0070.02613.66
5.4.90.0050.02813.91
5.4.80.0050.03913.84
5.4.70.0070.02513.80
5.4.60.0070.03013.84
5.4.50.0030.02813.64
5.4.40.0110.02513.73
5.4.30.0020.03213.85
5.4.20.0100.02513.77
5.4.10.0050.03113.77
5.4.00.0000.03013.42
5.3.290.0050.02311.79
5.3.280.0070.02211.75
5.3.270.0080.03112.65
5.3.260.0030.03112.71
5.3.250.0090.02512.79
5.3.240.0090.03212.82
5.3.230.0030.03112.65
5.3.220.0050.03812.69
5.3.210.0080.04012.63
5.3.200.0080.02612.75
5.3.190.0080.02712.73
5.3.180.0110.02112.68
5.3.170.0080.03712.60
5.3.160.0070.02512.77
5.3.150.0030.04212.67
5.3.140.0060.02612.63
5.3.130.0040.02812.72
5.3.120.0050.02812.66
5.3.110.0060.02812.71
5.3.100.0050.02812.52
5.3.90.0060.03812.41
5.3.80.0080.03212.36
5.3.70.0090.02512.45
5.3.60.0050.03612.35
5.3.50.0080.03112.32
5.3.40.0100.03312.44
5.3.30.0050.02812.40
5.3.20.0120.03212.29
5.3.10.0030.02912.26
5.3.00.0070.02712.26
5.2.170.0200.04011.16
5.2.160.0030.04311.25
5.2.150.0070.04011.27
5.2.140.0170.03311.26
5.2.130.0000.05711.13
5.2.120.0030.04311.22
5.2.110.0070.04011.20
5.2.100.0000.04711.19
5.2.90.0000.06011.22
5.2.80.0170.05011.29
5.2.70.0130.05311.36
5.2.60.0070.04711.07
5.2.50.0070.03711.13
5.2.40.0100.05011.02
5.2.30.0070.03711.10
5.2.20.0030.04710.98
5.2.10.0000.04710.98
5.2.00.0070.03710.58
5.1.60.0070.03010.09
5.1.50.0030.04010.01
5.1.40.0100.0379.97
5.1.30.0100.03310.51
5.1.20.0030.05310.42
5.1.10.0030.04010.14
5.1.00.0070.03010.14
5.0.50.0000.0378.61
5.0.40.0000.0378.47
5.0.30.0000.0538.22
5.0.20.0000.0308.20
5.0.10.0030.0378.32
5.0.00.0030.0438.14
4.4.90.0000.0236.70
4.4.80.0030.0306.70
4.4.70.0000.0276.70
4.4.60.0000.0236.70
4.4.50.0000.0236.70
4.4.40.0030.0336.70
4.4.30.0030.0206.70
4.4.20.0070.0176.70
4.4.10.0000.0236.70
4.4.00.0000.0336.70
4.3.110.0070.0176.70
4.3.100.0000.0306.70
4.3.90.0030.0206.70
4.3.80.0100.0276.70
4.3.70.0030.0206.70
4.3.60.0100.0106.70
4.3.50.0030.0236.70
4.3.40.0000.0336.70
4.3.30.0070.0176.70
4.3.20.0000.0276.70
4.3.10.0000.0236.70
4.3.00.0070.0236.90

preferences:
45.32 ms | 401 KiB | 5 Q