3v4l.org

run code in 300+ PHP versions simultaneously
<?php $line = '"Item no.";"Product name English";"Description English"'. "\n"; $stream = fopen('php://memory', 'r+'); fwrite($stream, $line); rewind($stream); $array = fgetcsv($stream, 0, ';'); var_dump($array);

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.0040.01118.79
8.3.30.0100.00318.57
8.3.20.0040.00420.29
8.3.10.0030.00620.35
8.3.00.0000.00721.73
8.2.170.0080.00622.96
8.2.160.0170.00320.57
8.2.150.0000.00724.18
8.2.140.0000.00724.66
8.2.130.0090.00020.51
8.2.120.0050.00326.35
8.2.110.0030.00621.18
8.2.100.0060.00618.03
8.2.90.0040.00819.12
8.2.80.0000.00917.97
8.2.70.0040.00417.50
8.2.60.0040.00417.80
8.2.50.0050.00318.10
8.2.40.0040.00420.55
8.2.30.0000.00719.18
8.2.20.0080.00018.00
8.2.10.0000.00717.94
8.2.00.0000.00718.17
8.1.270.0040.00422.19
8.1.260.0070.00026.35
8.1.250.0050.00228.09
8.1.240.0060.00323.87
8.1.230.0000.01119.01
8.1.220.0000.00917.78
8.1.210.0060.00318.77
8.1.200.0030.00617.23
8.1.190.0050.00317.23
8.1.180.0040.00418.10
8.1.170.0000.00818.47
8.1.160.0040.00418.74
8.1.150.0000.00720.21
8.1.140.0000.00819.38
8.1.130.0000.00719.06
8.1.120.0090.00017.30
8.1.110.0000.00817.41
8.1.100.0040.00417.39
8.1.90.0040.00417.34
8.1.80.0040.00417.41
8.1.70.0070.00017.43
8.1.60.0080.00017.50
8.1.50.0000.00717.41
8.1.40.0050.00317.43
8.1.30.0040.00417.52
8.1.20.0000.00817.41
8.1.10.0080.00017.49
8.1.00.0000.00817.48
8.0.300.0040.00418.77
8.0.290.0040.00416.88
8.0.280.0070.00018.44
8.0.270.0040.00417.27
8.0.260.0070.00020.20
8.0.250.0000.00717.00
8.0.240.0080.00016.95
8.0.230.0000.00716.89
8.0.220.0080.00016.91
8.0.210.0070.00016.88
8.0.200.0000.00616.97
8.0.190.0000.00716.86
8.0.180.0030.00516.80
8.0.170.0000.00816.82
8.0.160.0000.00716.89
8.0.150.0040.00416.72
8.0.140.0070.00416.88
8.0.130.0030.00313.32
8.0.120.0000.00716.75
8.0.110.0070.00016.79
8.0.100.0080.00016.84
8.0.90.0040.00416.79
8.0.80.0070.01016.80
8.0.70.0070.00016.74
8.0.60.0000.00716.89
8.0.50.0030.00516.69
8.0.30.0140.00616.94
8.0.20.0100.01117.40
8.0.10.0000.00816.83
8.0.00.0060.01316.58
7.4.330.0020.00215.55
7.4.320.0070.00016.47
7.4.300.0000.00716.51
7.4.290.0050.00216.45
7.4.280.0060.00316.57
7.4.270.0000.00716.54
7.4.260.0080.00016.52
7.4.250.0040.00416.49
7.4.240.0070.00016.54
7.4.230.0000.00716.19
7.4.220.0180.00316.53
7.4.210.0090.00616.44
7.4.200.0070.00016.34
7.4.160.0080.00816.43
7.4.150.0150.00317.40
7.4.140.0120.00917.86
7.4.130.0090.00916.46
7.4.120.0140.00716.45
7.4.110.0130.00316.30
7.4.100.0080.00816.35
7.4.90.0180.00016.28
7.4.80.0000.01619.39
7.4.70.0030.01316.37
7.4.60.0130.00316.46
7.4.50.0030.00716.47
7.4.40.0100.00616.45
7.4.30.0100.00616.33
7.4.10.0000.01714.48
7.4.00.0080.00814.76
7.3.330.0000.00613.10
7.3.320.0000.00512.96
7.3.310.0030.00316.07
7.3.300.0000.00616.22
7.3.290.0100.00616.19
7.3.280.0090.00916.19
7.3.270.0090.00917.40
7.3.260.0100.00616.29
7.3.250.0110.00616.31
7.3.240.0150.00716.21
7.3.230.0110.00716.39
7.3.210.0100.00716.05
7.3.200.0030.01316.47
7.3.190.0110.01116.54
7.3.180.0060.01316.23
7.3.170.0080.00816.07
7.3.160.0160.00416.31
7.3.130.0100.00714.64
7.3.120.0160.00414.51
7.3.110.0080.01114.22
7.3.100.0030.00914.57
7.3.90.0090.00614.45
7.3.80.0090.00314.14
7.3.70.0060.00314.29
7.3.60.0080.00414.38
7.3.50.0070.00714.61
7.3.40.0070.00314.29
7.3.30.0000.01114.47
7.3.20.0030.01116.30
7.3.10.0060.00916.37
7.3.00.0080.00816.30
7.2.330.0140.00316.24
7.2.320.0100.00716.59
7.2.310.0150.00416.34
7.2.300.0110.00616.50
7.2.290.0090.00616.29
7.2.260.0040.01115.17
7.2.250.0120.00614.75
7.2.240.0070.00714.87
7.2.230.0030.00815.11
7.2.220.0100.01014.79
7.2.210.0030.00915.04
7.2.200.0060.00614.75
7.2.190.0130.00015.07
7.2.180.0090.00614.44
7.2.170.0160.00014.23
7.2.160.0070.00414.97
7.2.150.0030.00716.48
7.2.140.0090.00616.43
7.2.130.0040.00816.96
7.2.120.0060.00916.43
7.2.110.0100.00316.70
7.2.100.0060.00916.56
7.2.90.0060.00916.52
7.2.80.0080.00616.66
7.2.70.0040.00716.44
7.2.60.0040.00716.75
7.2.50.0030.00716.80
7.2.40.0000.01616.53
7.2.30.0000.01216.38
7.2.20.0040.01416.87
7.2.10.0100.00316.69
7.2.00.0000.01316.90
7.1.330.0030.01015.46
7.1.320.0070.00715.75
7.1.310.0040.01115.66
7.1.300.0000.01215.74
7.1.290.0070.00315.46
7.1.280.0100.00615.61
7.1.270.0030.01015.61
7.1.260.0040.01115.55
7.1.250.0070.00315.45
7.1.240.0030.01015.88
7.1.230.0030.01015.78
7.1.220.0090.00615.71
7.1.210.0100.00615.69
7.1.200.0030.01015.73
7.1.190.0000.01115.66
7.1.180.0050.00315.66
7.1.170.0110.00415.50
7.1.160.0030.00915.79
7.1.150.0070.00715.78
7.1.140.0060.00615.72
7.1.130.0040.00915.64
7.1.120.0030.01015.66
7.1.110.0030.01015.77
7.1.100.0030.01215.77
7.1.90.0080.00315.78
7.1.80.0000.01515.65
7.1.70.0030.00816.33
7.1.60.0030.00916.53
7.1.50.0000.01015.38
7.1.40.0030.00615.90
7.1.30.0750.03026.05
7.1.20.0970.04025.86
7.1.10.0620.03917.99
7.1.00.1030.03818.01
7.0.330.0000.01515.28
7.0.320.0090.00615.40
7.0.310.0000.01715.22
7.0.300.0070.00715.14
7.0.290.0000.01115.02
7.0.280.0030.01015.43
7.0.270.0050.00515.09
7.0.260.0060.00315.23
7.0.250.0000.01115.42
7.0.240.0030.01015.25
7.0.230.0040.00815.16
7.0.220.0070.00715.22
7.0.210.0040.00715.31
7.0.200.0020.01115.84
7.0.190.0040.00415.05
7.0.180.0000.00814.98
7.0.170.0600.04117.59
7.0.160.0980.03917.73
7.0.150.0650.03717.62
7.0.140.0710.03517.69
7.0.130.0640.03417.62
7.0.120.0950.03417.74
7.0.110.0630.03317.53
7.0.100.1110.03517.50
7.0.90.0990.03617.53
7.0.80.1110.04117.38
7.0.70.1260.03817.55
7.0.60.0630.04217.50
7.0.50.0670.03817.85
7.0.40.0930.03316.65
7.0.30.0920.04516.90
7.0.20.1400.03816.49
7.0.10.1180.03216.56
7.0.00.1200.04116.60
5.6.400.0060.00913.97
5.6.390.0030.01213.91
5.6.380.0080.00414.44
5.6.370.0040.00413.88
5.6.360.0070.01014.15
5.6.350.0030.00714.39
5.6.340.0040.00814.09
5.6.330.0030.01414.04
5.6.320.0030.01313.91
5.6.310.0040.01114.35
5.6.300.0030.01414.49
5.6.290.0050.00513.77
5.6.280.0060.00614.32
5.6.270.0000.01014.25
5.6.260.0030.01314.21
5.6.250.0090.00914.00
5.6.240.0030.01313.82
5.6.230.0090.00014.24
5.6.220.0030.01213.84
5.6.210.0000.01413.69
5.6.200.0050.00514.04
5.6.190.0060.00613.96
5.6.180.0080.00413.96
5.6.170.0130.00013.87
5.6.160.0070.00713.96
5.6.150.0040.00714.04
5.6.140.0060.00614.05
5.6.130.0090.00614.20
5.6.120.0030.00813.98
5.6.110.0090.00613.79
5.6.100.0000.01413.80
5.6.90.0060.00614.48
5.6.80.0070.00714.08
5.6.70.0000.01314.08
5.6.60.0080.00414.20
5.6.50.0040.01114.21
5.6.40.0030.01013.93
5.6.30.0090.00413.76
5.6.20.0080.00413.68
5.6.10.0050.00513.87
5.6.00.0070.00714.04

preferences:
58.59 ms | 400 KiB | 5 Q