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); echo $arr[0]; 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.0120.00618.55
8.3.50.0100.01216.49
8.3.40.0070.01418.84
8.3.30.0170.00318.54
8.3.20.0080.00018.57
8.3.10.0060.00318.73
8.3.00.0050.00319.38
8.2.180.0150.00618.16
8.2.170.0110.00422.96
8.2.160.0090.00618.87
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0080.00019.66
8.2.110.0060.00321.04
8.2.100.0060.00617.93
8.2.90.0030.00519.35
8.2.80.0050.00317.97
8.2.70.0000.00817.75
8.2.60.0040.00418.05
8.2.50.0000.00818.10
8.2.40.0060.00318.34
8.2.30.0070.00317.69
8.2.20.0090.00017.76
8.2.10.0030.00517.82
8.2.00.0050.00317.75
8.1.280.0170.00325.92
8.1.270.0050.00323.99
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0090.00023.87
8.1.230.0040.01117.57
8.1.220.0000.00917.77
8.1.210.0050.00318.77
8.1.200.0090.00017.35
8.1.190.0030.00617.22
8.1.180.0040.00418.10
8.1.170.0030.00618.50
8.1.160.0020.00518.90
8.1.150.0030.00518.64
8.1.140.0040.00417.46
8.1.130.0000.00719.14
8.1.120.0050.00317.57
8.1.110.0040.00417.49
8.1.100.0030.00317.45
8.1.90.0000.00817.38
8.1.80.0000.00717.48
8.1.70.0030.00317.40
8.1.60.0030.00517.59
8.1.50.0040.00417.55
8.1.40.0060.00317.53
8.1.30.0000.00817.63
8.1.20.0090.00017.64
8.1.10.0070.00017.57
8.1.00.0080.00017.39
8.0.300.0000.00718.77
8.0.290.0070.00416.75
8.0.280.0000.00718.46
8.0.270.0030.00317.28
8.0.260.0000.00716.83
8.0.250.0080.00317.02
8.0.240.0070.00016.98
8.0.230.0040.00417.00
8.0.220.0000.01016.95
8.0.210.0030.00316.94
8.0.200.0060.00316.66
8.0.190.0060.00516.95
8.0.180.0000.00716.90
8.0.170.0080.00016.89
8.0.160.0030.00616.81
8.0.150.0090.00016.90
8.0.140.0080.00016.79
8.0.130.0030.00313.42
8.0.120.0080.00016.81
8.0.110.0030.00316.77
8.0.100.0040.00416.94
8.0.90.0000.00716.87
8.0.80.0140.00316.89
8.0.70.0050.00316.84
8.0.60.0040.00416.70
8.0.50.0030.00516.94
8.0.30.0070.01116.89
8.0.20.0060.01217.13
8.0.10.0080.00016.96
8.0.00.0120.00916.63
7.4.330.0050.00012.94
7.4.320.0000.00616.51
7.4.300.0030.00316.50
7.4.290.0030.00516.50
7.4.280.0030.00616.47
7.4.270.0030.00316.50
7.4.260.0000.00513.33
7.4.250.0090.00016.64
7.4.240.0000.00716.45
7.4.230.0030.00316.43
7.4.220.0130.00616.36
7.4.210.0070.01116.63
7.4.200.0000.00716.49
7.4.190.0030.00516.69
7.4.160.0050.01016.37
7.4.150.0040.01316.67
7.4.140.0150.00317.86
7.4.130.0100.01616.57
7.4.120.0070.01116.66
7.4.110.0040.01316.49
7.4.100.0090.01516.46
7.4.90.0070.01416.53
7.4.80.0080.00819.39
7.4.70.0050.01116.53
7.4.60.0070.01016.59
7.4.50.0030.00316.46
7.4.40.0090.00916.15
7.4.30.0060.01316.52
7.4.00.0070.00714.84
7.3.330.0030.00313.17
7.3.320.0000.00513.20
7.3.310.0070.00016.14
7.3.300.0050.00216.32
7.3.290.0070.00816.26
7.3.280.0060.01216.28
7.3.270.0080.01216.20
7.3.260.0030.01416.36
7.3.240.0100.00716.52
7.3.230.0030.01316.32
7.3.210.0090.00916.45
7.3.200.0130.00316.35
7.3.190.0040.01516.55
7.3.180.0070.01016.35
7.3.170.0100.00616.45
7.3.160.0140.00316.50
7.3.120.0090.00615.02
7.2.330.0090.00916.86
7.2.320.0130.00416.81
7.2.310.0150.00716.60
7.2.300.0060.01516.75
7.2.290.0090.00916.69
7.1.70.0000.01017.28
7.1.60.0090.00619.21
7.1.50.0130.00617.02
7.1.00.0000.03322.31
7.0.200.0000.00816.68
7.0.140.0100.06722.12
7.0.120.0000.03722.04
7.0.60.0030.08320.02
7.0.50.0000.08017.91
7.0.40.0100.03717.70
7.0.30.0070.08317.74
7.0.20.0070.04317.79
7.0.10.0000.08317.65
7.0.00.0030.06717.75
5.6.280.0030.07321.03
5.6.210.0070.08020.49
5.6.200.0100.05318.06
5.6.190.0130.03318.21
5.6.180.0070.04018.20
5.6.170.0070.08018.11
5.6.160.0100.08018.12
5.6.150.0130.07718.11
5.6.140.0070.07318.18
5.6.130.0100.07018.18
5.6.120.0000.07318.17
5.6.110.0070.04018.18
5.6.100.0070.07718.17
5.6.90.0070.07318.15
5.6.80.0000.06717.55
5.6.70.0100.06317.52
5.6.60.0130.07017.55
5.6.50.0100.07317.54
5.6.40.0070.04717.48
5.6.30.0070.03717.54
5.6.20.0070.04317.51
5.6.10.0070.03717.57
5.6.00.0000.04317.46
5.5.350.0130.08020.47
5.5.340.0130.06718.02
5.5.330.0030.04017.98
5.5.320.0100.03717.97
5.5.310.0070.06717.98
5.5.300.0070.06718.02
5.5.290.0100.04718.00
5.5.280.0030.05717.97
5.5.270.0030.06017.91
5.5.260.0100.07017.96
5.5.250.0030.08017.79
5.5.240.0130.07317.40
5.5.230.0030.04317.31
5.5.220.0130.04017.39
5.5.210.0100.06017.36
5.5.200.0100.07717.27
5.5.190.0130.04717.31
5.5.180.0030.05717.36
5.5.160.0000.04317.25
5.5.150.0100.07317.36
5.5.140.0130.04717.22
5.5.130.0200.06317.35
5.5.120.0000.04717.32
5.5.110.0070.08017.35
5.5.100.0070.05317.18
5.5.90.0070.04717.27
5.5.80.0070.04717.22
5.5.70.0070.07017.22
5.5.60.0030.08017.16
5.5.50.0100.05017.27
5.5.40.0030.04017.15
5.5.30.0000.08717.14
5.5.20.0230.06717.26
5.5.10.0100.07317.26
5.5.00.0100.04317.25
5.4.450.0100.07319.30
5.4.440.0000.04719.44
5.4.430.0000.05719.35
5.4.420.0070.06319.30
5.4.410.0100.07319.02
5.4.400.0100.06719.13
5.4.390.0030.04019.12
5.4.380.0100.03318.98
5.4.370.0030.04018.98
5.4.360.0100.06019.02
5.4.350.0000.04018.82
5.4.340.0000.05318.88
5.4.320.0030.08319.01
5.4.310.0070.06019.07
5.4.300.0100.04318.99
5.4.290.0030.04718.98
5.4.280.0030.08718.96
5.4.270.0100.07719.13
5.4.260.0030.08318.88
5.4.250.0030.06718.97
5.4.240.0030.06719.09
5.4.230.0170.05018.81
5.4.220.0030.04718.97
5.4.210.0070.04719.11
5.4.200.0070.04719.02
5.4.190.0070.04018.98
5.4.180.0030.07719.09
5.4.170.0100.07019.06
5.4.160.0070.05319.07
5.4.150.0030.04718.96
5.4.140.0070.06716.49
5.4.130.0000.08016.16
5.4.120.0100.07316.30
5.4.110.0000.05316.29
5.4.100.0100.03716.36
5.4.90.0070.06016.34
5.4.80.0170.06716.24
5.4.70.0070.05716.13
5.4.60.0130.06716.26
5.4.50.0000.04716.49
5.4.40.0270.05716.46
5.4.30.0100.07016.48
5.4.20.0030.07316.49
5.4.10.0230.06016.25
5.4.00.0130.06715.69
5.3.290.0070.07014.59
5.3.280.0200.05014.57
5.3.270.0100.06014.55
5.3.260.0070.07714.43
5.3.250.0030.05714.38
5.3.240.0000.08014.42
5.3.230.0230.07314.37
5.3.220.0070.08014.42
5.3.210.0130.06014.44
5.3.200.0170.07014.48
5.3.190.0100.04714.54
5.3.180.0070.07314.53
5.3.170.0030.05714.50
5.3.160.0100.07014.53
5.3.150.0070.07014.42
5.3.140.0070.07314.33
5.3.130.0100.07714.50
5.3.120.0130.07714.38
5.3.110.0100.07314.47
5.3.100.0000.04713.95
5.3.90.0070.03313.87
5.3.80.0000.04313.80
5.3.70.0170.06313.98
5.3.60.0030.04013.96
5.3.50.0000.04013.87
5.3.40.0030.05713.70
5.3.30.0030.05713.86
5.3.20.0030.03713.46
5.3.10.0070.07313.61
5.3.00.0030.07313.49
5.2.170.0070.06311.11
5.2.160.0100.05310.98
5.2.150.0030.04711.13
5.2.140.0070.03711.12
5.2.130.0000.04011.02
5.2.120.0100.04011.04
5.2.110.0100.05311.09
5.2.100.0100.06011.05
5.2.90.0030.04711.12
5.2.80.0030.06311.05
5.2.70.0030.05011.23
5.2.60.0070.04711.04
5.2.50.0000.06010.93
5.2.40.0130.05310.91
5.2.30.0030.05310.79
5.2.20.0100.02711.10
5.2.10.0000.04710.88
5.2.00.0070.05710.75
5.1.60.0070.0239.97
5.1.50.0030.02710.13
5.1.40.0000.0279.97
5.1.30.0030.06010.33
5.1.20.0030.05710.30
5.1.10.0030.03710.04
5.1.00.0030.03710.03
5.0.50.0030.0479.09
5.0.40.0100.0209.09
5.0.30.0030.0439.09
5.0.20.0030.0209.09
5.0.10.0100.0139.09
5.0.00.0000.0379.09
4.4.90.0000.0339.09
4.4.80.0000.0409.09
4.4.70.0070.0309.09
4.4.60.0000.0379.09
4.4.50.0030.0379.09
4.4.40.0000.0339.09
4.4.30.0000.0309.09
4.4.20.0070.0309.09
4.4.10.0000.0379.09
4.4.00.0070.0379.09
4.3.110.0000.0209.09
4.3.100.0030.0179.09
4.3.90.0000.0279.09
4.3.80.0030.0279.09
4.3.70.0070.0339.09
4.3.60.0030.0179.09
4.3.50.0030.0339.09
4.3.40.0030.0379.09
4.3.30.0030.0339.09
4.3.20.0000.0279.09
4.3.10.0000.0379.09
4.3.00.0070.0179.09

preferences:
53.36 ms | 401 KiB | 5 Q