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) $l = explode("\n", $line); array_shift($l[0]); echo $l[0]; } ?>

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.0100.01016.88
8.3.50.0060.01422.00
8.3.40.0140.00418.94
8.3.30.0140.00719.07
8.3.20.0000.00720.33
8.3.10.0080.00023.66
8.3.00.0030.00619.38
8.2.180.0130.00616.88
8.2.170.0070.00722.96
8.2.160.0070.00720.52
8.2.150.0090.00024.18
8.2.140.0030.00624.66
8.2.130.0040.00426.16
8.2.120.0050.00322.11
8.2.110.0090.00022.26
8.2.100.0070.00417.66
8.2.90.0040.00419.21
8.2.80.0000.00818.16
8.2.70.0050.00517.75
8.2.60.0000.00817.91
8.2.50.0030.00618.07
8.2.40.0040.00418.22
8.2.30.0040.00418.23
8.2.20.0000.00717.68
8.2.10.0040.00418.12
8.2.00.0060.00317.82
8.1.280.0120.00325.92
8.1.270.0120.00622.16
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00623.92
8.1.230.0110.00519.11
8.1.220.0000.00817.79
8.1.210.0080.00018.77
8.1.200.0060.00317.35
8.1.190.0080.00017.53
8.1.180.0030.00518.10
8.1.170.0040.00418.71
8.1.160.0040.00421.92
8.1.150.0070.00318.55
8.1.140.0000.00917.45
8.1.130.0000.00717.87
8.1.120.0070.00017.42
8.1.110.0050.00317.47
8.1.100.0030.00417.45
8.1.90.0030.00517.51
8.1.80.0000.00717.34
8.1.70.0040.00417.31
8.1.60.0040.00417.44
8.1.50.0040.00417.51
8.1.40.0000.00817.47
8.1.30.0040.00417.49
8.1.20.0040.00417.50
8.1.10.0040.00417.54
8.1.00.0030.00517.42
8.0.300.0030.00318.77
8.0.290.0000.00717.16
8.0.280.0030.00318.44
8.0.270.0000.00717.23
8.0.260.0000.00616.88
8.0.250.0030.00317.08
8.0.240.0050.00316.92
8.0.230.0040.00416.86
8.0.220.0070.00016.93
8.0.210.0050.00516.84
8.0.200.0030.00316.88
8.0.190.0040.00417.02
8.0.180.0040.00416.86
8.0.170.0070.00016.85
8.0.160.0020.00517.08
8.0.150.0050.00316.93
8.0.140.0000.00716.79
8.0.130.0050.00013.37
8.0.120.0060.00316.95
8.0.110.0040.00416.89
8.0.100.0040.00416.89
8.0.90.0040.00416.86
8.0.80.0030.01416.86
8.0.70.0040.00416.82
8.0.60.0030.00516.84
8.0.50.0000.00816.75
8.0.30.0100.01017.22
8.0.20.0130.00617.40
8.0.10.0030.00517.09
8.0.00.0080.01316.84
7.4.330.0050.00015.15
7.4.320.0070.00016.61
7.4.300.0030.00316.46
7.4.290.0040.00416.41
7.4.280.0030.00716.45
7.4.270.0030.00316.58
7.4.260.0070.00416.61
7.4.250.0070.00016.56
7.4.240.0020.00516.52
7.4.230.0030.00316.60
7.4.220.0070.01116.54
7.4.210.0070.00916.51
7.4.200.0070.00016.25
7.4.190.0000.00716.61
7.4.160.0100.00616.54
7.4.150.0100.00717.40
7.4.140.0150.02017.86
7.4.130.0060.01016.48
7.4.120.0090.01216.57
7.4.110.0130.00916.54
7.4.100.0090.00916.55
7.4.90.0070.01016.62
7.4.80.0070.01119.39
7.4.70.0100.00516.52
7.4.60.0070.01416.36
7.4.50.0000.00416.29
7.4.40.0060.01022.77
7.4.30.0030.01216.66
7.4.00.0060.00914.97
7.3.330.0060.00013.26
7.3.320.0030.00313.11
7.3.310.0000.00716.52
7.3.300.0000.00716.25
7.3.290.0030.01016.37
7.3.280.0110.00416.40
7.3.270.0070.01017.40
7.3.260.0110.00716.60
7.3.250.0110.00816.46
7.3.240.0110.01116.44
7.3.230.0180.00316.51
7.3.210.0070.01416.38
7.3.200.0090.00919.39
7.3.190.0100.01316.39
7.3.180.0150.00016.49
7.3.170.0060.01016.32
7.3.160.0190.00016.49
7.3.120.0000.01715.05
7.2.330.0110.00616.68
7.2.320.0070.01316.83
7.2.310.0070.01416.63
7.2.300.0110.00516.77
7.2.290.0100.00716.53
7.1.70.0060.00917.14
7.1.60.0090.01219.33
7.1.50.0070.01416.85
7.1.00.0100.07022.32
7.0.200.0060.00316.48
7.0.140.0070.07021.95
7.0.60.0070.08019.91
7.0.50.0030.04717.90
7.0.40.0070.04020.12
7.0.30.0270.08720.00
7.0.20.0270.08319.99
7.0.10.0100.06320.00
7.0.00.0230.05320.16
5.6.280.0070.07321.10
5.6.210.0100.07720.75
5.6.200.0000.04318.15
5.6.190.0270.06720.55
5.6.180.0300.04720.56
5.6.170.0170.05020.71
5.6.160.0100.05320.54
5.6.150.0030.06018.11
5.6.140.0070.07318.16
5.6.130.0100.05718.11
5.6.120.0000.08720.98
5.6.110.0100.08321.01
5.6.100.0070.04021.02
5.6.90.0130.05320.96
5.6.80.0070.08020.35
5.5.350.0130.07020.44
5.5.340.0100.08017.92
5.5.330.0000.04320.07
5.5.320.0470.06720.18
5.5.310.0330.07020.28
5.5.300.0030.07717.94
5.5.290.0000.04317.98
5.5.280.0430.05720.67
5.5.270.0100.08320.81
5.5.260.0100.08320.88
5.5.250.0170.07320.61
5.5.240.3500.04720.22
5.4.450.0270.04319.55
5.4.440.0300.07319.46
5.4.430.0370.04319.41
5.4.420.0270.07319.40
5.4.410.0300.04319.25
5.4.400.0270.04019.04
5.4.390.0200.04719.09
5.4.380.0270.03719.21
5.4.370.0300.04318.93
5.4.360.0300.05719.22
5.4.350.0270.04719.09
5.4.340.0330.08019.15
5.4.320.0230.04719.08
5.4.310.0270.07319.09
5.4.300.0300.05319.21
5.4.290.0200.05018.80
5.4.280.0270.05318.80
5.4.270.0370.04719.21
5.4.260.0300.07318.80
5.4.250.0300.06018.82
5.4.240.0270.07018.78
5.4.230.0270.04719.23
5.4.220.0370.07019.21
5.4.210.0400.04319.09
5.4.200.0270.05319.23
5.4.190.0300.04719.23
5.4.180.0270.03719.14
5.4.170.0270.04019.12
5.4.160.0270.04319.11
5.4.150.0300.05319.17
5.4.140.0400.04016.32
5.4.130.0270.05016.30
5.4.120.0230.03316.28
5.4.110.0270.05016.20
5.4.100.0230.04716.38
5.4.90.0270.05316.46
5.4.80.0370.06316.19
5.4.70.0300.07016.37
5.4.60.0270.05716.32
5.4.50.0300.06316.03
5.4.40.0330.06716.27
5.4.30.0200.07716.36
5.4.20.0300.04716.36
5.4.10.0230.07716.36
5.4.00.0370.05715.73
5.3.290.0230.04014.81
5.3.280.0270.07014.81
5.3.270.0300.05714.81
5.3.260.0300.04714.81
5.3.250.0270.06714.81
5.3.240.0230.06714.81
5.3.230.0230.04314.81
5.3.220.0200.04014.81
5.3.210.0370.06714.81
5.3.200.0270.04714.81
5.3.190.0270.04314.81
5.3.180.0230.05714.81
5.3.170.0270.07314.81
5.3.160.0300.03314.81
5.3.150.0230.03714.81
5.3.140.0330.05714.81
5.3.130.0230.05014.81
5.3.120.0270.07314.81
5.3.110.0300.07314.81
5.3.100.0270.06714.81
5.3.90.0330.05714.81
5.3.80.0200.07014.81
5.3.70.0330.06314.81
5.3.60.0370.06314.81
5.3.50.0230.05014.81
5.3.40.0270.07714.81
5.3.30.0370.04714.81
5.3.20.0300.05014.81
5.3.10.0370.05714.81
5.3.00.0330.05014.81
5.2.170.0230.06014.81
5.2.160.0270.05314.81
5.2.150.0200.05014.81
5.2.140.0230.05014.81
5.2.130.0230.06014.81
5.2.120.0230.06314.81
5.2.110.0200.06314.81
5.2.100.0300.05014.81
5.2.90.0230.06014.81
5.2.80.0200.06314.81
5.2.70.0330.04014.81
5.2.60.0270.05314.81
5.2.50.0300.05714.81
5.2.40.0200.04714.81
5.2.30.0230.05014.81
5.2.20.0230.05314.81
5.2.10.0200.05714.81
5.2.00.0230.05314.81
5.1.60.0230.05014.81
5.1.50.0170.04014.81
5.1.40.0130.04014.81
5.1.30.0200.03314.81
5.1.20.0270.04014.81
5.1.10.0170.03314.81
5.1.00.0330.04014.81
5.0.50.0100.04014.81
5.0.40.0170.03714.81
5.0.30.0130.04014.81
5.0.20.0130.02714.81
5.0.10.0130.04314.81
5.0.00.0070.05714.81
4.4.90.0130.03314.81
4.4.80.0130.03014.81
4.4.70.0130.02714.81
4.4.60.0100.03714.81
4.4.50.0100.02714.81
4.4.40.0170.04314.81
4.4.30.0070.02714.81
4.4.20.0070.02014.81
4.4.10.0100.03314.81
4.4.00.0100.05314.81
4.3.110.0070.03714.81
4.3.100.0070.01714.81
4.3.90.0100.03314.81
4.3.80.0100.03714.81
4.3.70.0070.03314.81
4.3.60.0070.02314.81
4.3.50.0100.03014.81
4.3.40.0130.05014.81
4.3.30.0030.03714.81
4.3.20.0100.02714.81
4.3.10.0070.02314.81
4.3.00.0030.02714.81

preferences:
41.34 ms | 401 KiB | 5 Q