3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = <<<DATA 1363168337,21320,17408,5,"nice product " 1363168371,21180,17134,4,"A gorgeous shirt but had to return as a tight fit so looked a little small. Unfortunately they didn't have size large. " 1363168572,22509,15248,5,Fine! 1363168572,22509,16314,5,Fine! 1363168613,21351,17870,5,"The product was a gift so cannot review the item" 1363168950,21930,16020,4,"Product lived up to expectations and was as thought.\n\nProduct is worn as casual top" 1363168950,21930,17294,4,"Product lived up to expectations and was as thought.\n\nProduct is worn as casual top" 1363168988,21937,14733,4,"Product is good " DATA; $fp = fopen('php://memory', 'w+'); fwrite($fp, $data); rewind($fp); while ($line = fgetcsv($fp)) { var_dump($line); }

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.00718.56
8.3.50.0080.01317.30
8.3.40.0130.01018.88
8.3.30.0060.01018.70
8.3.20.0050.00318.70
8.3.10.0040.00418.52
8.3.00.0040.00419.38
8.2.180.0060.00916.63
8.2.170.0090.00622.96
8.2.160.0030.01618.57
8.2.150.0060.00324.18
8.2.140.0090.00024.66
8.2.130.0070.00026.16
8.2.120.0050.00319.64
8.2.110.0060.00321.18
8.2.100.0120.00017.82
8.2.90.0000.00817.68
8.2.80.0000.00817.97
8.2.70.0040.00417.93
8.2.60.0080.00018.16
8.2.50.0030.00618.10
8.2.40.0030.00519.12
8.2.30.0080.00417.68
8.2.20.0110.00017.50
8.2.10.0000.00717.60
8.2.00.0000.00717.56
8.1.280.0000.01425.92
8.1.270.0080.00023.99
8.1.260.0070.00726.35
8.1.250.0100.01028.09
8.1.240.0060.00322.05
8.1.230.0080.00422.75
8.1.220.0050.00317.74
8.1.210.0060.00318.92
8.1.200.0060.00317.00
8.1.190.0050.00317.22
8.1.180.0040.00418.10
8.1.170.0040.00418.53
8.1.160.0030.00618.59
8.1.150.0000.00718.54
8.1.140.0050.00217.45
8.1.130.0000.00717.45
8.1.120.0040.00417.38
8.1.110.0070.00017.32
8.1.100.0040.00417.31
8.1.90.0000.00817.46
8.1.80.0000.00717.38
8.1.70.0000.00717.38
8.1.60.0000.00817.57
8.1.50.0030.00517.38
8.1.40.0000.00817.39
8.1.30.0040.00417.48
8.1.20.0030.00617.50
8.1.10.0000.00717.49
8.1.00.0000.00817.40
8.0.300.0020.00522.03
8.0.290.0000.00816.75
8.0.280.0070.00018.45
8.0.270.0030.00317.25
8.0.260.0030.00316.81
8.0.250.0110.00017.07
8.0.240.0040.00417.05
8.0.230.0060.00316.93
8.0.220.0070.00416.98
8.0.210.0000.00716.86
8.0.200.0000.00716.91
8.0.190.0110.00017.03
8.0.180.0050.00217.02
8.0.170.0030.00617.00
8.0.160.0000.00717.00
8.0.150.0080.00016.97
8.0.140.0050.00316.93
8.0.130.0060.00013.45
8.0.120.0000.00916.81
8.0.110.0040.00416.90
8.0.100.0040.00416.98
8.0.90.0000.00716.96
8.0.80.0060.00916.85
8.0.70.0000.00716.88
8.0.60.0040.00416.84
8.0.50.0040.00416.78
8.0.30.0120.00316.93
8.0.20.0170.01117.29
8.0.10.0040.00417.13
8.0.00.0080.01316.66
7.4.330.0020.00212.95
7.4.320.0030.00316.57
7.4.300.0000.00616.59
7.4.290.0030.00516.54
7.4.280.0070.00316.44
7.4.270.0000.00816.53
7.4.260.0060.00013.21
7.4.250.0060.00316.42
7.4.240.0000.00716.54
7.4.230.0060.00316.46
7.4.220.0130.01316.34
7.4.210.0090.00616.55
7.4.200.0070.00016.35
7.4.190.0000.00916.26
7.4.160.0030.01716.61
7.4.150.0140.01016.56
7.4.140.0070.01117.86
7.4.130.0100.01316.63
7.4.120.0060.01316.45
7.4.110.0210.00416.38
7.4.100.0070.01316.46
7.4.90.0090.01516.56
7.4.80.0080.01219.39
7.4.70.0030.01616.34
7.4.60.0140.00516.43
7.4.50.0090.00016.18
7.4.40.0030.01016.21
7.4.30.0030.01616.47
7.4.00.0070.00914.83
7.3.330.0030.00313.16
7.3.320.0000.00613.09
7.3.310.0030.00316.21
7.3.300.0070.00016.30
7.3.290.0080.00916.27
7.3.280.0040.01116.37
7.3.270.0100.01016.45
7.3.260.0150.00416.42
7.3.240.0120.00616.20
7.3.230.0130.00416.32
7.3.210.0030.01416.18
7.3.200.0070.01016.24
7.3.190.0070.01016.51
7.3.180.0000.01616.16
7.3.170.0190.00316.39
7.3.160.0100.01016.25
7.3.120.0080.00514.61
7.3.110.0070.01114.89
7.3.100.0040.01114.71
7.3.90.0090.00014.74
7.3.80.0000.00914.79
7.3.70.0080.01214.52
7.3.60.0040.00814.70
7.3.50.0030.01014.50
7.3.40.0060.00614.53
7.3.30.0060.00914.72
7.3.20.0040.01416.68
7.3.10.0050.01016.36
7.3.00.0020.01116.24
7.2.330.0140.01116.31
7.2.320.0030.01416.60
7.2.310.0140.01116.70
7.2.300.0160.00816.64
7.2.290.0000.01816.60
7.2.250.0170.00315.15
7.2.240.0130.00914.64
7.2.230.0060.00914.88
7.2.220.0070.00414.93
7.2.210.0040.01015.09
7.2.200.0070.01314.78
7.2.190.0030.01214.85
7.2.180.0090.00914.54
7.2.170.0070.00714.79
7.2.130.0000.01116.30
7.2.120.0130.01016.29
7.2.110.0030.00716.45
7.2.100.0080.00816.40
7.2.90.0060.00316.54
7.2.80.0000.01416.47
7.2.70.0060.00616.47
7.2.60.0070.00916.17
7.2.50.0090.01316.82
7.2.40.0070.01016.48
7.2.30.0140.00516.44
7.2.20.0100.00416.80
7.2.10.0140.00716.25
7.2.00.0040.00916.64
7.1.330.0100.00615.88
7.1.320.0100.00015.65
7.1.310.0030.01015.75
7.1.300.0110.00415.77
7.1.290.0090.00615.51
7.1.280.0070.01115.50
7.1.270.0070.01115.53
7.1.260.0050.00515.79
7.1.250.0030.00515.60
7.1.100.0000.00918.20
7.1.70.0050.00517.09
7.1.60.0030.02219.25
7.1.50.0000.01116.83
7.1.00.0000.03722.35
7.0.200.0030.00716.86
7.0.140.0100.06721.95
7.0.120.0030.07022.17
7.0.60.0230.08021.72
7.0.50.0030.08017.88
7.0.40.0230.08320.19
7.0.30.0270.05020.04
7.0.20.0270.05020.20
7.0.10.0170.05020.23
7.0.00.0230.08020.20
5.6.280.0000.07320.80
5.6.210.0100.05720.72
5.6.200.0030.07018.12
5.6.190.0200.06720.60
5.6.180.0170.05320.56
5.6.170.0430.04020.43
5.6.160.0370.06720.60
5.6.150.0300.06020.47
5.6.140.0230.05320.43
5.6.130.0170.06320.33
5.6.120.0300.08020.11
5.6.110.0200.08720.40
5.6.100.0370.07020.45
5.6.90.0270.08020.26
5.6.80.0200.04319.76
5.6.70.0200.04019.55
5.6.60.0330.07319.73
5.6.50.0270.07719.82
5.6.40.0330.07019.68
5.6.30.0230.08319.68
5.6.20.0200.06319.48
5.6.10.0270.04019.48
5.6.00.0300.04319.48
5.5.350.0030.08020.44
5.5.340.0000.08317.92
5.5.330.0230.03320.21
5.5.320.0300.05320.36
5.5.310.0200.04320.23
5.5.300.0400.06720.26
5.5.290.0270.05720.21
5.5.280.0400.08320.24
5.5.270.0300.08320.11
5.5.260.0230.05720.08
5.5.250.0330.05720.01
5.5.240.0300.07719.30
5.5.230.0330.06719.61
5.5.220.0330.06319.45
5.5.210.0270.05319.61
5.5.200.0270.05319.37
5.5.190.0230.06719.29
5.5.180.0430.05719.61
5.5.160.0330.04319.57
5.5.150.0270.06019.24
5.5.140.0230.07719.49
5.5.130.0170.05019.25
5.5.120.0300.08019.55
5.5.110.0270.03719.54
5.5.100.0230.08019.49
5.5.90.0470.05319.46
5.5.80.0170.05719.48
5.5.70.0430.06319.39
5.5.60.0300.05019.17
5.5.50.0330.04019.21
5.5.40.0200.05019.31
5.5.30.0270.07019.31
5.5.20.0200.04319.49
5.5.10.0170.05719.46
5.5.00.0270.06719.24
5.4.450.0270.08319.41
5.4.440.0130.05719.13
5.4.430.0230.08019.47
5.4.420.0230.05319.46
5.4.410.0230.07719.27
5.4.400.0300.05018.79
5.4.390.0200.06319.18
5.4.380.0300.05018.91
5.4.370.0200.05319.08
5.4.360.0200.05718.79
5.4.350.0230.06319.08
5.4.340.0230.04019.16
5.4.320.0270.03319.08
5.4.310.0200.07719.12
5.4.300.0300.03318.92
5.4.290.0270.04019.14
5.4.280.0200.06019.00
5.4.270.0230.07319.15
5.4.260.0330.06718.79
5.4.250.0600.04318.79
5.4.240.0270.07319.16
5.4.230.0300.06318.99
5.4.220.0370.07019.08
5.4.210.0170.06319.07
5.4.200.0300.04319.17
5.4.190.0300.06718.80
5.4.180.0270.06019.11
5.4.170.0230.07719.14
5.4.160.0270.05719.18
5.4.150.0270.07319.07
5.4.140.0200.03716.34
5.4.130.0230.03016.16
5.4.120.0270.05316.20
5.4.110.0300.06716.36
5.4.100.0270.03316.41
5.4.90.0270.06716.32
5.4.80.0230.05316.23
5.4.70.0200.06716.36
5.4.60.0270.04716.32
5.4.50.0270.07016.36
5.4.40.0370.06316.39
5.4.30.0270.07016.22
5.4.20.0200.04316.22
5.4.10.0200.03716.26
5.4.00.0270.06315.73
5.3.290.0230.03714.60
5.3.280.0270.04314.56
5.3.270.0430.04314.57
5.3.260.0300.07314.63
5.3.250.0270.04314.58
5.3.240.0230.03314.39
5.3.230.0230.04714.39
5.3.220.0330.07014.49
5.3.210.0200.08314.51
5.3.200.0300.06714.51
5.3.190.0170.05714.45
5.3.180.0400.06014.51
5.3.170.0230.05014.50
5.3.160.0300.07014.39
5.3.150.0300.06714.51
5.3.140.0230.07014.53
5.3.130.0270.07014.49
5.3.120.0200.04314.45
5.3.110.0230.03714.52
5.3.100.0200.04313.96
5.3.90.0230.04313.92
5.3.80.0270.03314.01
5.3.70.0230.04314.11
5.3.60.0270.06713.95
5.3.50.0230.05013.93
5.3.40.0300.05313.88
5.3.30.0330.06713.88
5.3.20.0330.06013.51
5.3.10.0300.07013.75
5.3.00.0230.04713.43
5.2.170.0230.05712.71
5.2.160.0200.03712.71
5.2.150.0130.03712.71
5.2.140.0230.05712.71
5.2.130.0230.04312.71
5.2.120.0170.03712.73
5.2.110.0230.05012.76
5.2.100.0200.06012.77
5.2.90.0200.03712.79
5.2.80.0330.05012.79
5.2.70.0200.03712.79
5.2.60.0200.04712.85
5.2.50.0270.05712.85
5.2.40.0200.05312.85
5.2.30.0200.05012.85
5.2.20.0130.04312.85
5.2.10.0130.03312.85
5.2.00.0170.03312.85
5.1.60.0170.04312.85
5.1.50.0130.05712.85
5.1.40.0230.04012.85
5.1.30.0130.05312.85
5.1.20.0200.05312.85
5.1.10.0200.04312.85
5.1.00.0230.02012.85
5.0.50.0170.04312.85
5.0.40.0170.03312.85
5.0.30.0130.04712.85
5.0.20.0100.02712.85
5.0.10.0130.01712.85
5.0.00.0100.03712.85
4.4.90.0100.03312.85
4.4.80.0100.03312.85
4.4.70.0070.03712.85
4.4.60.0100.02012.85
4.4.50.0070.02312.85
4.4.40.0070.05312.85
4.4.30.0070.02012.85
4.4.20.0130.03012.85
4.4.10.0170.02012.85
4.4.00.0100.04012.85
4.3.110.0130.03012.85
4.3.100.0100.01712.85
4.3.90.0130.02712.85
4.3.80.0070.02712.85
4.3.70.0100.03712.85
4.3.60.0070.01712.85
4.3.50.0070.01712.85
4.3.40.0170.04012.85
4.3.30.0000.02012.85
4.3.20.0030.03712.85
4.3.10.0030.02012.85
4.3.00.0100.03312.85

preferences:
89.42 ms | 401 KiB | 5 Q