3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = <<<EOL "test0","test1 test2 test3 test4 test5 test6","test7", test01,test02,test03,test04 EOL; $stream = fopen('php://memory', 'r+'); fwrite($stream, $string); rewind($stream); $result = fgetcsv($stream); var_dump($result);

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.0090.00916.63
8.3.50.0100.00716.17
8.3.40.0060.00918.73
8.3.30.0060.00918.59
8.3.20.0050.00220.31
8.3.10.0080.00021.94
8.3.00.0000.00720.13
8.2.180.0100.00718.06
8.2.170.0100.00722.96
8.2.160.0100.00320.35
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0060.00321.12
8.2.120.0000.00726.35
8.2.110.0030.00619.26
8.2.100.0110.00018.06
8.2.90.0030.00619.34
8.2.80.0040.00417.97
8.2.70.0080.00017.77
8.2.60.0040.00418.03
8.2.50.0050.00318.10
8.2.40.0070.00020.45
8.2.30.0040.00420.97
8.2.20.0030.00518.04
8.2.10.0040.00418.16
8.2.00.0040.00417.93
8.1.280.0180.00325.92
8.1.270.0080.00823.84
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00322.14
8.1.230.0090.00320.94
8.1.220.0060.00317.74
8.1.210.0040.00718.77
8.1.200.0040.00417.22
8.1.190.0000.00916.98
8.1.180.0040.00418.10
8.1.170.0080.00018.48
8.1.160.0000.00718.97
8.1.150.0040.00420.61
8.1.140.0060.00319.50
8.1.130.0040.00418.87
8.1.120.0050.00317.31
8.1.110.0050.00217.37
8.1.100.0040.00417.28
8.1.90.0070.00017.41
8.1.80.0040.00417.45
8.1.70.0070.00017.42
8.1.60.0100.00317.53
8.1.50.0030.00617.44
8.1.40.0030.00617.43
8.1.30.0050.00317.56
8.1.20.0030.00617.53
8.1.10.0040.00417.43
8.1.00.0070.00017.29
8.0.300.0020.00521.58
8.0.290.0070.00016.75
8.0.280.0030.00318.38
8.0.270.0000.00717.26
8.0.260.0030.00318.45
8.0.250.0030.00316.98
8.0.240.0000.00717.02
8.0.230.0000.00717.04
8.0.220.0000.00716.86
8.0.210.0000.00716.99
8.0.200.0030.00317.00
8.0.190.0040.00417.06
8.0.180.0050.00217.01
8.0.170.0000.00717.02
8.0.160.0040.00416.92
8.0.150.0030.00416.92
8.0.140.0040.00416.85
8.0.130.0090.00013.34
8.0.120.0040.00416.80
8.0.110.0070.00016.84
8.0.100.0000.00717.05
8.0.90.0070.00016.84
8.0.80.0100.01316.91
8.0.70.0040.00417.02
8.0.60.0000.00816.95
8.0.50.0040.00416.74
8.0.30.0120.00516.98
8.0.20.0080.01317.40
8.0.10.0000.00817.01
8.0.00.0080.01516.71
7.4.330.0000.00515.55
7.4.320.0040.00416.54
7.4.300.0030.00316.45
7.4.290.0000.00716.43
7.4.280.0040.00416.58
7.4.270.0030.00316.45
7.4.260.0070.00016.38
7.4.250.0040.00416.53
7.4.240.0040.00416.45
7.4.230.0000.00716.26
7.4.220.0170.00316.61
7.4.210.0070.00716.34
7.4.200.0000.00716.54
7.4.160.0110.00516.37
7.4.150.0160.00417.40
7.4.140.0100.00817.86
7.4.130.0190.00316.32
7.4.120.0120.00716.31
7.4.110.0150.00316.41
7.4.100.0060.01216.42
7.4.90.0170.00416.36
7.4.80.0100.01319.39
7.4.70.0160.00016.37
7.4.60.0090.01216.35
7.4.50.0060.00916.30
7.4.40.0110.00616.58
7.4.30.0090.00616.41
7.4.00.0040.01214.75
7.3.330.0020.00213.15
7.3.320.0000.00513.16
7.3.310.0030.00316.04
7.3.300.0030.00316.11
7.3.290.0040.01416.32
7.3.280.0080.00816.29
7.3.270.0140.01017.40
7.3.260.0100.01016.41
7.3.250.0080.01016.39
7.3.240.0150.00316.39
7.3.230.0090.01216.54
7.3.210.0090.00916.59
7.3.200.0080.00816.30
7.3.190.0130.00616.42
7.3.180.0120.00816.18
7.3.170.0030.01416.34
7.3.160.0130.00416.25
7.3.120.0080.00814.80
7.3.110.0070.01314.69
7.3.100.0130.00014.70
7.3.90.0040.01214.74
7.3.80.0060.00614.73
7.3.70.0090.00614.83
7.3.60.0000.01314.39
7.3.50.0090.00614.57
7.3.40.0030.01014.75
7.3.30.0030.00714.43
7.3.20.0040.01116.52
7.3.10.0060.00316.51
7.3.00.0070.00716.59
7.2.330.0110.00816.56
7.2.320.0070.01016.47
7.2.310.0070.01016.32
7.2.300.0030.01316.25
7.2.290.0120.00616.65
7.2.250.0070.00414.77
7.2.240.0070.01114.59
7.2.230.0130.00315.05
7.2.220.0060.00914.81
7.2.210.0060.00614.75
7.2.200.0080.00415.01
7.2.190.0070.00714.50
7.2.180.0090.00314.91
7.2.170.0040.00814.89
7.2.60.0000.01516.61
7.2.00.0070.01019.05
7.1.330.0110.00415.77
7.1.320.0060.00915.78
7.1.310.0060.00915.45
7.1.300.0070.00715.41
7.1.290.0040.00815.46
7.1.280.0060.00615.43
7.1.270.0050.00315.68
7.1.260.0050.00315.80
7.1.200.0200.00315.63
7.1.100.0000.01118.02
7.1.70.0090.01217.07
7.1.60.0380.01034.95
7.1.50.0220.01134.80
7.1.40.0260.00634.44
7.1.30.0230.01034.28
7.1.20.0310.00634.63
7.1.10.0110.00716.45
7.1.00.0070.00716.52
7.0.200.0070.01016.72
7.0.190.0140.00716.52
7.0.180.0030.01016.20
7.0.170.0030.01016.30
7.0.160.0060.00916.08
7.0.150.0070.01216.21
7.0.140.0060.00916.32
7.0.130.0070.00716.48
7.0.120.0100.00616.17
7.0.110.0140.00016.35
7.0.100.0040.01116.25
7.0.90.0000.01416.24
7.0.80.0030.01016.32
7.0.70.0040.00816.25
7.0.60.0040.01115.97
7.0.50.0030.01016.18
7.0.40.0030.01016.39
7.0.30.0080.00516.33
7.0.20.0070.00716.18
7.0.10.0090.00616.33
7.0.00.0000.01416.36

preferences:
30.12 ms | 401 KiB | 5 Q