3v4l.org

run code in 300+ PHP versions simultaneously
<?php [$first, $second, $third, $fourth ] = [0, 0, 0, 0]; var_dump($first, $second, $third, $fourth );

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.20.0050.00519.46
8.4.10.0060.00617.81
8.3.150.0110.00817.18
8.3.140.0090.00017.02
8.3.130.0130.00718.29
8.3.120.0070.01318.64
8.3.110.0000.00716.38
8.3.100.0050.00324.06
8.3.90.0030.01626.77
8.3.80.0030.00618.18
8.3.70.0100.01318.43
8.3.60.0110.00416.38
8.3.50.0110.00616.31
8.3.40.0150.00318.76
8.3.30.0070.01118.44
8.3.20.0000.00721.77
8.3.10.0080.00021.63
8.3.00.0050.00317.80
8.2.270.0100.00716.55
8.2.260.0170.00018.72
8.2.250.0000.00718.96
8.2.240.0090.00618.93
8.2.230.0080.00020.94
8.2.220.0080.00037.54
8.2.210.0100.00726.77
8.2.200.0030.00618.54
8.2.190.0150.00316.73
8.2.180.0100.00718.54
8.2.170.0110.00722.96
8.2.160.0120.00319.29
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0040.01126.16
8.2.120.0040.00420.69
8.2.110.0090.00019.17
8.2.100.0070.00317.78
8.2.90.0000.00819.34
8.2.80.0050.00318.73
8.2.70.0100.00348.48
8.2.60.0120.00148.48
8.2.50.0110.00248.63
8.2.40.0080.00450.24
8.2.30.0100.00249.27
8.2.20.0090.00348.65
8.2.10.0080.00448.64
8.2.00.0060.00648.73
8.1.310.0000.00816.82
8.1.300.0030.00618.52
8.1.290.0030.00618.88
8.1.280.0140.00325.92
8.1.270.0060.00324.66
8.1.260.0100.00726.35
8.1.250.0040.00428.09
8.1.240.0030.00622.81
8.1.230.0040.00722.08
8.1.220.0070.00017.74
8.1.210.0000.00818.77
8.1.200.0040.00748.21
8.1.190.0080.00448.28
8.1.180.0040.00849.33
8.1.170.0080.00548.47
8.1.160.0100.00249.02
8.1.150.0070.00549.01
8.1.140.0080.00349.40
8.1.130.0110.00249.03
8.1.120.0080.00448.37
8.1.110.0070.00448.30
8.1.100.0060.00648.30
8.1.90.0100.00248.30
8.1.80.0110.00148.40
8.1.70.0060.00548.29
8.1.60.0090.00548.37
8.1.50.0120.00048.37
8.1.40.0070.00648.36
8.1.30.0070.00648.48
8.1.20.0090.00648.36
8.1.10.0060.00748.41
8.1.00.0060.00748.37
8.0.300.0000.00718.77
8.0.290.0120.00048.04
8.0.280.0110.00048.78
8.0.270.0100.00248.21
8.0.260.0060.00548.28
8.0.250.0070.00448.09
8.0.240.0110.00048.10
8.0.230.0070.00648.09
8.0.220.0070.00648.03
8.0.210.0090.00348.09
8.0.200.0070.00548.12
8.0.190.0080.00748.09
8.0.180.0110.00248.06
8.0.170.0090.00648.11
8.0.160.0060.00648.09
8.0.150.0110.00248.00
8.0.140.0080.00548.04
8.0.130.0080.00546.32
8.0.120.0120.00248.02
8.0.110.0120.00248.03
8.0.100.0090.00448.09
8.0.90.0060.00647.99
8.0.80.0150.00648.07
8.0.70.0040.00948.00
8.0.60.0070.00548.06
8.0.50.0110.00147.99
8.0.30.0080.00929.35
8.0.20.0110.00827.64
8.0.10.0130.00348.15
8.0.00.0080.00937.58
7.4.330.0110.00047.44
7.4.320.0060.00647.95
7.4.300.0050.00747.80
7.4.290.0080.00447.84
7.4.280.0110.00247.89
7.4.270.0080.00547.87
7.4.260.0100.00347.93
7.4.250.0070.00747.83
7.4.240.0030.00947.94
7.4.230.0050.00847.75
7.4.220.0070.00547.98
7.4.210.0060.01047.98
7.4.200.0110.00247.87
7.4.190.0110.00679.33
7.4.180.0100.00779.33
7.4.160.0110.00732.11
7.4.150.0100.00737.73
7.4.140.0100.00829.87
7.4.130.0100.00537.28
7.4.120.0140.00428.91
7.4.110.0070.00937.32
7.4.100.0090.00837.42
7.4.90.0110.00737.32
7.4.80.0080.00938.35
7.4.70.0140.00137.36
7.4.60.0060.01137.40
7.4.50.0080.00837.40
7.4.40.0080.00837.39
7.4.30.0080.01037.37
7.4.20.0110.00447.89
7.4.10.0120.00737.37
7.4.00.0110.00728.40
7.3.330.0090.00546.13
7.3.320.0060.00446.14
7.3.310.0050.00747.76
7.3.300.0050.00647.74
7.3.290.0070.00832.02
7.3.280.0090.00723.22
7.3.270.0080.00837.63
7.3.260.0110.00732.04
7.3.250.0100.00728.90
7.3.240.0100.00632.07
7.3.230.0090.00737.20
7.3.220.0090.00547.71
7.3.210.0100.00537.26
7.3.200.0110.00737.31
7.3.190.0090.00637.30
7.3.180.0080.00737.28
7.3.170.0060.01137.23
7.3.160.0090.00737.24
7.3.150.0100.00547.74
7.3.140.0110.00747.74
7.3.130.0070.01037.20
7.3.120.0090.00731.60
7.3.110.0090.00831.53
7.3.100.0090.00631.58
7.3.90.0080.00631.67
7.3.80.0110.00431.76
7.3.70.0090.00728.29
7.3.60.0100.00828.13
7.3.50.0110.00628.27
7.3.40.0090.00828.19
7.3.30.0110.00628.28
7.3.20.0120.00728.92
7.3.10.0130.00529.00
7.3.00.0080.00728.90
7.2.340.0190.00247.75
7.2.330.0140.00537.29
7.2.320.0110.00837.32
7.2.310.0100.01037.21
7.2.300.0120.00637.30
7.2.290.0120.00737.24
7.2.280.0100.01047.75
7.2.270.0170.00547.77
7.2.260.0150.00637.31
7.2.250.0120.00631.69
7.2.240.0100.00931.67
7.2.230.0080.01031.65
7.2.220.0100.00731.71
7.2.210.0130.00731.70
7.2.200.0140.00728.41
7.2.190.0130.00728.30
7.2.180.0110.00728.27
7.2.170.0120.00928.29
7.2.160.0110.01131.70
7.2.150.0120.00932.20
7.2.140.0220.00932.25
7.2.130.0120.01232.25
7.2.120.0140.00931.81
7.2.110.0150.01031.83
7.2.100.0170.00831.82
7.2.90.0140.00831.70
7.2.80.0160.00731.78
7.2.70.0160.00631.76
7.2.60.0130.00928.77
7.2.50.0160.00731.79
7.2.40.0150.01032.26
7.2.30.0130.01032.26
7.2.20.0240.00632.19
7.2.10.0130.01132.15
7.2.00.0130.00832.18
7.1.330.0110.00831.98
7.1.320.0160.00532.03
7.1.310.0080.01031.94
7.1.300.0160.00828.31
7.1.290.0140.00728.33
7.1.280.0130.00628.27
7.1.270.0190.00428.22
7.1.260.0380.00828.30
7.1.250.0180.00730.96
7.1.240.0160.00531.02
7.1.230.0140.00731.04
7.1.220.0160.00630.98
7.1.210.0150.00430.97
7.1.200.0130.00627.94
7.1.190.0110.00930.96
7.1.180.0150.00430.96
7.1.170.0150.00630.83
7.1.160.0120.00731.47
7.1.150.0130.00931.40
7.1.140.0560.00631.40
7.1.130.0110.00831.39
7.1.120.0130.00731.31
7.1.110.0150.00531.35
7.1.100.0140.00631.41
7.1.90.0150.00531.44
7.1.80.0130.00731.48
7.1.70.0130.00828.38
7.1.60.0140.00728.12
7.1.50.0170.00732.07
7.1.40.0150.00631.96
7.1.30.0250.00931.97
7.1.20.0130.00831.93
7.1.10.0120.00828.41
7.1.00.0140.00728.43
7.0.330.0160.00430.67
7.0.320.0120.00830.60
7.0.310.0150.00730.65
7.0.300.0170.00730.63
7.0.290.0150.00531.14
7.0.280.0130.00631.13
7.0.270.0160.00331.06
7.0.260.0180.00731.02
7.0.250.0110.00931.11
7.0.240.0100.00931.25
7.0.230.0130.00731.16
7.0.220.0130.00731.20
7.0.210.0140.00831.11
7.0.200.0140.00728.23
7.0.190.0130.00728.18
7.0.180.0090.01028.00
7.0.170.0120.00728.15
7.0.160.0140.00628.07
7.0.150.0150.00528.09
7.0.140.0080.01028.11
7.0.130.0140.00528.16
7.0.120.0320.00628.22
7.0.110.0100.00928.07
7.0.100.0120.00628.09
7.0.90.0120.00827.97
7.0.80.0130.00628.12
7.0.70.0100.00828.05
7.0.60.0120.00827.98
7.0.50.0100.00828.11
7.0.40.0130.01028.13
7.0.30.0130.00628.11
7.0.20.0130.00628.10
7.0.10.0080.01128.15
7.0.00.0110.00928.06
5.6.400.0100.01131.20
5.6.390.0140.00631.15
5.6.380.0130.00831.00
5.6.370.0140.00531.19
5.6.360.0140.00731.07
5.6.350.0120.00931.14
5.6.340.0140.00731.19
5.6.330.0090.01031.19
5.6.320.0120.01131.17
5.6.310.0080.01331.02
5.6.300.0120.01528.97
5.6.290.0130.01629.02
5.6.280.0100.02329.00
5.6.270.0100.01929.05
5.6.260.0100.01929.10
5.6.250.0120.01629.02
5.6.240.0110.01629.06
5.6.230.0100.02128.98
5.6.220.0110.01829.00
5.6.210.0110.01928.96
5.6.200.0120.02029.05
5.6.190.0120.01829.12
5.6.180.0100.02029.09
5.6.170.0100.01929.08
5.6.160.0110.01729.02
5.6.150.0130.01629.03
5.6.140.0120.01729.12
5.6.130.0100.01828.99
5.6.120.0170.01429.03
5.6.110.0120.01928.98
5.6.100.0140.01529.01
5.6.90.0100.02129.01
5.6.80.0100.01928.88
5.6.70.0110.01728.89
5.6.60.0120.01728.91
5.6.50.0130.01728.87
5.6.40.0140.01428.84
5.6.30.0130.01528.93
5.6.20.0140.01628.87
5.6.10.0140.01528.96
5.6.00.0110.01728.88

preferences:
28.85 ms | 403 KiB | 5 Q