3v4l.org

run code in 300+ PHP versions simultaneously
<?php $row = ['a\\"', 'bbb']; $fp = fopen('php://memory', 'w+'); fputcsv($fp, $row); rewind($fp); echo stream_get_contents($fp); fclose($fp);

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.4.10.0030.00619.61
8.3.140.0080.00018.75
8.3.130.0080.00018.20
8.3.120.0130.00618.59
8.3.110.0030.00620.94
8.3.100.0040.00416.46
8.3.90.0060.00326.77
8.3.80.0070.00416.50
8.3.70.0070.00716.63
8.3.60.0110.00816.38
8.3.50.0070.01316.56
8.3.40.0200.00018.70
8.3.30.0060.00918.55
8.3.20.0050.00220.27
8.3.10.0080.00022.10
8.3.00.0080.00023.58
8.2.260.0090.00917.26
8.2.250.0080.00016.70
8.2.240.0040.00418.86
8.2.230.0000.00922.58
8.2.220.0040.00424.06
8.2.210.0040.00426.77
8.2.200.0030.00616.38
8.2.190.0070.00716.63
8.2.180.0100.00718.13
8.2.170.0070.01422.96
8.2.160.0030.01020.39
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0060.00320.99
8.2.120.0050.00226.35
8.2.110.0030.00622.14
8.2.100.0070.00717.84
8.2.90.0070.00020.50
8.2.80.0000.00818.05
8.2.70.0000.00817.93
8.2.60.0000.00818.22
8.2.50.0000.00818.10
8.2.40.0080.00020.46
8.2.30.0050.00319.32
8.2.20.0000.01018.11
8.2.10.0000.00718.10
8.2.00.0030.00517.89
8.1.300.0150.00019.45
8.1.290.0090.00030.84
8.1.280.0120.00325.92
8.1.270.0060.00322.14
8.1.260.0000.00726.35
8.1.250.0030.00528.09
8.1.240.0060.00322.50
8.1.230.0080.00417.48
8.1.220.0040.00417.74
8.1.210.0000.00818.85
8.1.200.0050.00317.10
8.1.190.0040.00417.10
8.1.180.0000.00818.10
8.1.170.0030.00518.68
8.1.160.0070.00018.69
8.1.150.0030.00519.92
8.1.140.0050.00219.46
8.1.130.0030.00320.47
8.1.120.0000.00717.28
8.1.110.0040.00417.27
8.1.100.0070.00017.39
8.1.90.0050.00217.25
8.1.80.0040.00417.37
8.1.70.0030.00317.40
8.1.60.0050.00317.39
8.1.50.0090.00017.44
8.1.40.0030.00617.41
8.1.30.0040.00417.49
8.1.20.0050.00317.64
8.1.10.0040.00417.53
8.1.00.0030.00517.41
8.0.300.0000.00720.00
8.0.290.0000.00816.75
8.0.280.0040.00418.41
8.0.270.0000.00817.28
8.0.260.0000.00618.54
8.0.250.0000.00916.90
8.0.240.0040.00416.94
8.0.230.0000.00916.97
8.0.220.0040.00416.88
8.0.210.0000.00716.75
8.0.200.0000.00616.83
8.0.190.0030.00316.85
8.0.180.0050.00216.80
8.0.170.0000.00816.81
8.0.160.0030.00316.78
8.0.150.0070.00016.86
8.0.140.0050.00316.80
8.0.130.0000.00513.31
8.0.120.0000.00816.74
8.0.110.0050.00216.88
8.0.100.0040.00416.90
8.0.90.0030.00516.86
8.0.80.0090.00616.85
8.0.70.0050.00216.76
8.0.60.0040.00416.94
8.0.50.0000.00716.95
8.0.30.0100.00917.14
8.0.20.0080.01117.40
8.0.10.0050.00217.01
8.0.00.0110.00716.77
7.4.330.0050.00015.55
7.4.320.0000.00616.42
7.4.300.0030.00316.44
7.4.290.0030.00316.49
7.4.280.0000.00816.42
7.4.270.0000.00716.50
7.4.260.0070.00016.40
7.4.250.0030.00316.30
7.4.240.0030.00316.37
7.4.230.0070.00016.62
7.4.220.0220.00416.52
7.4.210.0060.01216.45
7.4.200.0000.00716.52
7.4.160.0100.00616.32
7.4.150.0030.01617.40
7.4.140.0130.00417.86
7.4.130.0050.01316.20
7.4.120.0110.00816.53
7.4.110.0070.01016.40
7.4.100.0170.00016.48
7.4.90.0090.00916.50
7.4.80.0160.00619.39
7.4.70.0150.00316.40
7.4.60.0100.00716.41
7.4.50.0090.00616.45
7.4.40.0040.01316.54
7.4.30.0150.00816.59
7.4.00.0000.01514.70
7.3.330.0060.00013.03
7.3.320.0050.00012.95
7.3.310.0040.00416.16
7.3.300.0060.00016.22
7.3.290.0110.00616.20
7.3.280.0080.00916.21
7.3.270.0090.00917.40
7.3.260.0170.00716.22
7.3.250.0130.00316.25
7.3.240.0090.01116.37
7.3.230.0090.00616.42
7.3.210.0110.00716.47
7.3.200.0120.00916.19
7.3.190.0090.01216.52
7.3.180.0110.00716.39
7.3.170.0070.01116.33
7.3.160.0120.00616.26
7.3.100.0030.01014.57
7.3.90.0070.00714.89
7.3.80.0070.00714.66
7.3.70.0050.00914.54
7.3.60.0060.00714.50
7.3.50.0100.00614.67
7.3.40.0110.00414.56
7.3.30.0100.00514.48
7.3.20.0000.01714.61
7.3.10.0070.01015.43
7.3.00.0060.00915.32
7.2.330.0120.00616.60
7.2.320.0100.00716.60
7.2.310.0100.00616.52
7.2.300.0060.01716.78
7.2.290.0130.00316.71
7.2.230.0070.00715.05
7.2.220.0030.01215.08
7.2.210.0110.00315.04
7.2.200.0100.00614.86
7.2.190.0070.00714.97
7.2.180.0100.00814.81
7.2.170.0060.01114.93
7.2.160.0100.00814.75
7.2.150.0070.01214.99
7.2.140.0130.00614.85
7.2.130.0110.00815.55
7.2.120.0080.00915.62
7.2.110.0090.00915.60
7.2.100.0090.01015.42
7.2.90.0100.00515.71
7.2.80.0260.00615.46
7.2.70.0050.01015.54
7.2.60.0050.00915.83
7.2.50.0080.00615.49
7.2.40.0100.00715.66
7.2.30.0080.00815.72
7.2.20.0090.00515.61
7.2.10.0070.00915.35
7.2.00.0070.00815.64
7.1.320.0100.00714.00
7.1.310.0100.00713.95
7.1.300.0090.00913.97
7.1.290.0070.00913.72
7.1.280.0110.00313.77
7.1.270.0090.00513.78
7.1.260.0110.00613.94
7.1.250.0080.00614.50
7.1.240.0070.01213.87
7.1.230.0130.00713.81
7.1.220.0130.00713.74
7.1.210.0140.00513.94
7.1.200.0070.00714.54
7.1.190.0120.00513.79
7.1.180.0110.00913.85
7.1.170.0150.00413.80
7.1.160.0190.00313.75
7.1.150.0130.00513.78
7.1.140.0160.00413.62
7.1.130.0110.00713.98
7.1.120.0080.01013.88
7.1.110.0030.01513.87
7.1.100.0140.00313.67
7.1.90.0100.00615.41
7.1.80.0180.00915.32
7.1.70.0090.00814.85
7.1.60.0150.00620.87
7.1.50.0150.00720.74
7.1.40.0170.00820.65
7.1.30.0170.00520.62
7.1.20.0160.01020.74
7.1.10.0060.01214.75
7.1.00.0110.00614.65
7.0.330.0120.01013.47
7.0.320.0070.00913.31
7.0.310.0130.00413.27
7.0.300.0120.00613.44
7.0.290.0090.00613.50
7.0.280.0130.00513.47
7.0.270.0110.00613.58
7.0.260.0110.00513.42
7.0.250.0080.01013.48
7.0.240.0100.00913.34
7.0.230.0120.00414.63
7.0.220.0070.00914.75
7.0.210.0090.00714.38
7.0.200.0070.01014.50
7.0.190.0080.00814.50
7.0.180.0040.01214.26
7.0.170.0070.00914.44
7.0.160.0100.00814.33
7.0.150.0110.00514.36
7.0.140.0140.00414.50
7.0.130.0120.00714.34
7.0.120.0130.00514.42
7.0.110.0080.00914.44
7.0.100.0130.00814.44
7.0.90.0090.00714.48
7.0.80.0080.01014.18
7.0.70.0100.00714.42
7.0.60.0060.00814.32
7.0.50.0080.00814.42
7.0.40.0110.00514.49
7.0.30.0080.00814.30
7.0.20.0150.00414.48
7.0.10.0090.00914.56
7.0.00.0130.00714.38
5.6.400.0140.00814.37
5.6.390.0140.00614.40
5.6.380.0110.00914.00
5.6.370.0030.01014.29
5.6.360.0030.01314.06
5.6.350.0030.01013.81
5.6.340.0060.00814.32
5.6.330.0110.00313.88
5.6.320.0080.01113.97
5.6.310.0080.00614.07
5.6.300.0130.02617.39
5.6.290.0040.03417.36
5.6.280.0070.03317.47
5.6.270.0120.03617.56
5.6.260.0100.03417.47
5.6.250.0110.03017.37
5.6.240.0050.03617.40
5.6.230.0100.03217.47
5.6.220.0050.04017.55
5.6.210.0110.02817.63
5.6.200.0100.03017.44
5.6.190.0070.03217.46
5.6.180.0090.03417.57
5.6.170.0070.03317.40
5.6.160.0090.03617.50
5.6.150.0110.03117.51
5.6.140.0060.03617.38
5.6.130.0070.03417.48
5.6.120.0040.03617.46
5.6.110.0080.03617.41
5.6.100.0130.03817.49
5.6.90.0100.03317.38
5.6.80.0110.03617.14
5.6.70.0080.02917.20
5.6.60.0070.03017.23
5.6.50.0050.03417.17
5.6.40.0120.03217.11
5.6.30.0120.04017.07
5.6.20.0060.04317.04
5.6.10.0100.02917.12
5.6.00.0080.03817.08
5.5.380.0140.00013.86
5.5.370.0110.00314.16
5.5.360.0070.00713.82
5.5.350.0080.00614.26
5.5.340.0040.01114.05
5.5.330.0070.00714.29
5.5.320.0040.01114.27
5.5.310.0000.01814.31
5.5.300.0090.00613.98
5.5.290.0060.00913.87
5.5.280.0120.00614.04
5.5.270.0100.01013.94
5.5.260.0090.00613.92
5.5.250.0090.00913.97
5.5.240.0030.01314.16
5.5.230.0130.00313.89
5.5.220.0110.00414.03
5.5.210.0040.01814.34
5.5.200.0040.01514.20
5.5.190.0040.01214.05
5.5.180.0070.01013.95
5.5.170.0070.01014.00
5.5.160.0130.00714.25
5.5.150.0060.00914.17
5.5.140.0100.00513.91
5.5.130.0060.01013.88
5.5.120.0110.00914.30
5.5.110.0090.00814.02
5.5.100.0120.00314.02
5.5.90.0090.00613.88
5.5.80.0080.00813.81
5.5.70.0080.00813.53
5.5.60.0200.00314.09
5.5.50.0080.00814.23
5.5.40.0090.00613.94
5.5.30.0150.00614.13
5.5.20.0060.00914.04
5.5.10.0030.01214.12
5.5.00.0040.01414.35
5.4.450.0090.00310.78
5.4.440.0100.00310.99
5.4.430.0070.00710.75
5.4.420.0070.00710.71
5.4.410.0100.00010.63
5.4.400.0040.00810.79
5.4.390.0030.00910.69
5.4.380.0050.00610.95
5.4.370.0070.00710.73
5.4.360.0060.00910.84
5.4.350.0150.00010.82
5.4.340.0100.00710.87
5.4.330.0090.00310.70
5.4.320.0060.00610.63
5.4.310.0090.00610.80
5.4.300.0000.01110.59
5.4.290.0070.01010.78
5.4.280.0030.01310.84
5.4.270.0060.01010.80
5.4.260.0040.00810.77
5.4.250.0070.00410.76
5.4.240.0060.00610.95
5.4.230.0040.00710.77
5.4.220.0110.00010.50
5.4.210.0060.00610.75
5.4.200.0130.00310.62
5.4.190.0040.00710.77
5.4.180.0050.00510.75
5.4.170.0060.00610.61
5.4.160.0090.00310.73
5.4.150.0040.00710.68
5.4.140.0070.00710.48
5.4.130.0050.00510.80
5.4.120.0060.00710.66
5.4.110.0060.00310.79
5.4.100.0030.00610.53
5.4.90.0070.00411.03
5.4.80.0030.00710.99
5.4.70.0050.00510.70
5.4.60.0030.00710.95
5.4.50.0030.00610.71
5.4.40.0060.00610.66
5.4.30.0090.00310.99
5.4.20.0030.00610.98
5.4.10.0040.00710.89
5.4.00.0040.00810.83
5.3.290.0070.00210.23
5.3.280.0070.00410.17
5.3.270.0040.00410.17
5.3.260.0030.00710.27
5.3.250.0100.00010.17
5.3.240.0090.00610.17
5.3.230.0030.00610.17
5.3.220.0070.00410.17
5.3.210.0150.00010.17
5.3.200.0060.00910.17
5.3.190.0100.00010.18
5.3.180.0090.00210.24
5.3.170.0100.00010.24
5.3.160.0110.00010.32
5.3.150.0060.00610.24
5.3.140.0080.00310.29
5.3.130.0110.00010.25
5.3.120.0080.00310.27
5.3.110.0000.01110.17
5.3.100.0030.00810.20
5.3.90.0040.00710.17
5.3.80.0070.00710.17
5.3.70.0070.00310.17
5.3.60.0060.00310.22
5.3.50.0050.00710.17
5.3.40.0070.00210.17
5.3.30.0030.00610.17
5.3.20.0100.00010.17
5.3.10.0050.00510.17
5.3.00.0030.00610.17
5.2.170.0030.00710.17
5.2.160.0110.00010.17
5.2.150.0110.00010.17
5.2.140.0100.00310.17
5.2.130.0100.00310.17
5.2.120.0070.00510.17
5.2.110.0080.00410.17
5.2.100.0110.00010.17
5.2.90.0120.00010.17
5.2.80.0050.00810.17
5.2.70.0050.00510.17
5.2.60.0110.00010.17
5.2.50.0080.00310.17
5.2.40.0060.00610.17
5.2.30.0120.00310.17
5.2.20.0060.00610.17
5.2.10.0070.00410.17
5.2.00.0060.00710.17
5.1.60.0060.00410.17
5.1.50.0100.00010.17
5.1.40.0070.00410.17
5.1.30.0070.00410.17
5.1.20.0060.00410.17
5.1.10.0100.00010.17
5.1.00.0050.00510.17
5.0.50.0060.00310.17
5.0.40.0000.00810.17
5.0.30.0080.00310.17
5.0.20.0070.00710.17
5.0.10.0040.00410.17
5.0.00.0090.00010.17
4.4.90.0030.00510.17
4.4.80.0090.00010.17
4.4.70.0070.00010.17
4.4.60.0030.00310.17
4.4.50.0000.00710.17
4.4.40.0030.00510.17
4.4.30.0000.00710.17
4.4.20.0050.00210.17
4.4.10.0000.00610.17
4.4.00.0030.00310.17
4.3.110.0030.00610.17
4.3.100.0070.00010.17
4.3.90.0050.00210.17
4.3.80.0070.00010.17
4.3.70.0070.00010.17
4.3.60.0070.00010.17
4.3.50.0000.00710.17
4.3.40.0080.00010.17
4.3.30.0040.00210.17
4.3.20.0000.00610.17
4.3.10.0040.00210.17
4.3.00.0000.00610.17

preferences:
70.64 ms | 403 KiB | 5 Q