3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (exif_imagetype('image.gif') != IMAGETYPE_GIF) { echo 'The picture is not a gif'; } ?>

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.70.0060.01016.75
8.3.60.0140.00718.31
8.3.50.0160.00422.04
8.3.40.0120.00318.79
8.3.30.0100.00318.58
8.3.20.0070.00020.20
8.3.10.0080.00020.53
8.3.00.0040.00421.73
8.2.180.0070.01116.50
8.2.170.0180.00322.96
8.2.160.0070.01022.32
8.2.150.0080.00024.18
8.2.140.0070.00024.66
8.2.130.0050.00321.00
8.2.120.0040.00426.35
8.2.110.0060.00319.30
8.2.100.0040.00817.80
8.2.90.0040.00419.09
8.2.80.0060.00317.97
8.2.70.0000.00917.50
8.2.60.0040.00417.93
8.2.50.0040.00418.09
8.2.40.0000.00920.40
8.2.30.0000.00819.37
8.2.20.0040.00417.66
8.2.10.0040.00417.90
8.2.00.0040.00417.96
8.1.280.0140.00725.92
8.1.270.0070.00722.14
8.1.260.0040.00428.09
8.1.250.0000.00728.09
8.1.240.0000.00922.53
8.1.230.0040.00717.76
8.1.220.0030.00517.74
8.1.210.0040.00418.77
8.1.200.0040.00417.23
8.1.190.0000.00817.10
8.1.180.0080.00018.10
8.1.170.0030.00518.50
8.1.160.0050.00320.48
8.1.150.0070.00020.51
8.1.140.0000.00819.36
8.1.130.0080.00017.48
8.1.120.0030.00317.38
8.1.110.0000.00717.36
8.1.100.0000.00717.32
8.1.90.0000.00817.20
8.1.80.0000.00717.37
8.1.70.0030.00317.23
8.1.60.0070.00017.44
8.1.50.0040.00417.41
8.1.40.0000.00917.48
8.1.30.0000.00817.56
8.1.20.0070.00017.32
8.1.10.0030.00517.50
8.1.00.0040.00417.29
8.0.300.0040.00418.77
8.0.290.0000.00816.75
8.0.280.0000.00718.31
8.0.270.0030.00317.23
8.0.260.0070.00017.25
8.0.250.0000.00716.82
8.0.240.0040.00416.98
8.0.230.0020.00516.85
8.0.220.0000.00816.91
8.0.210.0040.00416.79
8.0.200.0060.00316.82
8.0.190.0040.00416.95
8.0.180.0070.00316.79
8.0.170.0040.00416.84
8.0.160.0040.00316.86
8.0.150.0040.00316.87
8.0.140.0030.00616.76
8.0.130.0000.00613.29
8.0.120.0030.00516.80
8.0.110.0040.00416.78
8.0.100.0070.00016.66
8.0.90.0000.00716.71
8.0.80.0060.00816.92
8.0.70.0000.00716.81
8.0.60.0040.00416.83
8.0.50.0000.00716.79
8.0.30.0120.00817.04
8.0.20.0100.01117.40
8.0.10.0000.00717.00
8.0.00.0070.01016.69
7.4.330.0000.00516.84
7.4.320.0030.00316.39
7.4.300.0030.00316.34
7.4.290.0000.01116.50
7.4.280.0000.00816.43
7.4.270.0040.00416.36
7.4.260.0080.00016.32
7.4.250.0030.00316.31
7.4.240.0000.00716.44
7.4.230.0030.00316.33
7.4.220.0130.01616.55
7.4.210.0070.00716.48
7.4.200.0030.00616.36
7.4.160.0060.00916.45
7.4.150.0060.01817.40
7.4.140.0150.00317.86
7.4.130.0040.01516.44
7.4.120.0090.00916.44
7.4.110.0100.01016.44
7.4.100.0150.00816.69
7.4.90.0060.01016.52
7.4.80.0030.01419.39
7.4.70.0060.01616.65
7.4.60.0100.00716.51
7.4.50.0060.00916.49
7.4.40.0150.00316.24
7.4.30.0130.00316.45
7.4.00.0070.01014.97
7.3.330.0000.00513.19
7.3.320.0060.00013.01
7.3.310.0030.00316.31
7.3.300.0030.00316.24
7.3.290.0090.00716.27
7.3.280.0080.00716.28
7.3.270.0120.00917.40
7.3.260.0100.00716.45
7.3.250.0070.01016.17
7.3.240.0120.00816.47
7.3.230.0070.01016.41
7.3.210.0100.00716.27
7.3.200.0100.00716.43
7.3.190.0060.00916.41
7.3.180.0030.01616.25
7.3.170.0070.01016.32
7.3.160.0040.01316.27
7.3.120.0100.00714.87
7.3.110.0040.00814.85
7.3.100.0060.00614.64
7.3.90.0060.00914.77
7.3.80.0070.01014.85
7.3.70.0040.01114.83
7.3.60.0100.00714.71
7.3.50.0110.00014.84
7.3.40.0060.00614.82
7.3.30.0070.00714.57
7.3.20.0120.00316.59
7.3.10.0030.01016.45
7.3.00.0020.01116.58
7.2.330.0100.01416.42
7.2.320.0100.01416.36
7.2.310.0060.01216.49
7.2.300.0030.01316.62
7.2.290.0080.00816.54
7.2.240.0070.00414.98
7.2.230.0000.01715.00
7.2.220.0100.00714.80
7.2.210.0030.00914.57
7.2.200.0040.01214.80
7.2.190.0000.01215.00
7.2.180.0060.00914.59
7.2.170.0110.00314.66
7.2.160.0070.01014.77
7.2.150.0030.01016.51
7.2.140.0100.00716.56
7.2.130.0040.00916.82
7.2.120.0060.00616.69
7.2.110.0160.00816.59
7.2.100.0070.01016.61
7.2.90.0080.00916.82
7.2.80.0070.00816.70
7.2.70.0120.00716.66
7.2.60.0030.01216.75
7.2.50.0090.00516.87
7.2.40.0030.00916.66
7.2.30.0080.00616.71
7.2.20.0110.00616.63
7.2.10.0070.00916.78
7.2.00.0070.00817.45
7.1.330.0030.01415.49
7.1.320.0100.00715.37
7.1.310.0060.00615.47
7.1.300.0030.01215.63
7.1.290.0060.00915.70
7.1.280.0070.00715.68
7.1.270.0060.01015.68
7.1.260.0040.01115.78
7.1.250.0020.01315.68
7.1.200.0030.00915.75
7.1.100.0150.00418.01
7.1.70.0000.00916.90
7.1.60.0070.01819.19
7.1.50.0130.00916.93
7.1.00.0130.06722.27
7.0.200.0380.00314.85
7.0.60.0200.03320.01
7.0.50.0100.07317.83
7.0.40.0130.08320.40
7.0.30.0300.04720.17
7.0.20.0270.08020.18
7.0.10.0000.05320.09
7.0.00.0000.04720.16
5.6.280.0030.07321.07
5.6.210.0030.07020.70
5.6.200.0030.07718.12
5.6.190.0130.04720.43
5.6.180.0230.04020.41
5.6.170.0500.05320.41
5.6.160.0070.04020.51
5.6.150.0030.08318.21
5.6.140.0130.06718.18
5.6.130.0030.04718.16
5.6.120.0130.07720.98
5.6.110.0130.08021.02
5.6.100.0100.07320.88
5.6.90.0130.07721.02
5.6.80.0030.04020.57
5.5.350.0330.07020.28
5.5.340.0070.08317.92
5.5.330.0030.05720.43
5.5.320.0300.07720.13
5.5.310.0330.04720.31
5.5.300.0070.05717.91
5.5.290.0030.04317.91
5.5.280.0070.08320.76
5.5.270.0070.03720.88
5.5.260.0170.06320.87
5.5.250.0070.07320.68
5.5.240.0030.08020.15

preferences:
61.43 ms | 401 KiB | 5 Q