3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a='#!env python # -*- coding:utf-8 -*- from serial import Serial from sys import exit '; $finfo = new finfo(FILEINFO_MIME_TYPE); echo $finfo->buffer($a) . "\n"; ?>

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.0150.00924.18
8.3.50.0180.00723.80
8.3.40.0100.00724.52
8.3.30.0130.00324.52
8.3.20.0030.00625.14
8.3.10.0060.00626.19
8.3.00.0040.00427.97
8.2.180.0080.01621.75
8.2.170.0220.00324.21
8.2.160.0080.01126.76
8.2.150.0090.00024.18
8.2.140.0030.00626.01
8.2.130.0100.00025.86
8.2.120.0000.00826.95
8.2.110.0000.01125.74
8.2.100.0040.01223.09
8.2.90.0030.00624.35
8.2.80.0030.00623.00
8.2.70.0060.00322.75
8.2.60.0070.00323.18
8.2.50.0090.00023.00
8.2.40.0030.00825.01
8.2.30.0090.00524.68
8.2.20.0070.00723.09
8.2.10.0000.00923.41
8.2.00.0000.00923.23
8.1.280.0130.00325.92
8.1.270.0060.00326.19
8.1.260.0030.00628.09
8.1.250.0040.00428.09
8.1.240.0080.00427.97
8.1.230.0090.00922.85
8.1.220.0030.00622.91
8.1.210.0030.00622.61
8.1.200.0110.00522.38
8.1.190.0000.00922.73
8.1.180.0060.00322.73
8.1.170.0120.00322.83
8.1.160.0070.00325.61
8.1.150.0040.00826.00
8.1.140.0000.01124.52
8.1.130.0030.00623.01
8.1.120.0000.00822.77
8.1.110.0060.00322.60
8.1.100.0040.00422.78
8.1.90.0070.00422.80
8.1.80.0060.00622.64
8.1.70.0030.00522.77
8.1.60.0050.00922.87
8.1.50.0080.00522.83
8.1.40.0070.01122.69
8.1.30.0120.00422.97
8.1.20.0090.00022.83
8.1.10.0060.00922.86
8.1.00.0070.00722.89
8.0.300.0030.00721.72
8.0.290.0050.01021.75
8.0.280.0050.00323.38
8.0.270.0070.00422.25
8.0.260.0090.00022.26
8.0.250.0080.00322.07
8.0.240.0040.00822.08
8.0.230.0080.00021.98
8.0.220.0070.00522.07
8.0.210.0030.00722.01
8.0.200.0030.00721.96
8.0.190.0060.00621.98
8.0.180.0060.00622.02
8.0.170.0030.00921.97
8.0.160.0030.00821.98
8.0.150.0080.00421.88
8.0.140.0060.00621.86
8.0.130.0050.00518.41
8.0.120.0040.00422.03
8.0.110.0050.00322.12
8.0.100.0030.00521.95
8.0.90.0000.00921.98
8.0.80.0090.01221.99
8.0.70.0030.00622.09
8.0.60.0040.00421.89
8.0.50.0040.00422.09
8.0.30.0110.01122.21
8.0.20.0120.01122.25
8.0.10.0030.00622.00
8.0.00.0150.00621.87
7.4.330.0000.00620.14
7.4.320.0040.00421.16
7.4.300.0000.00920.98
7.4.290.0120.00021.18
7.4.280.0040.00721.11
7.4.270.0090.00521.04
7.4.260.0080.00420.99
7.4.250.0030.00621.04
7.4.240.0000.00821.08
7.4.230.0040.00420.95
7.4.220.0180.00921.14
7.4.210.0200.00621.16
7.4.200.0040.00420.96
7.4.160.0070.01421.14
7.4.150.0160.00920.99
7.4.140.0200.00820.99
7.4.130.0120.01321.17
7.4.120.0150.00820.96
7.4.110.0120.00921.15
7.4.100.0100.01021.14
7.4.90.0130.00621.09
7.4.80.0090.01820.91
7.4.70.0110.01121.25
7.4.60.0170.00320.90
7.4.50.0100.00720.96
7.4.40.0170.00720.95
7.4.30.0090.01020.97
7.4.00.0030.01219.05
7.3.330.0020.00717.50
7.3.320.0040.00417.35
7.3.310.0000.01020.59
7.3.300.0030.00520.57
7.3.290.0070.01120.55
7.3.280.0120.01220.58
7.3.270.0140.00720.81
7.3.260.0170.00920.57
7.3.250.0120.00820.63
7.3.240.0090.01220.63
7.3.230.0110.00820.79
7.3.210.0220.00420.59
7.3.200.0150.01520.50
7.3.190.0120.01520.94
7.3.180.0090.01220.61
7.3.170.0170.01020.58
7.3.160.0060.01520.63
7.2.330.0000.01920.65
7.2.320.0070.01520.55
7.2.310.0040.02220.75
7.2.300.0170.00820.80
7.2.290.0110.01420.62
7.2.60.0090.00620.51
7.2.00.0100.00723.79
7.1.200.0130.01018.35
7.1.100.0090.00920.61
7.1.70.0000.00819.80
7.1.60.0090.01519.90
7.1.50.0070.01619.38
7.1.00.0000.08022.38
7.0.200.0670.00017.66
7.0.100.0030.04020.04
7.0.90.0070.05019.96
7.0.80.0000.04719.96
7.0.70.0130.04320.13
7.0.60.0200.03320.05
7.0.50.0000.04720.41
7.0.40.0100.03720.04
7.0.30.0070.04020.09
7.0.20.0070.07720.13
7.0.10.0070.07720.12
7.0.00.0070.08020.18
5.6.280.0100.07021.07
5.6.250.0070.04020.62
5.6.240.0030.07020.60
5.6.230.0100.04020.71
5.6.220.0100.03320.61
5.6.210.0030.04720.73
5.6.200.0030.04021.04
5.6.190.0100.03721.03
5.6.180.0130.03320.95
5.6.170.0070.04021.01
5.6.160.0030.04021.18
5.6.150.0070.04020.93
5.6.140.0100.07721.17
5.6.130.0070.06721.05
5.6.120.0100.08020.93
5.6.110.0130.07720.93
5.6.100.0030.08021.07
5.6.90.0130.06320.98
5.6.80.0030.08020.40
5.6.70.0130.07320.34
5.6.60.0070.08020.41
5.6.50.0130.05020.46
5.6.40.0070.08320.30
5.6.30.0070.07720.38
5.6.20.0000.04720.43
5.6.10.0100.04020.30
5.6.00.0070.07320.29
5.5.380.0070.04320.56
5.5.370.0000.05020.41
5.5.360.0070.03720.49
5.5.350.0000.05320.41
5.5.340.0070.05020.64
5.5.330.0000.04720.90
5.5.320.0070.05720.90
5.5.310.0070.06720.87
5.5.300.0070.07720.76
5.5.290.0030.08720.76
5.5.280.0070.08020.89
5.5.270.0130.07720.79
5.5.260.0070.05720.63
5.5.250.0030.05020.45
5.5.240.0030.08020.14
5.5.230.0100.05720.25
5.5.220.0130.06720.18
5.5.210.0030.08320.18
5.5.200.0000.05320.27
5.5.190.0030.08320.23
5.5.180.0070.06720.21
5.5.160.0070.03720.23
5.5.150.0070.07320.08
5.5.140.0070.07720.25
5.5.130.0100.07720.12
5.5.120.0000.07020.14
5.5.110.0030.06720.23
5.5.100.0100.06720.11
5.5.90.0000.04320.06
5.5.80.0070.03320.02
5.5.70.0170.06319.89
5.5.60.0030.04320.10
5.5.50.0130.05020.05
5.5.40.0170.07020.05
5.5.30.0000.08020.05
5.5.20.0030.05020.02
5.5.10.0030.07320.10
5.5.00.0030.05320.06

preferences:
49.52 ms | 400 KiB | 5 Q