3v4l.org

run code in 300+ PHP versions simultaneously
<?php $reply_v = json_decode('{"ok":true,"image":"614410023999338.jpg"}', true); if($reply_v['ok'] != 0 || $reply_v['image'] != "614410023999338.jpg") { throw new Exception("Image upload failed: ".$reply); }

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.0110.00416.73
8.3.50.0120.00921.95
8.3.40.0140.00418.76
8.3.30.0200.00019.16
8.3.20.0040.00420.34
8.3.10.0080.00023.56
8.3.00.0060.00320.94
8.2.180.0040.01116.75
8.2.170.0090.00622.96
8.2.160.0030.01020.49
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0080.00020.79
8.2.110.0060.00321.04
8.2.100.0080.00419.21
8.2.90.0030.00519.14
8.2.80.0050.00317.97
8.2.70.0060.00317.75
8.2.60.0040.00418.03
8.2.50.0030.00518.10
8.2.40.0030.00620.07
8.2.30.0050.00218.32
8.2.20.0050.00317.74
8.2.10.0000.00818.07
8.2.00.0020.00517.80
8.1.280.0140.00725.92
8.1.270.0080.00023.99
8.1.260.0080.00026.35
8.1.250.0050.00328.09
8.1.240.0090.00022.02
8.1.230.0090.00321.04
8.1.220.0000.00817.76
8.1.210.0050.00318.77
8.1.200.0050.00517.48
8.1.190.0080.00017.25
8.1.180.0030.00618.10
8.1.170.0040.00418.46
8.1.160.0040.00422.15
8.1.150.0000.00718.69
8.1.140.0040.00417.47
8.1.130.0030.00317.87
8.1.120.0030.00317.47
8.1.110.0070.00017.49
8.1.100.0050.00217.50
8.1.90.0000.00717.52
8.1.80.0000.00717.51
8.1.70.0030.00317.44
8.1.60.0050.00317.56
8.1.50.0000.00717.45
8.1.40.0080.00017.45
8.1.30.0060.00317.70
8.1.20.0050.00317.66
8.1.10.0080.00017.61
8.1.00.0050.00317.57
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0030.00318.33
8.0.270.0000.00717.18
8.0.260.0000.00617.26
8.0.250.0030.00317.01
8.0.240.0080.00016.93
8.0.230.0070.00016.87
8.0.220.0000.00716.83
8.0.210.0040.00416.89
8.0.200.0060.00017.03
8.0.190.0000.00716.91
8.0.180.0040.00416.98
8.0.170.0040.00416.94
8.0.160.0000.00717.09
8.0.150.0030.00616.94
8.0.140.0030.00516.96
8.0.130.0030.00613.38
8.0.120.0000.00816.88
8.0.110.0040.00416.90
8.0.100.0050.00216.77
8.0.90.0000.00816.95
8.0.80.0040.01116.92
8.0.70.0040.00416.86
8.0.60.0040.00416.75
8.0.50.0000.00716.97
8.0.30.0110.01017.13
8.0.20.0100.01017.40
8.0.10.0050.00217.20
8.0.00.0120.00617.02
7.4.330.0000.00615.22
7.4.320.0030.00316.50
7.4.300.0000.00716.67
7.4.290.0030.00616.40
7.4.280.0030.00316.60
7.4.270.0030.00316.40
7.4.260.0000.00716.44
7.4.250.0070.00016.49
7.4.240.0050.00316.50
7.4.230.0000.00716.41
7.4.220.0070.01016.54
7.4.210.0000.01416.70
7.4.200.0000.00716.63
7.4.160.0090.00616.26
7.4.150.0120.00617.40
7.4.140.0100.01317.86
7.4.130.0140.00716.51
7.4.120.0130.00316.52
7.4.110.0120.00916.48
7.4.100.0090.00916.57
7.4.90.0100.00716.54
7.4.80.0170.00719.39
7.4.70.0040.01316.44
7.4.60.0100.00716.49
7.4.50.0030.00316.44
7.4.40.0060.01016.69
7.4.30.0030.01316.60
7.4.00.0040.01415.11
7.3.330.0000.00813.14
7.3.320.0030.00313.30
7.3.310.0040.00416.33
7.3.300.0030.00616.44
7.3.290.0040.01416.29
7.3.280.0080.01016.33
7.3.270.0090.00917.40
7.3.260.0070.01016.32
7.3.250.0100.01016.47
7.3.240.0060.01516.48
7.3.230.0060.01616.39
7.3.210.0070.01116.42
7.3.200.0070.01419.39
7.3.190.0140.00316.33
7.3.180.0080.00816.52
7.3.170.0060.00916.40
7.3.160.0060.01016.49
7.3.120.0070.00714.78
7.2.330.0040.01416.55
7.2.320.0080.00816.75
7.2.310.0100.00716.57
7.2.300.0070.01016.69
7.2.290.0140.00316.72
7.2.60.0040.01216.86
7.2.00.0000.01319.22
7.1.200.0140.00415.35
7.1.100.0070.01117.90
7.1.70.0000.01016.80
7.1.60.0090.01519.70
7.1.50.0120.00916.58
7.1.00.0000.08022.57
7.0.200.0120.00015.00
7.0.140.0070.07021.95
7.0.60.0100.07319.95
7.0.50.0070.04717.79
7.0.40.0070.05020.08
7.0.30.0570.06720.09
7.0.20.0300.07720.09
7.0.10.0100.08020.02
7.0.00.0100.04020.01
5.6.280.0000.07721.02
5.6.210.0200.06020.53
5.6.200.0070.04018.18
5.6.190.0100.08720.52
5.6.180.0330.07320.45
5.6.170.0300.03320.43
5.6.160.0070.07020.50
5.6.150.0070.08718.21
5.6.140.0070.07718.14
5.6.130.0070.08718.17
5.6.120.0070.09020.96
5.6.110.0100.08021.09
5.6.100.0070.05021.00
5.6.90.0070.06721.00
5.6.80.0030.06320.40
5.6.70.4270.03320.37
5.5.350.0070.10020.50
5.5.340.0100.07717.95
5.5.330.0070.05320.42
5.5.320.0000.09020.30
5.5.310.0430.06320.37
5.5.300.0130.07717.98
5.5.290.0130.07717.97
5.5.280.0030.07320.86
5.5.270.0130.06720.79
5.5.260.0170.03020.87
5.5.250.0070.07320.71
5.5.240.0030.08020.18
5.4.450.0430.05028.29
5.4.440.0370.03728.28
5.4.430.0400.04028.28
5.4.420.0170.04328.28
5.4.410.0400.03728.28
5.4.400.0200.04028.28
5.4.390.0170.05027.71
5.4.380.0270.04318.78
5.4.370.0270.04318.74
5.4.360.0230.06318.75
5.4.350.0200.07018.78
5.4.340.0070.05718.59
5.4.320.0050.03812.49
5.4.310.0070.04012.49
5.4.300.0070.03612.50
5.4.290.0060.03912.49
5.4.280.0060.03712.39
5.4.270.0070.03512.39
5.4.260.0050.03812.39
5.4.250.0060.03812.39
5.4.240.0060.03612.39
5.4.230.0090.03612.38
5.4.220.0060.03812.38
5.4.210.0060.03612.38
5.4.200.0070.03612.38
5.4.190.0080.03512.38
5.4.180.0070.03512.38
5.4.170.0030.03912.39
5.4.160.0110.03812.39
5.4.150.0100.04512.38
5.4.140.0090.04712.06
5.4.130.0130.04012.05
5.4.120.0050.05112.01
5.4.110.0050.03812.00
5.4.100.0090.03612.01
5.4.90.0050.04412.00
5.4.80.0040.04112.00
5.4.70.0070.03312.00
5.4.60.0070.03412.00
5.4.50.0020.04012.00
5.4.40.0050.03511.99
5.4.30.0070.03511.98
5.4.20.0040.03611.98
5.4.10.0060.03511.98
5.4.00.0070.03511.47
5.3.290.0050.04312.80
5.3.280.0080.03612.71
5.3.270.0060.03912.72
5.3.260.0020.04412.72
5.3.250.0100.03612.72
5.3.240.0100.03512.71
5.3.230.0040.04112.71
5.3.220.0050.03912.68
5.3.210.0060.04112.68
5.3.200.0080.03612.68
5.3.190.0080.03812.67
5.3.180.0050.04012.67
5.3.170.0080.03612.67
5.3.160.0060.03612.67
5.3.150.0120.03112.68
5.3.140.0060.03612.66
5.3.130.0040.04112.66
5.3.120.0060.03912.66
5.3.110.0080.03712.66
5.3.100.0030.03912.12
5.3.90.0060.03612.09
5.3.80.0070.03412.09
5.3.70.0060.03512.09
5.3.60.0050.03612.07
5.3.50.0070.03412.02
5.3.40.0070.03512.02
5.3.30.0060.03811.98
5.3.20.0050.03611.77
5.3.10.0060.03511.72
5.3.00.0050.03711.71
5.2.170.0070.0289.21
5.2.160.0050.0329.21
5.2.150.0080.0289.21
5.2.140.0040.0319.21
5.2.130.0050.0299.17
5.2.120.0060.0279.17
5.2.110.0070.0279.18
5.2.100.0060.0279.18
5.2.90.0100.0259.18
5.2.80.0070.0419.17
5.2.70.0040.0339.17
5.2.60.0030.0339.12
5.2.50.0070.0289.09
5.2.40.0060.0289.07
5.2.30.0070.0389.04
5.2.20.0100.0339.04
5.2.10.0100.0328.94
5.2.00.0080.0368.80
5.1.60.0020.0318.06
5.1.50.0060.0238.06
5.1.40.0060.0248.05
5.1.30.0050.0258.39
5.1.20.0030.0288.41
5.1.10.0080.0258.14
5.1.00.0090.0288.14
5.0.50.0040.0226.62
5.0.40.0040.0196.48
5.0.30.0040.0326.29
5.0.20.0050.0186.27
5.0.10.0050.0266.24
5.0.00.0080.0266.23
4.4.90.0040.0154.78
4.4.80.0030.0154.76
4.4.70.0040.0154.76
4.4.60.0020.0164.76
4.4.50.0020.0174.77
4.4.40.0050.0244.71
4.4.30.0050.0154.76
4.4.20.0040.0154.84
4.4.10.0010.0194.85
4.4.00.0040.0244.76
4.3.110.0040.0144.66
4.3.100.0020.0164.67
4.3.90.0030.0154.63
4.3.80.0060.0224.59
4.3.70.0050.0124.63
4.3.60.0030.0144.63
4.3.50.0010.0174.63
4.3.40.0050.0214.53
4.3.30.0010.0173.29
4.3.20.0040.0163.26
4.3.10.0020.0163.23
4.3.00.0100.01327.55

preferences:
29.43 ms | 401 KiB | 5 Q