3v4l.org

run code in 300+ PHP versions simultaneously
<?php $content = <<<CSV AZONOSÍTÓ;KATEGÓRIA;BÉR;LEÍRÁS 001;IT1;1000;Programozás 002;IT2;2000;Farmerkodás 003;IT3;3000;Valami CSV; $file = "data://text/plain;base64," . base64_encode($content); $tomb = []; if (($handle = fopen($file, "r")) !== FALSE) { while (($row = fgetcsv($handle, 1000, ";")) !== FALSE) { $tomb[] = $row; } fclose($handle); } print_r($tomb);

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.0100.01018.56
8.3.50.0090.00617.95
8.3.40.0120.00318.92
8.3.30.0150.00018.84
8.3.20.0000.00822.70
8.3.10.0000.00823.66
8.3.00.0040.00422.39
8.2.180.0140.00416.63
8.2.170.0120.00622.96
8.2.160.0110.00720.39
8.2.150.0050.00324.18
8.2.140.0000.00824.66
8.2.130.0000.00826.16
8.2.120.0040.00426.16
8.2.110.0050.00521.03
8.2.100.0080.00317.91
8.2.90.0050.00320.64
8.2.80.0000.00818.05
8.2.70.0000.00818.16
8.2.60.0060.00318.09
8.2.50.0040.00418.10
8.2.40.0050.00321.24
8.2.30.0000.00719.31
8.2.20.0040.00418.32
8.2.10.0000.00719.25
8.2.00.0000.00719.18
8.1.280.0030.01725.92
8.1.270.0040.00422.22
8.1.260.0070.00026.35
8.1.250.0000.00828.09
8.1.240.0110.00021.88
8.1.230.0070.00422.63
8.1.220.0040.00417.78
8.1.210.0040.00418.86
8.1.200.0060.00317.25
8.1.190.0060.00317.51
8.1.180.0030.00618.10
8.1.170.0000.00820.62
8.1.160.0070.00019.00
8.1.150.0000.00718.83
8.1.140.0030.00618.92
8.1.130.0000.00720.07
8.1.120.0030.00317.43
8.1.110.0060.00317.29
8.1.100.0020.00517.40
8.1.90.0070.00017.39
8.1.80.0030.00517.25
8.1.70.0040.00417.38
8.1.60.0080.00017.55
8.1.50.0050.00217.48
8.1.40.0000.00817.49
8.1.30.0030.00617.55
8.1.20.0080.00017.65
8.1.10.0000.00717.41
8.1.00.0040.00417.48
8.0.300.0000.00820.15
8.0.290.0080.00316.75
8.0.280.0040.00418.51
8.0.270.0040.00417.34
8.0.260.0000.00620.13
8.0.250.0040.00317.07
8.0.240.0050.00317.02
8.0.230.0030.00317.10
8.0.220.0030.00316.94
8.0.210.0000.00716.91
8.0.200.0070.00017.07
8.0.190.0000.00817.12
8.0.180.0050.00317.05
8.0.170.0080.00017.05
8.0.160.0000.00816.99
8.0.150.0040.00416.95
8.0.140.0040.00316.87
8.0.130.0060.00013.46
8.0.120.0000.00816.83
8.0.110.0030.00316.86
8.0.100.0000.00816.91
8.0.90.0060.00316.85
8.0.80.0110.00416.94
8.0.70.0050.00316.89
8.0.60.0050.00216.94
8.0.50.0040.00417.07
8.0.30.0070.01016.92
8.0.20.0110.00717.00
8.0.10.0050.00316.91
8.0.00.0150.00416.74
7.4.330.0000.00615.55
7.4.320.0070.00016.66
7.4.300.0030.00316.63
7.4.290.0080.00316.50
7.4.280.0030.00516.64
7.4.270.0030.00316.50
7.4.260.0000.00513.31
7.4.250.0000.00716.48
7.4.240.0040.00316.49
7.4.230.0040.00416.58
7.4.220.0040.00416.65
7.4.210.0100.00716.62
7.4.200.0070.00016.41
7.4.130.0160.00816.61
7.4.120.0060.02016.56
7.4.110.0060.01216.54
7.4.100.0070.01016.61
7.4.90.0070.01016.45
7.4.80.0060.01019.39
7.4.70.0060.00916.58
7.4.60.0060.00916.60
7.4.50.0000.00816.51
7.4.40.0110.00816.63
7.4.10.0060.01315.11
7.4.00.0130.00414.89
7.3.330.0080.00016.39
7.3.320.0030.00313.17
7.3.310.0000.00716.39
7.3.300.0030.00316.41
7.3.290.0000.00816.43
7.3.260.0100.00916.45
7.3.230.0030.01316.32
7.3.210.0070.01016.38
7.3.200.0000.02116.25
7.3.190.0000.01716.59
7.3.180.0060.01016.40
7.3.170.0130.00316.34
7.3.160.0080.00816.32
7.3.130.0040.01114.97
7.3.120.0000.01714.77
7.3.110.0070.01114.90
7.3.100.0080.00614.80
7.3.90.0070.00714.78
7.3.80.0050.00914.76
7.3.70.0080.01014.90
7.3.60.0050.00814.85
7.3.50.0070.00814.79
7.3.40.0090.00714.70
7.3.30.0090.00614.74
7.3.20.0080.00816.06
7.3.10.0050.00716.38
7.3.00.0060.00716.57
7.2.330.0120.00616.69
7.2.320.0130.00316.54
7.2.310.0090.00916.73
7.2.300.0120.00916.66
7.2.290.0050.01416.80
7.2.260.0100.00715.17
7.2.250.0070.00715.00
7.2.240.0080.00414.94
7.2.230.0070.00715.08
7.2.220.0080.00514.95
7.2.210.0080.00615.08
7.2.200.0060.01014.87
7.2.190.0060.01015.07
7.2.180.0070.00814.89
7.2.170.0060.00814.95
7.2.160.0050.01014.93
7.2.150.0030.01116.88
7.2.140.0100.00516.77
7.2.130.0090.00816.90
7.2.120.0020.01317.00
7.2.110.0060.01116.67
7.2.100.0070.00717.00
7.2.90.0080.00616.83
7.2.80.0040.01216.99
7.2.70.0090.00416.93
7.2.60.0090.00916.94
7.2.50.0030.01216.99
7.2.40.0060.00916.82
7.2.30.0090.00716.75
7.2.20.0040.01116.79
7.2.10.0060.00917.01
7.2.00.0050.00716.85
7.1.330.0090.00515.73
7.1.320.0080.00615.67
7.1.310.0070.00815.90
7.1.300.0100.00415.05
7.1.290.0070.00715.75
7.1.280.0060.00715.86
7.1.270.0050.00915.92
7.1.260.0100.00415.66
7.1.250.0060.00715.77
7.1.240.0030.00715.77
7.1.230.0030.01016.01
7.1.220.0050.00315.82
7.1.210.0030.00915.89
7.1.200.0030.01215.77
7.1.190.0030.00615.84
7.1.180.0030.01015.80
7.1.170.0110.00415.91
7.1.160.0030.00615.82
7.1.150.0040.00415.79
7.1.140.0070.00715.47
7.1.130.0100.00315.62
7.1.120.0070.00715.55
7.1.110.0030.00515.93
7.1.100.0000.01115.90
7.1.90.0100.00315.78
7.1.80.0070.00715.89
7.1.70.0060.00615.64
7.1.60.0090.00015.89
7.1.50.0070.00715.63
7.1.40.0000.01215.84
7.1.30.0000.01415.79
7.1.20.0000.01215.75
7.1.10.0000.01115.79
7.1.00.0000.01315.78

preferences:
52.52 ms | 401 KiB | 5 Q