3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = ' ;Head admins "Username" "Password" "abcdefghijk" "ab" "Username2" "Password2" "abcdehl" "ab" ;Admins "Admin" "Password" "abcd" "ab" '; $arr = explode("\n;", $str); foreach($arr as $section){ $lines = explode("\n", $section); array_shift($lines); foreach($lines as $line) print $line . "\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.0190.00018.18
8.3.50.0130.00522.06
8.3.40.0110.00318.56
8.3.30.0090.00619.10
8.3.20.0070.00019.97
8.3.10.0030.00623.61
8.3.00.0040.00420.69
8.2.180.0150.00716.50
8.2.170.0170.00322.96
8.2.160.0100.00322.25
8.2.150.0090.00624.18
8.2.140.0060.00324.66
8.2.130.0040.00426.16
8.2.120.0040.00422.29
8.2.110.0030.00619.34
8.2.100.0110.00018.16
8.2.90.0080.00019.23
8.2.80.0040.00417.97
8.2.70.0060.00317.63
8.2.60.0070.00317.80
8.2.50.0000.00718.10
8.2.40.0000.00720.48
8.2.30.0060.00321.04
8.2.20.0040.00417.59
8.2.10.0080.00019.44
8.2.00.0030.00617.74
8.1.280.0030.01425.92
8.1.270.0000.00823.92
8.1.260.0030.00626.35
8.1.250.0030.00528.09
8.1.240.0000.01021.06
8.1.230.0110.00020.34
8.1.220.0080.00017.79
8.1.210.0060.00318.77
8.1.200.0030.00617.23
8.1.190.0040.00916.88
8.1.180.0070.00018.10
8.1.170.0080.00018.49
8.1.160.0000.00818.96
8.1.150.0040.00420.06
8.1.140.0000.00717.50
8.1.130.0000.00717.77
8.1.120.0000.00717.54
8.1.110.0040.00417.52
8.1.100.0050.00517.50
8.1.90.0000.00817.48
8.1.80.0000.00717.39
8.1.70.0000.00717.36
8.1.60.0000.00717.58
8.1.50.0030.00617.53
8.1.40.0000.00817.51
8.1.30.0030.00617.59
8.1.20.0050.00317.67
8.1.10.0030.00717.51
8.1.00.0050.00217.46
8.0.300.0050.00318.77
8.0.290.0000.00716.63
8.0.280.0030.00318.50
8.0.270.0030.00317.27
8.0.260.0000.00616.81
8.0.250.0040.00416.99
8.0.240.0030.00617.01
8.0.230.0070.00016.87
8.0.220.0070.00016.94
8.0.210.0000.00816.88
8.0.200.0070.00016.82
8.0.190.0000.00816.92
8.0.180.0050.00216.93
8.0.170.0070.00016.93
8.0.160.0000.00716.82
8.0.150.0070.00016.85
8.0.140.0030.00416.94
8.0.130.0060.00013.27
8.0.120.0030.00616.82
8.0.110.0000.00716.84
8.0.100.0040.00417.01
8.0.90.0070.00016.86
8.0.80.0030.01116.89
8.0.70.0000.00716.73
8.0.60.0000.00716.68
8.0.50.0040.00416.77
8.0.30.0080.01417.12
8.0.20.0110.00717.40
8.0.10.0040.00416.91
8.0.00.0060.01216.70
7.4.330.0000.00515.14
7.4.320.0070.00016.56
7.4.300.0000.00616.55
7.4.290.0030.00316.56
7.4.280.0000.00616.42
7.4.270.0000.00716.52
7.4.260.0000.00716.59
7.4.250.0000.00816.60
7.4.240.0020.00516.53
7.4.230.0000.00716.64
7.4.220.0070.01016.59
7.4.210.0090.00616.58
7.4.200.0050.00316.43
7.4.190.0070.00016.66
7.4.160.0080.00816.40
7.4.150.0130.00417.40
7.4.140.0080.00817.86
7.4.130.0120.00816.54
7.4.120.0080.01116.44
7.4.110.0050.01516.59
7.4.100.0120.00816.52
7.4.90.0100.00716.55
7.4.80.0100.01016.29
7.4.70.0100.00716.54
7.4.60.0140.00716.37
7.4.50.0000.00716.37
7.4.40.0110.00222.77
7.4.30.0110.01116.43
7.4.00.0070.01014.99
7.3.330.0030.00313.00
7.3.320.0020.00213.12
7.3.310.0070.00016.07
7.3.300.0070.00016.25
7.3.290.0110.00316.26
7.3.280.0090.00916.29
7.3.270.0100.00617.40
7.3.260.0060.01916.49
7.3.250.0090.01016.38
7.3.240.0080.00816.21
7.3.230.0070.01016.39
7.3.210.0070.01016.52
7.3.200.0150.00319.39
7.3.190.0100.00716.38
7.3.180.0060.01316.33
7.3.170.0140.00816.29
7.3.160.0130.00716.50
7.3.120.0080.00514.94
7.3.110.0090.00914.94
7.3.100.0100.00614.98
7.3.90.0030.01314.51
7.3.80.0000.00914.73
7.3.70.0040.00714.71
7.3.60.0080.00314.85
7.3.50.0030.01014.67
7.3.40.0060.00614.83
7.3.30.0050.00514.85
7.3.20.0000.01016.83
7.3.10.0050.00516.59
7.3.00.0040.01116.67
7.2.330.0130.00316.49
7.2.320.0040.01316.60
7.2.310.0060.01416.71
7.2.300.0100.00616.70
7.2.290.0060.01616.75
7.2.250.0100.01015.08
7.2.240.0080.01215.02
7.2.230.0100.00714.72
7.2.220.0040.00814.95
7.2.210.0060.00915.17
7.2.200.0000.01015.08
7.2.190.0090.00614.66
7.2.180.0000.01315.04
7.2.170.0060.00914.78
7.1.330.0070.00715.70
7.1.320.0060.00615.63
7.1.310.0040.00715.89
7.1.300.0040.01115.55
7.1.290.0060.01015.69
7.1.280.0100.00315.44
7.1.270.0030.01015.50
7.1.260.0030.01115.55
7.1.70.0030.00317.16
7.1.60.0130.01019.27
7.1.50.0070.01316.83
7.1.00.0130.06722.40
7.0.200.0070.00716.70
7.0.140.0000.07721.93
7.0.60.0100.05319.93
7.0.50.0030.08317.91
7.0.40.0130.07720.23
7.0.30.0300.07020.09
7.0.20.0370.06020.09
7.0.10.0030.09320.09
7.0.00.0170.08020.08
5.6.280.0070.06720.78
5.6.210.0070.04020.75
5.6.200.0170.07318.22
5.6.190.0070.04020.45
5.6.180.0200.08020.77
5.6.170.0230.05720.52
5.6.160.0370.05320.37
5.6.150.0030.07318.22
5.6.140.0030.06018.15
5.6.130.0000.07318.20
5.6.120.0100.08020.98
5.6.110.0100.06720.96
5.6.100.0100.07720.98
5.6.90.0000.08020.95
5.6.80.0000.09020.39
5.5.350.0270.07720.35
5.5.340.0000.05017.93
5.5.330.0230.06720.21
5.5.320.0370.08020.21
5.5.310.0270.04320.23
5.5.300.0030.04017.96
5.5.290.0100.04718.00
5.5.280.0030.06020.77
5.5.270.0030.07020.86
5.5.260.0130.07020.88
5.5.250.0030.05020.68
5.5.240.0030.07720.23
5.4.450.0600.06019.51
5.4.440.0970.09019.46
5.4.430.0130.05019.45
5.4.420.0070.05719.31
5.4.410.0070.07718.97
5.4.400.0200.04318.70
5.4.390.0170.05318.60
5.4.380.0070.05718.69
5.4.370.0270.03718.46
5.4.360.0130.04718.71
5.4.350.0050.04411.97
5.4.340.0040.03611.97
5.4.320.0070.03712.46
5.4.310.0050.05112.45
5.4.300.0070.04012.45
5.4.290.0080.05012.46
5.4.280.0070.04012.35
5.4.270.0050.03612.35
5.4.260.0080.04412.35
5.4.250.0050.03712.35
5.4.240.0060.03712.35
5.4.230.0080.05012.34
5.4.220.0100.04012.34
5.4.210.0070.03312.34
5.4.200.0050.04912.34
5.4.190.0090.03812.34
5.4.180.0050.03912.34
5.4.170.0200.03712.34
5.4.160.0100.04912.32
5.4.150.0130.04512.32
5.4.140.0150.04212.00
5.4.130.0160.04411.99
5.4.120.0120.04411.95
5.4.110.0140.04311.95
5.4.100.0140.04411.95
5.4.90.0170.04011.95
5.4.80.0100.04711.95
5.4.70.0140.04311.95
5.4.60.0300.05811.95
5.4.50.0150.04211.95
5.4.40.0170.04211.93
5.4.30.0180.04111.93
5.4.20.0180.03911.93
5.4.10.0180.03911.93
5.4.00.0130.04311.42
5.3.290.0070.03912.80
5.3.280.0040.04512.71
5.3.270.0270.06712.73
5.3.260.0120.05012.71
5.3.250.0200.04212.72
5.3.240.0160.04512.72
5.3.230.0140.04812.71
5.3.220.0200.04112.68
5.3.210.0210.04412.68
5.3.200.0160.04512.68
5.3.190.0180.04912.68
5.3.180.0200.04212.68
5.3.170.0140.04812.67
5.3.160.0190.04612.67
5.3.150.0210.04212.67
5.3.140.0160.04512.66
5.3.130.0350.08612.66
5.3.120.0200.04412.66
5.3.110.0180.04712.66
5.3.100.0130.05012.12
5.3.90.0210.04512.09
5.3.80.0430.08212.07
5.3.70.0220.04112.08
5.3.60.0180.04312.07
5.3.50.0170.04512.00
5.3.40.0360.08612.00
5.3.30.0100.04911.95
5.3.20.0150.04511.73
5.3.10.0360.08111.68
5.3.00.0210.03611.67
5.2.170.0110.0369.18
5.2.160.0130.0359.18
5.2.150.0100.0409.18
5.2.140.0120.0359.18
5.2.130.0120.0379.14
5.2.120.0130.0349.14
5.2.110.0140.0369.14
5.2.100.0150.0339.14
5.2.90.0140.0349.14
5.2.80.0130.0359.13
5.2.70.0180.0349.13
5.2.60.0180.0339.08
5.2.50.0100.0399.05
5.2.40.0250.0539.03
5.2.30.0120.0369.00
5.2.20.0100.0379.00
5.2.10.0140.0338.93
5.2.00.0130.0338.78
5.1.60.0110.0308.06
5.1.50.0080.0338.06
5.1.40.0130.0278.05
5.1.30.0340.0698.39
5.1.20.0080.0358.43
5.1.10.0120.0348.14
5.1.00.0140.0288.14
5.0.50.0090.0266.62
5.0.40.0120.0216.48
5.0.30.0130.0326.29
5.0.20.0080.0246.26
5.0.10.0090.0236.25
5.0.00.0100.0356.23
4.4.90.0090.0184.78
4.4.80.0090.0174.75
4.4.70.0080.0184.75
4.4.60.0090.0184.75
4.4.50.0060.0194.77
4.4.40.0230.0764.71
4.4.30.0080.0184.76
4.4.20.0090.0164.85
4.4.10.0110.0164.85
4.4.00.0090.0274.76
4.3.110.0120.0134.67
4.3.100.0070.0184.66
4.3.90.0060.0184.64
4.3.80.0100.0254.59
4.3.70.0090.0154.63
4.3.60.0070.0174.63
4.3.50.0100.0154.63
4.3.40.0090.0254.54
4.3.30.0070.0173.30
4.3.20.0060.0183.29
4.3.10.0040.0193.25
4.3.00.0100.0237.04

preferences:
50.66 ms | 401 KiB | 5 Q