3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = <<<EOL "test0","test1 test2 test3 test4 test5 test6",test7 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.70.0160.00318.18
8.3.60.0040.01516.75
8.3.50.0100.00816.47
8.3.40.0130.00318.59
8.3.30.0110.00418.76
8.3.20.0040.00422.07
8.3.10.0030.00623.50
8.3.00.0040.00420.29
8.2.180.0130.00616.32
8.2.170.0070.01122.96
8.2.160.0160.00020.35
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0050.00321.12
8.2.120.0080.00026.35
8.2.110.0040.00719.16
8.2.100.0040.00818.09
8.2.90.0000.00819.22
8.2.80.0050.00317.97
8.2.70.0040.00417.50
8.2.60.0000.00818.04
8.2.50.0060.00318.10
8.2.40.0050.00320.38
8.2.30.0050.00320.96
8.2.20.0070.00018.05
8.2.10.0000.00718.00
8.2.00.0000.00717.97
8.1.280.0070.01025.92
8.1.270.0060.00322.18
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0040.00423.93
8.1.230.0140.00017.42
8.1.220.0090.00017.74
8.1.210.0050.00318.77
8.1.200.0060.00317.23
8.1.190.0030.00517.00
8.1.180.0000.00918.10
8.1.170.0040.00420.16
8.1.160.0040.00418.97
8.1.150.0040.00420.61
8.1.140.0040.00419.51
8.1.130.0040.00419.09
8.1.120.0070.00017.41
8.1.110.0000.00817.34
8.1.100.0030.00517.36
8.1.90.0000.00717.28
8.1.80.0000.00717.24
8.1.70.0050.00217.36
8.1.60.0000.00917.42
8.1.50.0060.00317.35
8.1.40.0040.00417.43
8.1.30.0050.00317.59
8.1.20.0040.00417.55
8.1.10.0040.00417.45
8.1.00.0040.00417.41
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0040.00418.27
8.0.270.0000.00717.19
8.0.260.0030.00318.61
8.0.250.0000.00616.92
8.0.240.0040.00416.97
8.0.230.0040.00416.99
8.0.220.0000.00716.78
8.0.210.0000.00716.92
8.0.200.0000.00616.96
8.0.190.0040.00416.90
8.0.180.0040.00416.90
8.0.170.0050.00316.85
8.0.160.0030.00316.88
8.0.150.0040.00416.82
8.0.140.0020.00516.78
8.0.130.0030.00313.28
8.0.120.0000.00716.86
8.0.110.0030.00316.75
8.0.100.0040.00416.86
8.0.90.0000.00716.87
8.0.80.0260.00316.84
8.0.70.0040.00416.95
8.0.60.0040.00416.84
8.0.50.0000.00816.93
8.0.30.0120.00716.90
8.0.20.0080.01217.40
8.0.10.0040.00416.88
8.0.00.0130.01016.87
7.4.330.0030.00315.55
7.4.320.0000.00616.49
7.4.300.0030.00316.45
7.4.290.0070.00016.45
7.4.280.0040.00316.53
7.4.270.0030.00316.47
7.4.260.0000.00716.50
7.4.250.0000.00716.39
7.4.240.0000.00716.46
7.4.230.0030.00316.32
7.4.220.0200.00716.39
7.4.210.0070.01316.44
7.4.200.0000.00716.54
7.4.160.0080.01016.44
7.4.150.0070.01117.40
7.4.140.0170.00817.86
7.4.130.0030.01716.34
7.4.120.0070.01416.37
7.4.110.0100.01316.65
7.4.100.0090.00616.41
7.4.90.0140.00916.56
7.4.80.0150.00919.39
7.4.70.0000.01616.40
7.4.60.0120.00316.52
7.4.50.0080.00816.45
7.4.40.0070.01016.45
7.4.30.0060.01216.17
7.4.00.0100.00714.64
7.3.330.0060.00012.99
7.3.320.0060.00012.95
7.3.310.0030.00316.34
7.3.300.0030.00316.18
7.3.290.0060.00916.15
7.3.280.0100.00616.21
7.3.270.0110.00617.40
7.3.260.0120.00816.31
7.3.250.0110.00916.39
7.3.240.0110.00616.43
7.3.230.0140.00316.41
7.3.210.0080.00816.21
7.3.200.0090.00616.26
7.3.190.0030.01316.19
7.3.180.0060.01116.20
7.3.170.0110.00516.25
7.3.160.0220.00016.41
7.3.10.0030.01016.47
7.3.00.0060.01016.23
7.2.330.0170.00016.58
7.2.320.0030.01416.52
7.2.310.0100.00816.17
7.2.300.0130.00316.55
7.2.290.0090.00916.16
7.2.130.0040.01116.60
7.2.120.0040.00816.67
7.2.110.0040.01116.50
7.2.100.0080.00616.30
7.2.90.0060.00616.13
7.2.80.0030.01016.61
7.2.70.0120.00316.29
7.2.60.0030.01216.56
7.2.50.0080.00416.42
7.2.40.0060.00616.84
7.2.30.0100.00316.53
7.2.20.0060.01016.66
7.2.10.0070.00316.69
7.2.00.0030.00818.02
7.1.250.0100.00515.76
7.1.200.0030.01015.48
7.1.100.0060.00618.15
7.1.70.0070.00716.83
7.1.60.0300.01533.23
7.1.50.0340.01132.93
7.1.40.0170.01434.07
7.1.30.0290.01934.42
7.1.20.0370.01032.59
7.1.10.0210.00814.49
7.1.00.0120.00416.82
7.0.200.0240.00514.86
7.0.190.0280.00016.70
7.0.180.0280.00316.25
7.0.170.0290.00416.22
7.0.160.0030.01316.34
7.0.150.0240.00614.26
7.0.140.0000.01316.29
7.0.130.0040.01216.30
7.0.120.0040.01216.46
7.0.110.0240.00614.32
7.0.100.0290.01814.48
7.0.90.0070.00716.09
7.0.80.0230.01314.39
7.0.70.0120.00316.25
7.0.60.0240.00714.17
7.0.50.0120.00416.51
7.0.40.0240.00614.50
7.0.30.0210.00714.57
7.0.20.0200.01014.55
7.0.10.0060.00916.26
7.0.00.0260.00314.29

preferences:
49.63 ms | 401 KiB | 5 Q