3v4l.org

run code in 300+ PHP versions simultaneously
<?php $line = '"A";"Some ""Stuff""";"C"'; $token = str_getcsv($line, ';', '"', '\\'); print_r($token);

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.1.130.0030.00518.80
8.1.120.0070.00017.29
8.1.110.0050.00317.42
8.1.100.0000.00817.32
8.1.90.0000.00717.42
8.1.80.0000.00717.40
8.1.70.0000.00717.41
8.1.60.0000.00717.51
8.1.50.0000.01317.37
8.1.40.0000.00817.42
8.1.30.0000.00717.61
8.1.20.0050.00217.49
8.1.10.0080.00017.30
8.1.00.0000.00717.37
8.0.260.0030.00318.72
8.0.250.0030.00316.85
8.0.240.0000.00816.87
8.0.230.0040.00416.88
8.0.220.0070.00016.70
8.0.210.0000.00716.83
8.0.200.0000.00716.89
8.0.190.0030.00516.90
8.0.180.0040.00416.82
8.0.170.0040.00416.74
8.0.160.0050.00216.91
8.0.150.0040.00416.74
8.0.140.0000.00716.83
8.0.130.0090.00013.25
8.0.120.0000.00716.80
8.0.110.0030.00316.86
8.0.100.0080.00016.77
8.0.90.0000.00816.65
8.0.80.0110.00716.80
8.0.70.0050.00216.75
8.0.60.0040.00416.88
8.0.50.0020.00516.78
8.0.30.0120.00716.89
8.0.20.0090.01117.40
8.0.10.0040.00416.81
8.0.00.0100.00616.45
7.4.330.0020.00215.55
7.4.320.0030.00316.52
7.4.300.0060.00016.43
7.4.290.0030.00316.43
7.4.280.0070.00016.48
7.4.270.0000.00716.52
7.4.260.0000.00816.56
7.4.250.0070.00016.55
7.4.240.0040.00416.54
7.4.230.0000.00716.32
7.4.220.0060.01216.41
7.4.210.0040.01116.41
7.4.200.0000.00716.36
7.4.160.0060.00916.37
7.4.150.0090.00917.40
7.4.140.0090.00817.86
7.4.130.0140.00516.37
7.4.120.0110.00716.40
7.4.110.0090.00816.46
7.4.100.0100.01316.15
7.4.90.0130.00316.34
7.4.80.0110.01119.39
7.4.70.0030.01316.54
7.4.60.0040.01216.48
7.4.50.0110.00316.45
7.4.40.0030.01316.36
7.4.30.0080.00816.43
7.4.10.0000.01814.66
7.4.00.0110.00614.84
7.3.330.0050.00012.97
7.3.320.0030.00312.97
7.3.310.0000.00616.00
7.3.300.0050.00216.07
7.3.290.0100.00816.11
7.3.280.0090.00916.14
7.3.270.0110.00717.40
7.3.260.0060.01016.24
7.3.250.0070.01316.19
7.3.240.0080.00816.17
7.3.230.0100.00716.11
7.3.210.0110.01116.30
7.3.200.0110.00516.51
7.3.190.0080.00816.39
7.3.180.0110.00516.30
7.3.170.0060.01216.03
7.3.160.0090.00616.37
7.3.130.0100.01014.95
7.3.120.0090.00914.58
7.3.110.0080.00814.62
7.3.100.0050.01514.75
7.3.90.0060.00814.65
7.3.80.0080.00914.73
7.3.70.0070.00714.71
7.3.60.0100.00614.68
7.3.50.0050.00714.55
7.3.40.0060.00514.59
7.3.30.0070.00614.57
7.3.20.0050.01015.85
7.3.10.0040.01015.88
7.3.00.0050.00915.73
7.2.330.0070.01016.56
7.2.320.0120.00816.22
7.2.310.0070.01416.16
7.2.300.0100.01316.31
7.2.290.0130.01016.62
7.2.260.0120.00614.88
7.2.250.0110.00714.74
7.2.240.0030.01114.90
7.2.230.0050.01015.03
7.2.220.0090.00715.01
7.2.210.0060.01114.90
7.2.200.0040.00714.82
7.2.190.0080.00414.92
7.2.180.0070.00614.94
7.2.170.0090.00614.87
7.2.160.0040.00814.93
7.2.150.0090.00416.29
7.2.140.0040.01116.18
7.2.130.0070.01016.10
7.2.120.0080.00916.01
7.2.110.0090.00816.15
7.2.100.0060.00816.15
7.2.90.0090.00916.21
7.2.80.0090.00515.96
7.2.70.0100.00416.20
7.2.60.0050.01016.33
7.2.50.0070.01016.18
7.2.40.0100.00516.23
7.2.30.0080.00716.13
7.2.20.0090.00616.27
7.2.10.0060.00916.15
7.2.00.0030.01116.24
7.1.330.0060.01015.62
7.1.320.0070.00815.09
7.1.310.0100.00715.19
7.1.300.0050.00715.12
7.1.290.0060.01014.95
7.1.280.0070.00315.00
7.1.270.0040.00915.04
7.1.260.0070.00815.03
7.1.250.0050.00715.07
7.1.240.0100.00615.02
7.1.230.0100.00615.14
7.1.220.0100.00715.04
7.1.210.0180.00715.10
7.1.200.0070.00915.29
7.1.190.0140.00515.01
7.1.180.0070.01114.95
7.1.170.0090.00715.04
7.1.160.0060.01015.11
7.1.150.0100.00615.20
7.1.140.0090.00515.02
7.1.130.0180.00815.06
7.1.120.0090.00515.04
7.1.110.0090.00615.27
7.1.100.0060.01015.20
7.1.90.0070.01315.26
7.1.80.0090.00615.17
7.1.70.0150.00615.21
7.1.60.0180.00919.64
7.1.50.0200.00619.54
7.1.40.0270.00719.41
7.1.30.0260.00919.45
7.1.20.0170.00719.46
7.1.10.0170.00915.04
7.1.00.0190.00515.06
7.0.330.0200.00313.44
7.0.320.0180.00913.34
7.0.310.0170.00713.48
7.0.300.0070.01513.38
7.0.290.0120.00813.66
7.0.280.0180.00613.44
7.0.270.0080.01213.68
7.0.260.0130.00513.34
7.0.250.0160.00513.39
7.0.240.0170.00413.61
7.0.230.0180.00313.63
7.0.220.0130.00913.39
7.0.210.0250.00013.52
7.0.200.0360.00914.19
7.0.190.0230.00814.08
7.0.180.0380.00413.81
7.0.170.0260.00513.81
7.0.160.0640.01213.99
7.0.150.0270.01113.96
7.0.140.0210.00714.01
7.0.130.0170.01114.08
7.0.120.0260.00213.97
7.0.110.0250.00613.95
7.0.100.0220.01013.91
7.0.90.0210.01013.99
7.0.80.0240.00513.86
7.0.70.0220.01113.91
7.0.60.0240.00613.82
7.0.50.0240.00614.12
7.0.40.0200.01114.11
7.0.30.0240.00314.14
7.0.20.0200.01014.04
7.0.10.0360.00713.93
7.0.00.0180.00814.09
5.6.400.0120.01214.40
5.6.390.0070.01314.21
5.6.380.0130.00814.36

preferences:
12.85 ms | 406 KiB | 5 Q