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; $f = fopen('php://temp', 'r+'); fwrite($f, $string); rewind($f); while (($data = fgetcsv($f)) !== FALSE) { var_dump($data); }

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.40.0090.00618.63
8.3.30.0100.00718.89
8.3.20.0040.00420.21
8.3.10.0000.00821.47
8.3.00.0000.00820.33
8.2.170.0030.01422.96
8.2.160.0130.00320.53
8.2.150.0080.00024.18
8.2.140.0000.00724.66
8.2.130.0000.00821.03
8.2.120.0070.00026.35
8.2.110.0000.01020.91
8.2.100.0040.00718.22
8.2.90.0040.00419.23
8.2.80.0080.00017.97
8.2.70.0090.00017.38
8.2.60.0040.00417.80
8.2.50.0060.00318.10
8.2.40.0000.00820.61
8.2.30.0050.00220.85
8.2.20.0000.00718.03
8.2.10.0000.00818.05
8.2.00.0030.00518.12
8.1.270.0080.00022.02
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0060.00323.92
8.1.230.0140.00019.23
8.1.220.0070.00317.74
8.1.210.0040.00418.77
8.1.200.0030.00617.23
8.1.190.0080.00017.23
8.1.180.0000.00818.10
8.1.170.0040.00418.46
8.1.160.0030.00318.97
8.1.150.0080.00020.61
8.1.140.0000.00919.52
8.1.130.0070.00018.73
8.1.120.0000.00717.38
8.1.110.0050.00317.41
8.1.100.0000.00817.38
8.1.90.0050.00317.45
8.1.80.0000.00717.38
8.1.70.0040.00417.45
8.1.60.0100.00017.42
8.1.50.0000.01017.51
8.1.40.0080.00017.48
8.1.30.0030.00517.48
8.1.20.0050.00317.53
8.1.10.0000.00817.48
8.1.00.0040.00417.36
8.0.300.0000.00818.77
8.0.290.0040.00416.63
8.0.280.0040.00418.45
8.0.270.0000.00717.14
8.0.260.0030.00316.75
8.0.250.0070.00016.96
8.0.240.0000.00716.96
8.0.230.0000.00916.91
8.0.220.0030.00516.91
8.0.210.0030.00316.96
8.0.200.0000.00716.93
8.0.190.0030.00616.98
8.0.180.0040.00416.87
8.0.170.0000.00717.04
8.0.160.0040.00416.87
8.0.150.0050.00216.86
8.0.140.0040.00416.82
8.0.130.0030.00313.39
8.0.120.0040.00416.95
8.0.110.0000.00816.94
8.0.100.0040.00416.84
8.0.90.0040.00417.00
8.0.80.0030.01416.97
8.0.70.0070.00016.96
8.0.60.0040.00416.83
8.0.50.0000.00716.98
8.0.30.0080.00917.07
8.0.20.0120.00817.40
8.0.10.0000.00716.83
8.0.00.0150.00916.58
7.4.330.0050.00015.55
7.4.320.0000.00616.46
7.4.300.0030.00316.59
7.4.290.0040.00416.55
7.4.280.0040.00416.51
7.4.270.0070.00016.51
7.4.260.0080.00016.50
7.4.250.0050.00316.52
7.4.240.0050.00516.46
7.4.230.0000.00716.25
7.4.220.0080.01216.46
7.4.210.0070.00916.57
7.4.200.0000.00716.54
7.4.160.0120.00616.43
7.4.150.0070.01117.40
7.4.140.0120.00817.86
7.4.130.0100.01116.46
7.4.120.0130.00816.59
7.4.110.0110.00716.52
7.4.100.0070.01016.36
7.4.90.0000.02016.63
7.4.80.0090.01219.39
7.4.70.0130.00716.60
7.4.60.0140.00316.49
7.4.50.0070.00316.43
7.4.40.0070.01016.66
7.4.30.0100.01416.56
7.4.00.0070.00715.17
7.3.330.0030.00313.23
7.3.320.0020.00213.32
7.3.310.0000.00716.15
7.3.300.0040.00416.33
7.3.290.0070.00016.20
7.3.280.0080.00916.30
7.3.270.0110.00717.40
7.3.260.0130.00816.37
7.3.250.0060.01216.27
7.3.240.0110.00916.36
7.3.230.0090.00916.37
7.3.210.0070.01016.49
7.3.200.0060.01016.41
7.3.190.0000.01816.50
7.3.180.0130.00316.27
7.3.170.0100.00716.29
7.3.160.0070.01016.39
7.2.330.0150.00316.63
7.2.320.0150.00616.43
7.2.310.0140.00516.63
7.2.300.0090.01216.75
7.2.290.0040.01416.63
7.2.80.0030.00716.55
7.2.60.0060.01016.92
7.2.00.0070.01019.48
7.1.200.0170.00315.74
7.1.100.0090.00318.11
7.1.70.0030.01216.72
7.1.60.0180.01534.76
7.1.50.0150.01534.53
7.1.40.0260.01334.43
7.1.30.0200.01034.41
7.1.20.0190.01234.48
7.1.10.0110.00516.59
7.1.00.0040.01116.53
7.0.200.0090.00616.64
7.0.190.0050.00816.56
7.0.180.0030.01616.22
7.0.170.0060.00916.17
7.0.160.0060.00916.07
7.0.150.0060.00915.93
7.0.140.0060.00916.40
7.0.130.0100.00516.44
7.0.120.0060.00916.40
7.0.110.0030.01216.28
7.0.100.0060.00916.38
7.0.90.0040.01116.25
7.0.80.0030.01316.21
7.0.70.0090.01216.10
7.0.60.0120.00315.97
7.0.50.0000.01616.36
7.0.40.0120.00316.32
7.0.30.0080.01116.36
7.0.20.0090.00616.45
7.0.10.0120.00316.36
7.0.00.0090.00616.36

preferences:
48.83 ms | 400 KiB | 5 Q