3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = array('a\\', '\\b', 'c'); $f = fopen('php://memory', 'w+'); fputcsv($f, $data); fseek($f, 0, 0); $mangled = fgetcsv($f); fclose($f); print_r($data); print_r($mangled);

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.00316.50
8.3.50.0170.01117.35
8.3.40.0110.00718.41
8.3.30.0080.00618.60
8.3.20.0040.00418.35
8.3.10.0080.00020.29
8.3.00.0050.00519.13
8.2.180.0070.01016.50
8.2.170.0160.00322.96
8.2.160.0150.00620.89
8.2.150.0040.00424.18
8.2.140.0040.01124.66
8.2.130.0040.00426.16
8.2.120.0000.00819.36
8.2.110.0060.00322.08
8.2.100.0110.00017.81
8.2.90.0030.00619.09
8.2.80.0060.00317.97
8.2.70.0030.00617.63
8.2.60.0050.00317.78
8.2.50.0030.00618.07
8.2.40.0050.00317.83
8.2.30.0050.00217.96
8.2.20.0050.00217.45
8.2.10.0040.00417.78
8.2.00.0040.00417.58
8.1.280.0090.00625.92
8.1.270.0080.00024.66
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0050.00522.20
8.1.230.0040.00717.42
8.1.220.0080.00017.74
8.1.210.0090.00018.77
8.1.200.0000.01017.23
8.1.190.0050.00317.28
8.1.180.0080.00018.10
8.1.170.0040.00418.76
8.1.160.0070.00018.69
8.1.150.0040.00418.43
8.1.140.0000.00717.25
8.1.130.0030.00317.72
8.1.120.0040.00417.31
8.1.110.0070.00017.36
8.1.100.0000.00717.36
8.1.90.0040.00417.31
8.1.80.0070.00017.38
8.1.70.0000.00717.28
8.1.60.0000.00817.49
8.1.50.0070.00017.39
8.1.40.0000.00717.45
8.1.30.0040.00417.48
8.1.20.0040.00417.57
8.1.10.0000.00817.34
8.1.00.0110.00017.24
8.0.300.0050.00218.77
8.0.290.0000.00816.75
8.0.280.0040.00418.43
8.0.270.0000.00717.25
8.0.260.0000.00616.73
8.0.250.0040.00416.91
8.0.240.0050.00316.98
8.0.230.0030.00316.80
8.0.220.0000.00816.72
8.0.210.0030.00316.84
8.0.200.0060.00016.98
8.0.190.0000.00716.96
8.0.180.0050.00316.94
8.0.170.0030.00616.90
8.0.160.0070.00016.77
8.0.150.0030.00616.86
8.0.140.0050.00516.74
8.0.130.0000.00513.33
8.0.120.0070.00016.89
8.0.110.0000.00716.88
8.0.100.0000.00916.79
8.0.90.0070.00016.75
8.0.80.0030.01316.85
8.0.70.0040.00416.99
8.0.60.0000.00716.81
8.0.50.0000.00816.68
8.0.30.0100.01116.97
8.0.20.0180.00517.06
8.0.10.0040.00416.86
8.0.00.0110.01116.71
7.4.330.0050.00012.97
7.4.320.0030.00316.39
7.4.300.0030.00316.50
7.4.290.0030.00316.45
7.4.280.0040.00416.53
7.4.270.0040.00416.44
7.4.260.0030.00313.19
7.4.250.0000.00916.52
7.4.240.0030.00316.48
7.4.230.0000.00716.49
7.4.220.0100.01616.59
7.4.210.0040.01216.53
7.4.200.0000.00716.51
7.4.190.0000.00816.39
7.4.160.0060.00916.38
7.4.150.0120.01216.52
7.4.140.0080.01016.30
7.4.130.0080.01216.45
7.4.120.0110.00616.40
7.4.110.0110.00716.50
7.4.100.0140.00316.39
7.4.90.0090.00916.28
7.4.80.0090.01319.39
7.4.70.0140.00316.33
7.4.60.0030.01516.33
7.4.50.0060.00616.51
7.4.40.0050.00716.23
7.4.30.0100.01016.27
7.4.00.0060.01014.67
7.3.330.0030.00313.06
7.3.320.0020.00213.03
7.3.310.0000.00716.14
7.3.300.0030.00316.18
7.3.290.0100.01016.18
7.3.280.0050.01016.19
7.3.270.0140.00316.28
7.3.260.0120.00916.11
7.3.250.0060.01016.40
7.3.240.0070.01116.18
7.3.230.0070.01016.47
7.3.210.0100.00616.09
7.3.200.0060.00916.13
7.3.190.0070.01016.13
7.3.180.0120.00316.25
7.3.170.0100.00616.27
7.3.160.0040.01416.42
7.3.120.0070.01014.70
7.2.330.0060.01016.59
7.2.320.0130.00916.60
7.2.310.0140.01016.55
7.2.300.0090.01516.61
7.2.290.0130.00616.45
7.2.00.0060.00919.17
7.1.100.0040.00817.92
7.1.70.0070.00016.91
7.1.60.0100.01419.40
7.1.50.0030.01616.87
7.1.00.0100.05322.54
7.0.200.0030.00616.79
7.0.140.0070.07321.93
7.0.120.0130.06022.09
7.0.60.0030.07719.94
7.0.50.0030.05017.90
7.0.40.0070.04320.21
7.0.30.0630.06320.06
7.0.20.0430.05320.21
7.0.10.0130.07320.11
7.0.00.0000.05020.25
5.6.280.0100.06720.77
5.6.210.0000.08720.60
5.6.200.0000.08718.18
5.6.190.0100.07720.39
5.6.180.2570.05020.51
5.6.170.0300.07320.48
5.6.160.0100.07020.54
5.6.150.0100.08018.19
5.6.140.0070.06318.17
5.6.130.0030.07718.30
5.6.120.0030.04321.11
5.6.110.0130.06321.00
5.6.100.0070.08020.99
5.6.90.0100.08020.97
5.6.80.0030.04020.39
5.6.70.4400.03720.39
5.5.350.0330.07020.42
5.5.340.0100.08017.98
5.5.330.0100.05020.45
5.5.320.0470.06320.35
5.5.310.0270.08020.19
5.5.300.0200.07017.98
5.5.290.0030.07718.06
5.5.280.0070.09020.86
5.5.270.0100.06720.95
5.5.260.0100.04720.86
5.5.250.0100.07720.70
5.5.240.0170.08320.25
5.4.450.0070.07719.45
5.4.440.0100.05019.47
5.4.430.0030.07019.24
5.4.420.0170.07319.44
5.4.410.0000.04719.35
5.4.400.0000.04019.01
5.4.390.0230.06318.85
5.4.380.0030.07018.98
5.4.370.0100.03718.86
5.4.360.0130.07318.85
5.4.350.0070.04719.24
5.4.340.0100.05318.85
5.4.320.0070.04718.87
5.4.310.0100.05719.14
5.4.300.0030.06019.24
5.4.290.0070.08018.86
5.4.280.0000.06719.14
5.4.270.0030.04019.15
5.4.260.0070.04019.11
5.4.250.0100.07018.83
5.4.240.0070.03718.84
5.4.230.0070.05018.86
5.4.220.0100.04019.07
5.4.210.0030.06718.96
5.4.200.0070.07718.84
5.4.190.0030.03718.86
5.4.180.0170.04318.99
5.4.170.0000.04319.14
5.4.160.0030.03719.18
5.4.150.0070.08019.09
5.4.140.0100.03716.36
5.4.130.0000.07716.32
5.4.120.0100.06716.26
5.4.110.0030.04716.39
5.4.100.0030.04016.47
5.4.90.0000.07316.39
5.4.80.0030.08016.42
5.4.70.0030.04316.41
5.4.60.0030.06716.25
5.4.50.0100.04716.50
5.4.40.0070.05316.27
5.4.30.0100.04016.27
5.4.20.0100.05016.36
5.4.10.0030.07016.50
5.4.00.0070.04315.90
5.3.290.0070.03714.66
5.3.280.0000.06714.58
5.3.270.0070.03714.63
5.3.260.0200.03314.66
5.3.250.0070.07314.63
5.3.240.0030.05014.64
5.3.230.0030.04314.59
5.3.220.0030.05714.61
5.3.210.0130.06714.57
5.3.200.0000.04314.72
5.3.190.0070.05014.62
5.3.180.0030.04014.55
5.3.170.0170.05714.61
5.3.160.0070.07314.59
5.3.150.0000.04314.58
5.3.140.0070.07014.71
5.3.130.0030.07014.54
5.3.120.0170.03314.70
5.3.110.0100.05314.55
5.3.100.0130.03714.03
5.3.90.0100.05714.05
5.3.80.0030.07313.93
5.3.70.0030.05013.98
5.3.60.0100.05314.02
5.3.50.0070.07314.01
5.3.40.0030.06313.91
5.3.30.0130.07013.91
5.3.20.0100.07313.74
5.3.10.0130.06713.62
5.3.00.0000.08313.69
5.2.170.0000.04711.11
5.2.160.0030.03311.03
5.2.150.0100.04011.17
5.2.140.0070.06311.11
5.2.130.0030.04010.99
5.2.120.0000.04311.11
5.2.110.0030.06710.98
5.2.100.0000.06311.07
5.2.90.0030.06711.14
5.2.80.0030.04310.98
5.2.70.0070.04711.27
5.2.60.0130.03011.19
5.2.50.0070.06711.05
5.2.40.0000.03710.98
5.2.30.0000.03711.13
5.2.20.0030.03010.99
5.2.10.0000.05010.78
5.2.00.0100.04010.71
5.1.60.0000.06010.69
5.1.50.0070.05010.69
5.1.40.0170.02310.69
5.1.30.0030.06010.69
5.1.20.0070.04310.69
5.1.10.0000.03310.69
5.1.00.0000.03310.69
5.0.50.0030.02310.69
5.0.40.0030.03710.69
5.0.30.0130.02710.69
5.0.20.0070.03010.69
5.0.10.0030.03710.69
5.0.00.0330.05010.69
4.4.90.0030.01710.69
4.4.80.0100.02010.69
4.4.70.0030.03710.69
4.4.60.0030.01710.69
4.4.50.0000.01710.69
4.4.40.0070.04710.69
4.4.30.0070.03010.69
4.4.20.0000.02310.69
4.4.10.0000.03710.69
4.4.00.0000.05710.69
4.3.110.0000.02010.69
4.3.100.0070.03310.69
4.3.90.0030.02310.69
4.3.80.0070.04710.69
4.3.70.0000.01710.69
4.3.60.0030.01310.69
4.3.50.0000.01710.69
4.3.40.0000.02710.69
4.3.30.0000.03010.69
4.3.20.0000.03710.69
4.3.10.0000.02010.69
4.3.00.0030.01710.69

preferences:
50.58 ms | 401 KiB | 5 Q