3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = <<<EOL "0,00","test1 test2 test3 test4 test5 test6","0,00" EOL; var_dump(str_getcsv($string, "\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.0030.01516.50
8.3.50.0100.00316.32
8.3.40.0140.00018.66
8.3.30.0000.01518.59
8.3.20.0080.00020.39
8.3.10.0060.00321.82
8.3.00.0040.00420.16
8.2.180.0160.00616.50
8.2.170.0120.00622.96
8.2.160.0070.00720.39
8.2.150.0070.00024.18
8.2.140.0040.00424.66
8.2.130.0140.00021.12
8.2.120.0050.00326.35
8.2.110.0030.00719.39
8.2.100.0060.00618.09
8.2.90.0040.00419.05
8.2.80.0040.00417.97
8.2.70.0000.00917.50
8.2.60.0000.00817.80
8.2.50.0000.00818.10
8.2.40.0070.00020.60
8.2.30.0000.00820.88
8.2.20.0070.00017.99
8.2.10.0040.00418.10
8.2.00.0000.00718.04
8.1.280.0130.00725.92
8.1.270.0000.00822.20
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0060.00323.95
8.1.230.0040.01117.42
8.1.220.0000.01017.74
8.1.210.0000.00818.77
8.1.200.0090.00017.35
8.1.190.0040.00417.10
8.1.180.0000.00718.10
8.1.170.0000.00820.25
8.1.160.0000.00719.02
8.1.150.0050.00220.48
8.1.140.0030.00719.43
8.1.130.0070.00018.81
8.1.120.0050.00217.40
8.1.110.0000.00817.34
8.1.100.0040.00417.39
8.1.90.0080.00017.41
8.1.80.0070.00017.46
8.1.70.0040.00417.44
8.1.60.0000.01017.49
8.1.50.0070.00317.47
8.1.40.0040.00417.50
8.1.30.0040.00417.48
8.1.20.0080.00017.50
8.1.10.0000.00717.48
8.1.00.0030.00517.28
8.0.300.0080.00018.77
8.0.290.0000.00816.63
8.0.280.0000.00718.42
8.0.270.0000.00717.06
8.0.260.0000.00716.84
8.0.250.0040.00416.86
8.0.240.0000.00717.00
8.0.230.0040.00416.93
8.0.220.0050.00316.81
8.0.210.0030.00416.88
8.0.200.0000.00616.94
8.0.190.0040.00416.85
8.0.180.0040.00416.79
8.0.170.0030.00316.93
8.0.160.0030.00516.87
8.0.150.0070.00016.81
8.0.140.0000.00816.81
8.0.130.0000.00513.36
8.0.120.0040.00416.74
8.0.110.0000.00816.86
8.0.100.0040.00416.89
8.0.90.0070.00016.89
8.0.80.0100.00716.88
8.0.70.0050.00216.95
8.0.60.0080.00016.93
8.0.50.0050.00316.71
8.0.30.0120.00716.97
8.0.20.0130.00817.40
8.0.10.0040.00417.02
8.0.00.0180.00016.64
7.4.330.0060.00015.55
7.4.320.0030.00316.52
7.4.300.0060.00016.52
7.4.290.0040.00416.45
7.4.280.0000.00816.48
7.4.270.0030.00316.36
7.4.260.0000.00716.43
7.4.250.0080.00016.36
7.4.240.0000.00816.37
7.4.230.0030.00316.57
7.4.220.0100.01016.57
7.4.210.0040.01216.57
7.4.200.0070.00016.43
7.4.160.0040.01116.31
7.4.150.0180.00717.40
7.4.140.0130.01017.86
7.4.130.0170.00316.29
7.4.120.0100.01216.56
7.4.110.0060.01516.54
7.4.100.0090.00916.47
7.4.90.0130.00316.46
7.4.80.0060.01219.39
7.4.70.0080.00816.44
7.4.60.0100.00616.57
7.4.50.0120.00216.35
7.4.40.0120.00916.61
7.4.30.0030.01216.16
7.4.00.0100.00714.83
7.3.330.0050.00012.96
7.3.320.0050.00013.04
7.3.310.0040.00416.07
7.3.300.0000.00716.23
7.3.290.0030.01116.19
7.3.280.0080.00916.17
7.3.270.0090.00917.40
7.3.260.0110.00616.35
7.3.250.0140.00816.27
7.3.240.0110.00616.22
7.3.230.0150.00316.11
7.3.210.0100.00716.48
7.3.200.0120.00616.25
7.3.190.0100.00616.37
7.3.180.0060.01016.24
7.3.170.0000.01616.36
7.3.160.0120.00616.30
7.2.330.0090.00916.09
7.2.320.0090.01216.55
7.2.310.0090.00816.32
7.2.300.0060.01016.45
7.2.290.0100.00716.53
7.2.60.0100.00616.41
7.2.00.0000.01518.85
7.1.200.0030.00615.70
7.1.100.0000.01618.26
7.1.70.0300.01415.20
7.1.60.0410.01034.88
7.1.50.0250.01934.61
7.1.40.0230.01034.36
7.1.30.0190.01234.45
7.1.20.0230.01334.52
7.1.10.0180.00416.61
7.1.00.0160.00416.64
7.0.200.0060.00916.62
7.0.190.0100.00316.65
7.0.180.0000.01416.04
7.0.170.0090.00616.21
7.0.160.0040.01116.10
7.0.150.0060.01416.16
7.0.140.0040.01116.25
7.0.130.0040.01116.33
7.0.120.0040.01116.58
7.0.110.0050.01316.25
7.0.100.0060.01015.97
7.0.90.0060.01216.24
7.0.80.0160.00316.03
7.0.70.0060.01015.98
7.0.60.0030.01216.05
7.0.50.0040.01116.32
7.0.40.0030.01616.48
7.0.30.0090.00916.33
7.0.20.0060.00816.36
7.0.10.0100.00716.25
7.0.00.0040.01116.24

preferences:
55.51 ms | 400 KiB | 5 Q