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); 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.40.0040.01118.78
8.3.30.0030.01020.34
8.3.20.0080.00020.14
8.3.10.0080.00021.96
8.3.00.0000.00722.39
8.2.170.0040.01422.96
8.2.160.0070.00720.47
8.2.150.0070.00024.18
8.2.140.0000.00824.66
8.2.130.0080.00026.16
8.2.120.0040.00420.54
8.2.110.0090.00019.02
8.2.100.0000.01118.22
8.2.90.0050.00319.35
8.2.80.0050.00219.39
8.2.70.0000.00817.50
8.2.60.0080.00418.05
8.2.50.0000.00818.07
8.2.40.0040.00418.34
8.2.30.0040.00419.47
8.2.20.0000.00817.63
8.2.10.0040.00417.74
8.2.00.0050.00217.80
8.1.270.0040.00423.99
8.1.260.0050.00226.35
8.1.250.0050.00228.09
8.1.240.0090.00023.80
8.1.230.0070.00420.90
8.1.220.0000.00818.77
8.1.210.0040.00419.09
8.1.200.0100.00317.35
8.1.190.0030.00617.39
8.1.180.0050.00318.10
8.1.170.0040.00418.53
8.1.160.0060.00318.88
8.1.150.0050.00218.67
8.1.140.0000.00717.48
8.1.130.0040.00417.82
8.1.120.0070.00017.30
8.1.110.0030.00517.45
8.1.100.0000.00717.45
8.1.90.0070.00017.42
8.1.80.0030.00317.34
8.1.70.0030.00317.46
8.1.60.0000.00817.46
8.1.50.0040.00417.54
8.1.40.0000.01017.41
8.1.30.0000.00817.61
8.1.20.0080.00017.69
8.1.10.0050.00217.59
8.1.00.0000.00917.56
8.0.300.0000.00819.95
8.0.290.0040.00417.29
8.0.280.0070.00018.44
8.0.270.0030.00317.21
8.0.260.0030.00316.86
8.0.250.0030.00316.92
8.0.240.0000.00916.97
8.0.230.0050.00216.91
8.0.220.0070.00016.78
8.0.210.0000.00716.86
8.0.200.0060.00016.90
8.0.190.0000.00816.88
8.0.180.0030.00316.83
8.0.170.0040.00416.96
8.0.160.0050.00316.78
8.0.150.0030.00516.74
8.0.140.0080.00016.91
8.0.130.0060.00013.36
8.0.120.0080.00016.82
8.0.110.0040.00416.91
8.0.100.0040.00416.75
8.0.90.0040.00416.92
8.0.80.0080.00716.84
8.0.70.0050.00216.79
8.0.60.0080.00016.85
8.0.50.0070.00016.80
8.0.30.0100.00817.10
8.0.20.0110.01117.40
8.0.10.0000.00716.90
8.0.00.0120.00816.72
7.4.330.0000.00414.92
7.4.320.0030.00316.51
7.4.300.0030.00316.61
7.4.290.0000.00716.57
7.4.280.0000.00816.64
7.4.270.0040.00416.59
7.4.260.0050.00013.26
7.4.250.0040.00416.36
7.4.240.0020.00516.49
7.4.230.0000.00816.60
7.4.220.0070.01316.52
7.4.210.0080.00616.56
7.4.200.0040.00416.63
7.4.190.0070.00016.73
7.4.160.0060.01516.52
7.4.150.0070.01117.40
7.4.140.0080.00917.86
7.4.130.0100.01016.54
7.4.120.0090.00716.53
7.4.110.0110.00716.41
7.4.100.0120.01216.52
7.4.90.0100.01316.50
7.4.80.0180.00519.39
7.4.70.0170.00016.56
7.4.60.0150.00316.53
7.4.50.0000.00816.64
7.4.40.0040.01422.77
7.4.30.0160.00016.45
7.4.00.0070.01015.23
7.3.330.0030.00313.16
7.3.320.0000.00513.16
7.3.310.0030.00316.19
7.3.300.0030.00316.17
7.3.290.0040.01116.29
7.3.280.0090.00816.30
7.3.270.0070.01017.40
7.3.260.0100.00716.56
7.3.250.0140.00216.56
7.3.240.0140.00716.50
7.3.230.0060.00916.39
7.3.210.0080.00816.61
7.3.200.0120.01019.39
7.3.190.0080.00816.43
7.3.180.0080.00816.39
7.3.170.0170.00016.44
7.3.160.0140.00616.50
7.3.120.0060.00914.74
7.3.10.0060.00916.38
7.3.00.0080.00416.71
7.2.330.0100.00716.69
7.2.320.0130.00616.53
7.2.310.0100.00716.58
7.2.300.0090.01216.57
7.2.290.0060.00916.63
7.2.130.0000.01717.13
7.2.120.0270.00516.75
7.2.110.0130.00716.64
7.2.100.0170.00616.61
7.2.90.0130.00816.78
7.2.80.0100.00716.92
7.2.70.0180.00516.75
7.2.60.0140.00717.03
7.2.50.0120.00816.79
7.2.40.0070.01217.06
7.2.30.0110.01117.03
7.2.20.0140.00816.72
7.2.10.0090.01116.93
7.2.00.0100.00617.58
7.1.250.0100.00315.71
7.1.240.0310.00016.04
7.1.230.0310.00215.91
7.1.220.0220.00615.83
7.1.210.0260.00715.87
7.1.200.0160.00015.68
7.1.190.0280.00315.79
7.1.180.0150.01115.71
7.1.170.0200.01015.55
7.1.160.0230.00815.79
7.1.150.0200.00315.64
7.1.140.0280.00015.61
7.1.130.0130.00915.66
7.1.120.0190.01115.78
7.1.110.0180.00915.88
7.1.100.0120.00817.05
7.1.90.0210.00615.83
7.1.80.0210.00915.99
7.1.70.0120.00616.50
7.1.60.0070.01417.49
7.1.50.0150.00916.42
7.1.40.0170.01016.00
7.1.30.0200.00315.83
7.1.20.0280.00315.77
7.1.10.0220.00315.73
7.1.00.0180.02319.09
7.0.320.0230.00815.18
7.0.310.0180.01115.38
7.0.300.0220.00515.13
7.0.290.0170.00315.28
7.0.280.0150.00415.34
7.0.270.0180.00915.11
7.0.260.0220.00315.19
7.0.250.0150.00615.54
7.0.240.0110.01115.58
7.0.230.0550.01015.21
7.0.220.0100.01015.54
7.0.210.0160.00815.33
7.0.200.0080.00616.26
7.0.190.0430.00015.17
7.0.180.0140.01015.52
7.0.170.0160.00415.45
7.0.160.0030.01015.07
7.0.150.0190.00015.46
7.0.140.0140.03418.75
7.0.130.0230.00015.43
7.0.120.0340.00715.20
7.0.110.0190.00815.36
7.0.100.0200.02217.78
7.0.90.0180.04317.68
7.0.80.0110.02917.64
7.0.70.0160.02217.67
7.0.60.0150.02617.80
7.0.50.0220.04317.89
7.0.40.0060.02516.86
7.0.30.0060.03316.87
7.0.20.0070.04216.76
7.0.10.0060.03216.73
7.0.00.0090.04316.81
5.6.380.0080.00814.45
5.6.370.0100.00714.15
5.6.360.0050.01014.23
5.6.350.0120.00414.17
5.6.340.0110.00614.33
5.6.330.0090.00614.14
5.6.320.0120.00614.44
5.6.310.0110.00514.52
5.6.300.0090.00514.44
5.6.290.0130.00414.04
5.6.280.0130.03317.80
5.6.270.0070.01113.96
5.6.260.0110.00714.59
5.6.250.0120.03517.43
5.6.240.0120.04017.40
5.6.230.0060.03117.46
5.6.220.0110.04517.51
5.6.210.0090.03917.58
5.6.200.0070.03217.74
5.6.190.0120.02917.79
5.6.180.0100.02417.57
5.6.170.0080.03217.76
5.6.160.0040.04517.62
5.6.150.0070.03517.80
5.6.140.0150.04017.80
5.6.130.0060.04517.65
5.6.120.0090.04617.68
5.6.110.0120.04317.62
5.6.100.0120.04117.64
5.6.90.0090.03217.75
5.6.80.0090.03517.41
5.6.70.0070.03617.23
5.6.60.0100.02617.29
5.6.50.0130.04017.26
5.6.40.0120.03817.31
5.6.30.0060.02917.17
5.6.20.0140.04017.35
5.6.10.0090.02517.26
5.6.00.0090.03517.23
5.5.380.0080.04315.75
5.5.370.0100.03515.72
5.5.360.0070.04215.74
5.5.350.0070.02115.72
5.5.340.0060.02716.03
5.5.330.0060.04615.96
5.5.320.0090.04115.99
5.5.310.0100.02515.96
5.5.300.0110.01816.00
5.5.290.0100.04015.98
5.5.280.0070.02715.99
5.5.270.0090.02715.90
5.5.260.0130.02816.08
5.5.250.0100.03515.89
5.5.240.0090.03415.66
5.5.230.0030.04915.69
5.5.220.0100.02315.65
5.5.210.0090.04215.68
5.5.200.0150.03215.61
5.5.190.0080.04115.64
5.5.180.0070.04215.71
5.5.170.0070.01014.32
5.5.160.0160.03215.65
5.5.150.0090.03715.61
5.5.140.0120.03815.64
5.5.130.0100.04115.65
5.5.120.0090.03415.60
5.5.110.0110.02015.59
5.5.100.0080.04315.53
5.5.90.0150.03715.58
5.5.80.0080.04315.60
5.5.70.0100.03815.56
5.5.60.0100.02115.56
5.5.50.0110.03815.56
5.5.40.0100.02215.62
5.5.30.0030.04215.59
5.5.20.0060.03715.56
5.5.10.0100.03815.57
5.5.00.0110.03715.57
5.4.450.0080.02715.26
5.4.440.0060.04115.33
5.4.430.0070.03815.23
5.4.420.0040.02815.11
5.4.410.0050.04015.18
5.4.400.0050.04415.11
5.4.390.0040.04615.11
5.4.380.0070.04014.96
5.4.370.0080.03515.11
5.4.360.0110.03615.10
5.4.350.0040.04015.17
5.4.340.0100.03915.09
5.4.330.0000.01211.09
5.4.320.0070.03315.12
5.4.310.0050.03915.06
5.4.300.0050.04015.07
5.4.290.0080.03415.17
5.4.280.0090.04015.13
5.4.270.0090.03715.02
5.4.260.0080.04015.00
5.4.250.0060.02815.01
5.4.240.0130.02014.93
5.4.230.0080.03715.10
5.4.220.0070.03815.06
5.4.210.0080.03815.16
5.4.200.0110.03114.99
5.4.190.0060.03815.03
5.4.180.0070.02915.06
5.4.170.0020.03714.95
5.4.160.0030.03814.99
5.4.150.0090.03015.07
5.4.140.0080.02013.72
5.4.130.0030.04013.57
5.4.120.0080.02613.71
5.4.110.0050.04013.72
5.4.100.0090.02213.76
5.4.90.0050.02813.72
5.4.80.0040.03413.73
5.4.70.0130.03413.70
5.4.60.0120.03413.65
5.4.50.0050.02313.71
5.4.40.0040.03413.78
5.4.30.0070.02313.70
5.4.20.0060.02513.78
5.4.10.0040.04113.69
5.4.00.0060.02413.50
5.3.290.0060.03012.87
5.3.280.0080.04312.78
5.3.270.0080.03812.78
5.3.260.0060.02612.85
5.3.250.0070.04012.85
5.3.240.0070.03812.83
5.3.230.0040.03612.78
5.3.220.0090.03712.81
5.3.210.0060.03012.83
5.3.200.0090.02012.82
5.3.190.0110.03212.82
5.3.180.0100.02312.82
5.3.170.0050.04012.74
5.3.160.0070.04312.82
5.3.150.0090.02712.83
5.3.140.0040.02612.81
5.3.130.0070.04512.74
5.3.120.0100.01512.80
5.3.110.0030.03012.80
5.3.100.0090.01812.54
5.3.90.0060.03612.52
5.3.80.0100.02812.48
5.3.70.0080.03512.43
5.3.60.0050.02312.55
5.3.50.0060.03812.51
5.3.40.0100.02112.50
5.3.30.0080.03012.49
5.3.20.0030.04312.38
5.3.10.0020.04012.30
5.3.00.0040.02312.36
5.2.170.0030.02111.11
5.2.160.0060.03011.05
5.2.150.0080.03111.15
5.2.140.0040.03011.13
5.2.130.0030.02411.09
5.2.120.0050.03411.07
5.2.110.0040.02610.99
5.2.100.0030.02111.09
5.2.90.0100.02311.03
5.2.80.0080.03211.07
5.2.70.0040.01811.07
5.2.60.0020.02010.99
5.2.50.0130.02611.07
5.2.40.0050.01811.02
5.2.30.0090.02511.03
5.2.20.0060.02411.03
5.2.10.0100.02810.94
5.2.00.0040.03110.86
5.1.60.0050.02210.78
5.1.50.0050.02110.78
5.1.40.0050.02410.78
5.1.30.0030.02410.78
5.1.20.0020.02010.78
5.1.10.0050.02310.78
5.1.00.0030.01510.78
5.0.50.0070.02310.78
5.0.40.0060.02110.78
5.0.30.0080.02810.78
5.0.20.0030.01310.78
5.0.10.0030.01310.78
5.0.00.0020.03010.78
4.4.90.0000.01410.78
4.4.80.0000.01410.78
4.4.70.0000.01410.78
4.4.60.0030.01010.78
4.4.50.0050.01410.78
4.4.40.0080.01310.78
4.4.30.0000.02110.78
4.4.20.0050.01110.78
4.4.10.0030.01710.78
4.4.00.0020.02210.78
4.3.110.0050.01210.78
4.3.100.0050.00910.78
4.3.90.0020.01510.78
4.3.80.0000.01610.78
4.3.70.0030.01910.78
4.3.60.0020.01710.78
4.3.50.0020.00710.78
4.3.40.0060.02510.78
4.3.30.0020.01810.78
4.3.20.0000.02110.78
4.3.10.0030.01010.78
4.3.00.0030.01410.78

preferences:
57.34 ms | 400 KiB | 5 Q