3v4l.org

run code in 300+ PHP versions simultaneously
<?php if(@!is_array(getimagesize('http://webimg.makegameserver.com/blog/usrUplds/ap-4e84a9810e7cd4474cf8bf2273d3a744.png'))) { header('Content-type: image/png'); echo file_get_contents('http://webimg.makegameserver.com/blog/usrUplds/ap-4e84a9810e7cd4474cf8bf2273d3a744.png'); } else echo 'error, file is not a valid image.';

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.40.0110.00418.95
8.3.30.0070.00718.95
8.3.20.0000.00820.66
8.3.10.0030.00523.98
8.3.00.0090.00023.89
8.2.170.0070.00722.96
8.2.160.0130.00320.65
8.2.150.0040.00424.18
8.2.140.0030.00524.66
8.2.130.0080.00019.96
8.2.120.0080.00026.35
8.2.110.0030.00622.32
8.2.100.0080.00418.05
8.2.90.0000.00819.43
8.2.80.0050.00318.05
8.2.70.0040.00417.75
8.2.60.0000.00818.05
8.2.50.0000.00818.07
8.2.40.0000.00922.39
8.2.30.0000.00719.49
8.2.20.0030.00517.83
8.2.10.0030.00518.18
8.2.00.0040.00418.19
8.1.270.0000.00820.45
8.1.260.0040.00428.09
8.1.250.0000.00828.09
8.1.240.0040.00424.22
8.1.230.0080.00419.41
8.1.220.0000.00817.77
8.1.210.0060.00318.77
8.1.200.0000.01017.48
8.1.190.0050.00317.38
8.1.180.0050.00318.10
8.1.170.0050.00318.80
8.1.160.0040.00420.96
8.1.150.0040.00419.00
8.1.140.0000.00819.72
8.1.130.0030.00317.88
8.1.120.0000.00717.43
8.1.110.0090.00017.65
8.1.100.0040.00417.52
8.1.90.0040.00417.52
8.1.80.0040.00417.52
8.1.70.0040.00417.49
8.1.60.0090.00017.53
8.1.50.0030.00617.48
8.1.40.0040.00417.60
8.1.30.0030.00517.74
8.1.20.0030.00517.76
8.1.10.0040.00417.72
8.1.00.0040.00417.49
8.0.300.0000.00718.77
8.0.290.0040.00417.00
8.0.280.0030.00318.71
8.0.270.0070.00017.46
8.0.260.0000.00817.47
8.0.250.0080.00017.17
8.0.240.0000.00717.04
8.0.230.0050.00217.10
8.0.220.0000.00717.09
8.0.210.0000.00717.17
8.0.200.0050.00217.15
8.0.190.0040.00417.12
8.0.180.0000.00717.14
8.0.170.0040.00417.20
8.0.160.0000.00717.14
8.0.150.0070.00017.00
8.0.140.0000.00716.94
8.0.130.0000.00513.68
8.0.120.0000.00817.25
8.0.110.0080.00017.30
8.0.100.0040.00417.30
8.0.90.0000.00817.23
8.0.80.0000.01617.16
8.0.70.0080.00017.19
8.0.60.0000.00817.11
8.0.50.0030.00517.15
8.0.30.0100.00817.32
8.0.20.0140.00717.42
8.0.10.0080.00017.29
8.0.00.0120.01116.90
7.4.330.0050.00017.03
7.4.320.0090.00016.77
7.4.300.0000.00916.62
7.4.290.0000.00716.79
7.4.280.0000.00916.66
7.4.270.0040.00416.57
7.4.260.0070.00316.65
7.4.250.0030.00616.71
7.4.240.0040.00416.74
7.4.230.0040.00416.59
7.4.220.0030.01516.83
7.4.210.0080.00816.73
7.4.200.0070.00016.48
7.4.160.0120.00316.75
7.4.150.0130.00617.40
7.4.140.0090.01017.86
7.4.130.0120.01016.71
7.4.120.0080.01116.70
7.4.110.0130.00716.61
7.4.100.0190.00016.60
7.4.90.0120.00616.63
7.4.80.0070.01619.39
7.4.70.0170.00716.58
7.4.60.0030.01416.79
7.4.50.0090.00316.54
7.4.40.0000.01616.41
7.4.30.0120.00616.70
7.4.00.0070.01015.05
7.3.330.0000.00713.27
7.3.320.0000.00713.31
7.3.310.0000.00816.37
7.3.300.0050.00216.33
7.3.290.0070.01116.49
7.3.280.0070.01116.54
7.3.270.0130.00617.40
7.3.260.0070.01016.43
7.3.250.0150.00416.43
7.3.240.0160.00516.45
7.3.230.0080.01416.61
7.3.210.0060.01216.50
7.3.200.0070.01819.39
7.3.190.0100.00716.58
7.3.180.0130.00316.66
7.3.170.0150.00616.48
7.3.160.0040.01216.56
7.3.120.0070.01114.90
7.3.110.0130.00614.73
7.3.100.0100.00715.12
7.3.90.0070.01114.79
7.3.80.0060.01514.96
7.3.70.0060.00915.11
7.3.60.0030.00915.07
7.3.50.0090.00614.94
7.3.40.0060.00714.74
7.3.30.0060.00314.70
7.3.20.0040.01116.57
7.3.10.0070.00716.56
7.3.00.0000.01416.90
7.2.330.0210.00016.88
7.2.320.0030.01316.88
7.2.310.0100.00716.75
7.2.300.0170.00616.61
7.2.290.0080.00816.90
7.2.250.0060.01315.38
7.2.240.0130.00715.21
7.2.230.0070.01115.26
7.2.220.0000.01015.20
7.2.210.0110.00615.35
7.2.200.0120.00315.21
7.2.190.0070.00714.99
7.2.180.0090.00615.34
7.2.170.0030.00714.90
7.2.160.0060.00915.02
7.2.150.0060.00317.07
7.2.140.0090.00916.85
7.2.130.0110.00717.12
7.2.120.0090.00317.04
7.2.110.0080.00617.12
7.2.100.0120.00617.03
7.2.90.0090.00617.22
7.2.80.0080.00416.77
7.2.70.0030.01016.86
7.2.60.0070.00816.94
7.2.50.0030.00716.88
7.2.40.0000.01217.11
7.2.30.0000.01217.12
7.2.20.0000.01617.19
7.2.10.0100.00717.30
7.2.00.0060.00618.44
7.1.330.0100.00715.97
7.1.320.0070.00716.02
7.1.310.0040.01215.83
7.1.300.0060.00915.78
7.1.290.0100.00715.95
7.1.280.0060.00615.91
7.1.270.0110.00415.97
7.1.260.0060.00915.91
7.1.250.0000.01516.14
7.1.240.0090.00315.80
7.1.230.0060.00915.68
7.1.220.0030.01015.90
7.1.210.0060.01015.98
7.1.200.0040.00615.90
7.1.190.0030.01216.00
7.1.180.0150.00016.00
7.1.170.0070.00715.86
7.1.160.0070.00715.93
7.1.150.0000.01615.86
7.1.140.0030.01315.96
7.1.130.0030.00715.61
7.1.120.0000.01416.08
7.1.110.0120.00016.10
7.1.100.0060.00717.16
7.1.90.0050.00515.90
7.1.80.0060.00815.87
7.1.70.0020.01116.60
7.1.60.0030.01717.53
7.1.50.0030.00816.47
7.1.40.0080.00815.68
7.1.30.0030.00615.87
7.1.20.0070.00715.72
7.1.10.0000.01516.10
7.1.00.0080.04019.19
7.0.330.0070.00715.60
7.0.320.0030.00815.70
7.0.310.0070.00715.43
7.0.300.0000.01115.66
7.0.290.0060.00615.67
7.0.280.0000.01315.36
7.0.270.0040.01015.56
7.0.260.0000.01315.77
7.0.250.0040.01115.62
7.0.240.0080.00615.77
7.0.230.0060.00315.79
7.0.220.0080.00615.56
7.0.210.0090.00615.66
7.0.200.0020.00816.26
7.0.190.0100.00715.59
7.0.180.0030.01015.71
7.0.170.0030.01315.71
7.0.160.0100.00715.54
7.0.150.0130.00315.48
7.0.140.0060.00315.59
7.0.130.0060.00915.50
7.0.120.0070.00715.41
7.0.110.0070.00715.30
7.0.100.0030.00715.32
7.0.90.0030.01015.71
7.0.80.0090.00315.70
7.0.70.0070.00315.36
7.0.60.0070.04718.96
7.0.50.0080.04316.83
7.0.40.0020.05217.11
7.0.30.0170.04517.19
7.0.20.0180.04517.16
7.0.10.0060.02516.95
7.0.00.0070.04016.93
5.6.400.0030.01014.58
5.6.390.0080.00414.19
5.6.380.0130.00714.31
5.6.370.0060.00614.41
5.6.360.0080.00814.65
5.6.350.0070.00714.46
5.6.340.0030.01014.70
5.6.330.0000.01414.49
5.6.320.0070.01014.72
5.6.310.0090.00614.73
5.6.300.0040.01514.51
5.6.290.0040.01114.50
5.6.280.0100.03317.96
5.6.270.0110.00714.76
5.6.260.0040.00714.79
5.6.250.0040.01214.57
5.6.240.0000.01614.38
5.6.230.0060.00914.31
5.6.220.0000.01114.50
5.6.210.0110.02617.83
5.6.200.0140.02316.52
5.6.190.0050.05017.80
5.6.180.0230.02417.85
5.6.170.0190.02217.68
5.6.160.0030.02717.63
5.6.150.0060.04616.56
5.6.140.0080.03016.56
5.6.130.0020.03316.41
5.6.120.0080.02618.01
5.6.110.0090.04217.81
5.6.100.0090.04518.06
5.6.90.0050.05117.95
5.6.80.0130.03517.61
5.6.70.0060.00614.60
5.6.60.0030.01014.73
5.6.50.0060.01214.41
5.6.40.0140.00014.55
5.6.30.0110.00614.22
5.6.20.0000.01414.54
5.6.10.0070.00714.55
5.6.00.0090.00614.26
5.5.380.0090.00614.52
5.5.370.0060.00914.13
5.5.360.0030.00914.61
5.5.350.0050.04017.55
5.5.340.0030.03816.46
5.5.330.0070.02217.48
5.5.320.0320.03317.50
5.5.310.0080.02517.38
5.5.300.0040.02916.55
5.5.290.0060.04116.37
5.5.280.0030.02317.94
5.5.270.0090.02217.92
5.5.260.0070.04317.79
5.5.250.0050.02817.46
5.5.240.0080.02917.41
5.5.230.0070.00714.32
5.5.220.0000.01414.31
5.5.210.0030.01414.13
5.5.200.0070.00714.57
5.5.190.0100.00714.41
5.5.180.0030.01014.47
5.5.170.0060.00914.39
5.5.160.0120.00314.45
5.5.150.0170.00014.54
5.5.140.0070.00314.45
5.5.130.0080.00414.38
5.5.120.0000.01614.07
5.5.110.0100.01014.52
5.5.100.0060.01014.60
5.5.90.0100.00714.34
5.5.80.0070.00314.69
5.5.70.0040.01114.23
5.5.60.0100.00714.37
5.5.50.0030.01314.11
5.5.40.0070.01013.88
5.5.30.0130.00314.38
5.5.20.0060.00314.50
5.5.10.0080.00814.45
5.5.00.0000.01614.32

preferences:
45.33 ms | 400 KiB | 5 Q