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.40.0040.01418.71
8.3.30.0110.00318.54
8.3.20.0030.00618.74
8.3.10.0040.00420.41
8.3.00.0040.00419.12
8.2.170.0120.00322.96
8.2.160.0140.00021.02
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0050.00226.16
8.2.120.0080.00019.24
8.2.110.0000.01021.13
8.2.100.0080.00417.72
8.2.90.0030.00620.95
8.2.80.0030.00617.80
8.2.70.0030.00617.38
8.2.60.0050.00317.80
8.2.50.0000.01218.07
8.2.40.0000.00718.16
8.2.30.0070.00317.99
8.2.20.0040.00417.64
8.2.10.0040.00417.70
8.2.00.0030.00617.77
8.1.270.0080.00024.66
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0000.00920.73
8.1.230.0070.00420.97
8.1.220.0040.00417.74
8.1.210.0080.00018.93
8.1.200.0060.00317.25
8.1.190.0040.00417.51
8.1.180.0030.00618.10
8.1.170.0050.00318.75
8.1.160.0000.00719.00
8.1.150.0040.00418.66
8.1.140.0030.00517.38
8.1.130.0040.00417.84
8.1.120.0040.00417.46
8.1.110.0040.00417.35
8.1.100.0030.00317.48
8.1.90.0000.00717.39
8.1.80.0030.00317.45
8.1.70.0070.00017.36
8.1.60.0040.00417.46
8.1.50.0060.00317.37
8.1.40.0000.00817.60
8.1.30.0050.00317.65
8.1.20.0030.00617.71
8.1.10.0000.00817.58
8.1.00.0050.00517.41
8.0.300.0020.00520.03
8.0.290.0000.00716.63
8.0.280.0030.00318.45
8.0.270.0070.00017.33
8.0.260.0000.00716.83
8.0.250.0000.00816.86
8.0.240.0000.00716.88
8.0.230.0000.00716.87
8.0.220.0000.00716.86
8.0.210.0040.00416.81
8.0.200.0000.00716.85
8.0.190.0060.00616.97
8.0.180.0050.00316.96
8.0.170.0070.00316.93
8.0.160.0030.00316.81
8.0.150.0000.00716.77
8.0.140.0050.00316.83
8.0.130.0000.00613.29
8.0.120.0040.00416.88
8.0.110.0030.00316.88
8.0.100.0040.00416.77
8.0.90.0030.00316.73
8.0.80.0070.01016.88
8.0.70.0000.00716.89
8.0.60.0040.00416.88
8.0.50.0050.00216.96
8.0.30.0130.00817.02
8.0.20.0140.01016.97
8.0.10.0050.00317.00
8.0.00.0110.00816.83
7.4.330.0000.00513.00
7.4.320.0060.00016.53
7.4.300.0000.00616.61
7.4.290.0050.00316.56
7.4.280.0030.00516.66
7.4.270.0030.00316.56
7.4.260.0030.00313.19
7.4.250.0040.00416.50
7.4.240.0080.00016.49
7.4.230.0000.00816.65
7.4.220.0060.01216.57
7.4.210.0080.00716.57
7.4.200.0070.00016.49
7.4.190.0030.00316.69
7.4.160.0100.00716.60
7.4.150.0070.01016.47
7.4.140.0130.00916.39
7.4.130.0100.00716.45
7.4.120.0110.01216.43
7.4.110.0120.00416.45
7.4.100.0140.00716.62
7.4.90.0100.00616.53
7.4.80.0100.01019.39
7.4.70.0100.00716.69
7.4.60.0050.01216.55
7.4.50.0050.00516.29
7.4.40.0030.01216.59
7.4.30.0100.00716.66
7.4.10.0110.00314.87
7.4.00.0060.01114.90
7.3.330.0030.00313.13
7.3.320.0030.00313.18
7.3.310.0030.00516.31
7.3.300.0060.00016.30
7.3.290.0130.00316.36
7.3.280.0110.00616.24
7.3.270.0090.01316.67
7.3.260.0120.00616.08
7.3.250.0090.00916.53
7.3.240.0120.00616.36
7.3.230.0120.00616.25
7.3.210.0030.01316.30
7.3.200.0110.00816.66
7.3.190.0090.01316.33
7.3.180.0110.00716.67
7.3.170.0100.00716.29
7.3.160.0090.00616.23
7.3.130.0100.00714.80
7.3.120.0050.01114.63
7.3.110.0000.01514.75
7.3.100.0070.00714.62
7.3.90.0000.01314.62
7.3.80.0100.00314.70
7.3.70.0000.01314.69
7.3.60.0120.00614.49
7.3.50.0040.01214.60
7.3.40.0030.00614.77
7.3.30.0090.00314.91
7.3.20.0070.00716.60
7.3.10.0060.01016.72
7.3.00.0050.00516.43
7.2.330.0040.01316.39
7.2.320.0060.01716.81
7.2.310.0040.01616.45
7.2.300.0100.00616.78
7.2.290.0110.00616.81
7.2.260.0110.00714.87
7.2.250.0090.00615.23
7.2.240.0100.00614.61
7.2.230.0070.01114.91
7.2.220.0030.01415.11
7.2.210.0030.01315.04
7.2.200.0040.01114.91
7.2.190.0100.00414.84
7.2.180.0110.00314.99
7.2.170.0040.00814.75
7.2.160.0070.00714.89
7.2.150.0070.01016.95
7.2.140.0090.00016.76
7.2.130.0000.01216.47
7.2.120.0070.00816.77
7.2.110.0070.00716.95
7.2.100.0040.01116.94
7.2.90.0030.00916.83
7.2.80.0040.00816.66
7.2.70.0070.00716.90
7.2.60.0030.01216.98
7.2.50.0060.00516.73
7.2.40.0080.00616.88
7.2.30.0060.00916.90
7.2.20.0000.01516.73
7.2.10.0000.01516.84
7.2.00.0070.00716.66
7.1.330.0030.00715.80
7.1.320.0120.00615.61
7.1.310.0090.00315.89
7.1.300.0060.00915.61
7.1.290.0030.00515.80
7.1.280.0040.01115.40
7.1.270.0040.00715.91
7.1.260.0000.01115.88
7.1.250.0050.00515.76
7.1.240.0030.00715.50
7.1.230.0040.00815.35
7.1.220.0030.01015.49
7.1.210.0090.00615.38
7.1.200.0080.00415.83
7.1.190.0060.00615.86
7.1.180.0030.00615.93
7.1.170.0080.00515.87
7.1.160.0060.00315.35
7.1.150.0000.01515.68
7.1.140.0040.00415.66
7.1.130.0000.01515.57
7.1.120.0040.00415.64
7.1.110.0080.00515.78
7.1.100.0070.00315.84
7.1.90.0060.00615.74
7.1.80.0070.00715.84
7.1.70.0030.01016.52
7.1.60.0100.00717.55
7.1.50.0050.01116.22
7.1.40.0030.00915.81
7.1.30.0040.00915.82
7.1.20.0040.01115.66
7.1.10.0080.00815.84
7.1.00.0070.04019.16
7.0.330.0000.01315.36
7.0.320.0000.01115.54
7.0.310.0110.00015.50
7.0.300.0030.01015.06
7.0.290.0060.00315.07
7.0.280.0140.00015.52
7.0.270.0040.01115.35
7.0.260.0060.00315.34
7.0.250.0030.01015.29
7.0.240.0000.01115.39
7.0.230.0090.00915.21
7.0.220.0040.00915.49
7.0.210.0060.00915.40
7.0.200.0050.00615.86
7.0.190.0030.01015.28
7.0.180.0120.00015.32
7.0.170.0030.00815.13
7.0.160.0080.00815.13
7.0.150.0000.01315.14
7.0.140.0020.04218.61
7.0.130.0000.01015.28
7.0.120.0050.04018.71
7.0.110.0090.00015.39
7.0.100.0100.00315.42
7.0.90.0030.00715.29
7.0.80.0000.01315.22
7.0.70.0000.01315.37
7.0.60.0080.03517.78
7.0.50.0020.03216.71
7.0.40.0090.04616.74
7.0.30.0170.03216.75
7.0.20.0180.04616.77
7.0.10.0050.03016.83
7.0.00.0110.04116.76
5.6.400.0070.00414.44
5.6.390.0120.00314.22
5.6.380.0000.01314.29
5.6.370.0060.00914.05
5.6.360.0050.00313.84
5.6.350.0080.00814.55
5.6.340.0060.00614.09
5.6.330.0060.00914.35
5.6.320.0040.00814.44
5.6.310.0030.00614.28
5.6.300.0030.00914.36
5.6.290.0030.00913.93
5.6.280.0020.04017.74
5.6.270.0070.00714.03
5.6.260.0000.01014.34
5.6.250.0000.00814.17
5.6.240.0030.01014.53
5.6.230.0070.00414.49
5.6.220.0120.00014.26
5.6.210.0080.03017.39
5.6.200.0030.02516.18
5.6.190.0070.04417.37
5.6.180.0170.03417.33
5.6.170.0130.02817.22
5.6.160.0080.04617.24
5.6.150.0100.04216.29
5.6.140.0070.03916.33
5.6.130.0070.02516.07
5.6.120.0100.03817.70
5.6.110.0090.04417.70
5.6.100.0070.04517.78
5.6.90.0050.05017.67
5.6.80.0060.02417.18
5.6.70.0150.04017.42
5.6.60.0030.00914.18
5.6.50.0040.01114.11
5.6.40.0030.01314.10
5.6.30.0090.00014.08
5.6.20.0080.00514.22
5.6.10.0030.00914.42
5.6.00.0000.01314.44
5.5.380.0030.01014.37
5.5.370.0000.00813.81
5.5.360.0060.00614.19
5.5.350.0160.02317.35
5.5.340.0060.04516.05
5.5.330.0130.03017.05
5.5.320.0050.04217.05
5.5.310.0150.03717.19
5.5.300.0050.02516.09
5.5.290.0050.04615.91
5.5.280.0070.04317.46
5.5.270.0030.02717.29
5.5.260.0050.04817.55
5.5.250.0050.03417.21
5.5.240.0020.04917.26
5.5.230.0140.00014.22
5.5.220.0030.00914.21
5.5.210.0000.00813.98
5.5.200.0100.00314.09
5.5.190.0070.00714.27
5.5.180.0040.00814.22
5.5.170.0040.00714.08
5.5.160.0000.01614.04
5.5.150.0040.00814.19
5.5.140.0040.00414.13
5.5.130.0060.00914.01
5.5.120.0000.01114.23
5.5.110.0060.00613.94
5.5.100.0000.01414.16
5.5.90.0030.01014.13
5.5.80.0040.01113.72
5.5.70.0070.00313.99
5.5.60.0000.01114.12
5.5.50.0070.00713.89
5.5.40.0100.00714.08
5.5.30.0030.00614.13
5.5.20.0100.00313.95
5.5.10.0000.01413.93
5.5.00.0090.00014.06
5.4.450.0150.02015.06
5.4.440.0100.02015.31
5.4.430.0170.03515.17
5.4.420.0110.02515.29
5.4.410.0120.02315.13
5.4.400.0080.02914.99
5.4.390.0130.01915.05
5.4.380.0100.01815.10
5.4.370.0070.02514.92
5.4.360.0120.02014.90
5.4.350.0130.02014.88
5.4.340.0110.02014.96
5.4.330.0000.00710.99
5.4.320.0100.02214.74
5.4.310.0080.02014.95
5.4.300.0100.02814.91
5.4.290.0050.02414.96
5.4.280.0100.02015.00
5.4.270.0140.01515.15
5.4.260.0100.02015.11
5.4.250.0100.02315.03
5.4.240.0120.02014.79
5.4.230.0100.01814.88
5.4.220.0110.02114.94
5.4.210.0090.03514.67
5.4.200.0070.02114.84
5.4.190.0150.02715.07
5.4.180.0100.02414.93
5.4.170.0150.02515.01
5.4.160.0050.02614.97
5.4.150.0120.02015.01
5.4.140.0100.01813.59
5.4.130.0060.02313.61
5.4.120.0070.02913.67
5.4.110.0130.02513.55
5.4.100.0130.02313.43
5.4.90.0150.02013.71
5.4.80.0110.01813.57
5.4.70.0070.02213.61
5.4.60.0080.03013.66
5.4.50.0080.02413.57
5.4.40.0110.01613.71
5.4.30.0100.01913.41
5.4.20.0150.03013.69
5.4.10.0100.02013.50
5.4.00.0160.02513.32
5.3.290.0110.02812.51
5.3.280.0100.02012.47
5.3.270.0110.02312.44
5.3.260.0110.02712.38
5.3.250.0120.01812.42
5.3.240.0100.02212.40
5.3.230.0100.02612.32
5.3.220.0100.02312.43
5.3.210.0100.02312.40
5.3.200.0110.02212.37
5.3.190.0080.02212.33
5.3.180.0100.03712.52
5.3.170.0150.01512.54
5.3.160.0080.02512.56
5.3.150.0080.02412.44
5.3.140.0070.02312.35
5.3.130.0100.03212.40
5.3.120.0080.02012.43
5.3.110.0050.02812.42
5.3.100.0100.02211.99
5.3.90.0120.02012.28
5.3.80.0120.02312.02
5.3.70.0070.03012.04
5.3.60.0100.02012.19
5.3.50.0140.02012.06
5.3.40.0100.02112.07
5.3.30.0060.02812.13
5.3.20.0060.02211.95
5.3.10.0100.02511.79
5.3.00.0120.02011.79
5.2.170.0070.04011.19
5.2.160.0170.03011.21
5.2.150.0170.05711.05
5.2.140.0170.03711.05
5.2.130.0170.05311.15
5.2.120.0170.02710.93
5.2.110.0170.03710.98
5.2.100.0130.03711.15
5.2.90.0130.02711.11
5.2.80.0130.04010.98
5.2.70.0130.03011.11
5.2.60.0070.03310.99
5.2.50.0270.03010.93
5.2.40.0130.03010.85
5.2.30.0170.03711.13
5.2.20.0170.04310.82
5.2.10.0170.02310.90
5.2.00.0130.02710.61
5.1.60.0130.0279.89
5.1.50.0130.04710.11
5.1.40.0170.0309.88
5.1.30.0100.03010.30
5.1.20.0070.03010.24
5.1.10.0130.02310.04
5.1.00.0170.0209.95
5.0.50.0030.0339.88
5.0.40.0070.0209.88
5.0.30.0030.0339.88
5.0.20.0100.0179.88
5.0.10.0130.0239.88
5.0.00.0070.0379.88
4.4.90.0070.0139.88
4.4.80.0000.0239.88
4.4.70.0030.0179.88
4.4.60.0100.0139.88
4.4.50.0070.0179.88
4.4.40.0100.0179.88
4.4.30.0100.0139.88
4.4.20.0100.0139.88
4.4.10.0130.0139.88
4.4.00.0100.0509.88
4.3.110.0030.0179.88
4.3.100.0030.0179.88
4.3.90.0100.0139.88
4.3.80.0070.0239.88
4.3.70.0030.0209.88
4.3.60.0070.0139.88
4.3.50.0030.0179.88
4.3.40.0030.0309.88
4.3.30.0030.0179.88
4.3.20.0000.0179.88
4.3.10.0030.0179.88
4.3.00.0030.0139.88

preferences:
48.52 ms | 400 KiB | 5 Q