3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '#ORGNR "123" 1 #ACCOUNT 1010 "Kassa" #ACCOUNT 1050 "Bank" #IB -1 1010 1923.15 #IB 1 1050 201.42'; $arr = explode("\n", $str); // you use file but it's the same thing foreach($arr as &$val){ $val = preg_split("/\s+/", $val); } var_dump($arr);

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.130.0000.00818.38
8.3.120.0060.00318.85
8.3.110.0070.01320.94
8.3.100.0030.00724.06
8.3.90.0080.00026.77
8.3.80.0090.00016.88
8.3.70.0150.00616.63
8.3.60.0060.00918.43
8.3.50.0080.01023.66
8.3.40.0040.01218.84
8.3.30.0060.01018.78
8.3.20.0000.00724.18
8.3.10.0040.00424.66
8.3.00.0080.00026.16
8.2.250.0040.00416.81
8.2.240.0090.00018.86
8.2.230.0090.00022.58
8.2.220.0100.01037.54
8.2.210.0090.00626.77
8.2.200.0070.00316.63
8.2.190.0180.00016.88
8.2.180.0040.01125.92
8.2.170.0120.00319.04
8.2.160.0090.00622.96
8.2.150.0030.00625.66
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0000.00821.07
8.2.110.0000.01022.13
8.2.100.0090.00317.97
8.2.90.0000.01317.75
8.2.80.0080.00017.97
8.2.70.0000.00819.38
8.2.60.0030.00717.75
8.2.50.0060.00317.88
8.2.40.0040.00721.32
8.2.30.0000.00719.16
8.2.20.0080.00018.03
8.2.10.0040.00419.38
8.2.00.0040.00419.23
8.1.300.0000.00916.37
8.1.290.0000.00918.88
8.1.280.0150.00725.92
8.1.270.0080.00020.65
8.1.260.0030.00626.35
8.1.250.0070.00028.09
8.1.240.0060.00323.92
8.1.230.0040.00719.16
8.1.220.0040.00417.77
8.1.210.0040.00418.77
8.1.200.0080.00017.60
8.1.190.0030.00617.50
8.1.180.0040.00418.10
8.1.170.0070.00320.35
8.1.160.0000.00719.02
8.1.150.0000.00718.93
8.1.140.0000.00718.99
8.1.130.0000.00719.44
8.1.120.0050.00217.63
8.1.110.0040.00417.46
8.1.100.0060.00317.51
8.1.90.0070.00017.51
8.1.80.0030.00317.64
8.1.70.0040.00417.49
8.1.60.0060.00317.63
8.1.50.0080.00017.61
8.1.40.0040.00417.54
8.1.30.0060.00317.87
8.1.20.0040.00417.84
8.1.10.0040.00417.68
8.1.00.0000.00817.47
8.0.300.0040.00419.66
8.0.290.0000.00816.75
8.0.280.0070.00018.52
8.0.270.0040.00416.92
8.0.260.0030.00616.82
8.0.250.0000.00717.11
8.0.240.0040.00417.10
8.0.230.0080.00016.98
8.0.220.0000.00717.03
8.0.210.0000.00816.96
8.0.200.0030.00317.13
8.0.190.0040.00417.12
8.0.180.0030.00517.06
8.0.170.0000.00817.07
8.0.160.0030.00317.16
8.0.150.0060.00317.00
8.0.140.0040.00416.93
8.0.130.0030.00313.43
8.0.120.0050.00317.07
8.0.110.0040.00416.87
8.0.100.0070.00016.84
8.0.90.0040.00417.09
8.0.80.0040.01116.95
8.0.70.0000.00716.94
8.0.60.0040.00416.95
8.0.50.0050.00217.04
8.0.30.0120.00917.25
8.0.20.0100.00817.03
8.0.10.0000.00717.20
8.0.00.0090.00916.79
7.4.330.0000.00515.55
7.4.320.0030.00316.65
7.4.300.0070.00016.73
7.4.290.0070.00016.81
7.4.280.0000.00716.80
7.4.270.0030.00316.73
7.4.260.0030.00313.56
7.4.250.0030.00316.77
7.4.240.0000.00816.82
7.4.230.0040.00416.83
7.4.220.0020.00516.68
7.4.210.0070.01116.80
7.4.200.0020.00516.93
7.4.130.0110.00716.54
7.4.120.0060.01316.65
7.4.110.0110.00716.72
7.4.100.0030.01416.71
7.4.90.0070.01116.58
7.4.80.0150.00619.39
7.4.70.0140.00619.39
7.4.60.0210.00319.39
7.4.50.0200.00919.39
7.4.40.0200.00319.39
7.4.30.0170.01019.39
7.4.20.0150.00819.39
7.4.10.0080.02019.39
7.4.00.0030.01819.39
7.3.330.0050.00516.54
7.3.320.0050.00013.26
7.3.310.0040.00416.38
7.3.300.0000.00716.25
7.3.290.0040.01216.47
7.3.280.0070.00716.49
7.3.260.0140.01016.43
7.3.240.0060.01216.55
7.3.230.0100.01016.54
7.3.210.0090.00816.85
7.3.200.0110.01519.39
7.3.190.0100.01319.39
7.3.180.0180.00619.39
7.3.170.0220.00419.39
7.3.160.0110.01419.39
7.3.150.0150.01119.39
7.3.140.0190.00519.39
7.3.130.0200.01019.39
7.3.120.0190.00619.39
7.3.110.0160.01019.39
7.3.100.0170.00719.39
7.3.90.0180.00519.39
7.3.80.0120.01219.39
7.3.70.0170.00919.39
7.3.60.0070.01719.39
7.3.50.0160.01019.39
7.3.40.0210.00419.39
7.3.30.0220.00719.39
7.3.20.0170.01519.39
7.3.10.0150.00919.39
7.3.00.0210.01019.39
7.2.330.0160.00316.73
7.2.320.0200.00619.39
7.2.310.0200.00719.39
7.2.300.0140.01219.39
7.2.290.0160.00819.39
7.2.280.0150.00819.39
7.2.270.0210.00919.39
7.2.260.0150.01219.39
7.2.250.0190.01319.39
7.2.240.0180.00519.39
7.2.230.0080.01419.39
7.2.220.0140.02019.39
7.2.210.0230.00419.39
7.2.200.0170.00919.39
7.2.190.0110.01419.39
7.2.180.0190.01419.39
7.2.170.0120.01219.39
7.2.160.0160.00919.39
7.2.150.0130.01319.39
7.2.140.0270.00519.39
7.2.130.0240.00319.39
7.2.120.0220.01219.39
7.2.110.0170.02119.39
7.2.100.0380.00619.39
7.2.90.0170.01219.39
7.2.80.0160.01119.39
7.2.70.0220.02219.39
7.2.60.0140.01519.39
7.2.50.0160.01619.39
7.2.40.0190.00719.39
7.2.30.0120.01719.39
7.2.20.0140.01019.39
7.2.10.0240.01519.39
7.2.00.0200.00819.39

preferences:
26 ms | 403 KiB | 5 Q