3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Foo\Bar; class Baz {} $b = new Baz; var_dump(get_class($b));

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.130.0080.00018.14
8.3.120.0080.00018.90
8.3.110.0030.00716.48
8.3.100.0030.00524.06
8.3.90.0090.00626.77
8.3.80.0030.00617.97
8.3.70.0070.01118.18
8.3.60.0040.01118.28
8.3.50.0170.00521.89
8.3.40.0100.00718.56
8.3.30.0070.00718.69
8.3.20.0020.00520.05
8.3.10.0000.00921.96
8.3.00.0030.00622.44
8.2.250.0030.00516.58
8.2.240.0080.00019.11
8.2.230.0030.00720.94
8.2.220.0030.00637.54
8.2.210.0040.00426.77
8.2.200.0110.00018.29
8.2.190.0090.01216.58
8.2.180.0100.00316.63
8.2.170.0170.00322.96
8.2.160.0150.00020.83
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0080.00019.23
8.2.110.0040.00420.28
8.2.100.0070.00317.77
8.2.90.0000.00817.50
8.2.80.0040.00417.97
8.2.70.0080.00017.63
8.2.60.0080.00017.63
8.2.50.0040.00417.63
8.2.40.0000.00817.63
8.2.30.0040.00719.05
8.2.20.0000.00817.57
8.2.10.0040.00417.60
8.2.00.0060.00317.67
8.1.300.0050.00318.29
8.1.290.0080.00030.84
8.1.280.0110.00325.92
8.1.270.0040.00423.97
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00722.20
8.1.230.0090.00319.15
8.1.220.0060.00317.74
8.1.210.0050.00318.77
8.1.200.0060.00317.10
8.1.190.0080.00016.99
8.1.180.0060.00618.10
8.1.170.0000.00717.62
8.1.160.0000.00718.77
8.1.150.0040.00418.87
8.1.140.0000.00717.29
8.1.130.0000.00717.80
8.1.120.0040.00317.37
8.1.110.0000.00717.43
8.1.100.0040.00417.35
8.1.90.0050.00217.33
8.1.80.0000.00717.29
8.1.70.0000.00817.36
8.1.60.0000.00917.50
8.1.50.0050.00317.48
8.1.40.0000.00717.50
8.1.30.0000.00817.54
8.1.20.0050.00317.54
8.1.10.0040.00417.48
8.1.00.0000.00717.32
8.0.300.0060.00319.69
8.0.290.0040.00416.63
8.0.280.0000.00718.33
8.0.270.0040.00417.14
8.0.260.0000.00816.65
8.0.250.0000.00716.91
8.0.240.0040.00416.75
8.0.230.0000.00716.88
8.0.220.0030.00316.85
8.0.210.0030.00316.82
8.0.200.0000.00816.91
8.0.190.0000.00716.81
8.0.180.0090.00316.86
8.0.170.0030.00516.73
8.0.160.0000.00716.73
8.0.150.0030.00316.65
8.0.140.0040.00416.66
8.0.130.0030.00313.31
8.0.120.0000.00716.69
8.0.110.0050.00316.74
8.0.100.0050.00216.88
8.0.90.0000.00716.69
8.0.80.0130.00716.87
8.0.70.0080.00016.69
8.0.60.0020.00516.71
8.0.50.0040.00416.92
8.0.30.0120.00617.14
8.0.20.0050.01417.40
8.0.10.0040.00416.91
8.0.00.0110.00716.65
7.4.330.0050.00015.03
7.4.320.0070.00016.35
7.4.300.0070.00016.55
7.4.290.0000.00616.50
7.4.280.0000.00616.42
7.4.270.0000.00716.54
7.4.260.0000.00716.50
7.4.250.0030.00516.52
7.4.240.0020.00516.48
7.4.230.0070.00016.56
7.4.220.0100.00716.47
7.4.210.0040.01216.53
7.4.200.0000.00816.53
7.4.190.0030.00316.59
7.4.160.0030.01216.27
7.4.150.0150.00617.40
7.4.140.0070.01417.86
7.4.130.0050.01416.54
7.4.120.0140.00516.47
7.4.110.0060.01316.27
7.4.100.0060.01116.30
7.4.90.0070.01016.38
7.4.80.0100.00719.39
7.4.70.0130.00316.48
7.4.60.0000.01616.60
7.4.50.0040.00416.41
7.4.40.0040.01422.77
7.4.30.0060.00916.50
7.4.00.0030.01214.68
7.3.330.0050.00012.95
7.3.320.0000.00613.15
7.3.310.0080.00016.12
7.3.300.0030.00316.13
7.3.290.0190.00016.13
7.3.280.0070.01016.16
7.3.270.0100.00617.40
7.3.260.0140.00416.33
7.3.250.0130.00916.43
7.3.240.0090.00616.09
7.3.230.0100.01316.39
7.3.210.0100.00716.22
7.3.200.0080.00819.39
7.3.190.0070.00916.43
7.3.180.0060.01016.13
7.3.170.0120.00416.40
7.3.160.0090.00916.54
7.3.120.0060.00614.84
7.3.10.0000.01116.47
7.3.00.0060.00316.46
7.2.330.0100.00616.49
7.2.320.0100.01316.38
7.2.310.0070.01016.39
7.2.300.0070.01016.30
7.2.290.0120.00616.39
7.2.130.0030.00716.47
7.2.120.0030.01016.70
7.2.110.0070.00716.89
7.2.100.0030.00616.86
7.2.90.0060.00916.56
7.2.80.0070.00316.72
7.2.70.0080.00016.84
7.2.60.0060.00916.81
7.2.50.0090.00617.03
7.2.40.0080.00816.41
7.2.30.0070.00716.74
7.2.20.0070.00716.80
7.2.10.0070.00316.62
7.2.00.0070.00717.02
7.1.250.0060.00615.67
7.1.100.0080.00818.09
7.1.70.0140.00316.73
7.1.60.0070.01819.82
7.1.50.0030.01716.82
7.1.00.0000.07722.57
7.0.200.0080.00016.64
7.0.140.0030.07322.04
7.0.60.0130.06719.91
7.0.50.0100.06717.77
7.0.40.0000.07720.13
7.0.30.0300.07020.13
7.0.20.0300.05320.10
7.0.10.0270.08020.07
7.0.00.0070.04020.20
5.6.280.0100.07021.06
5.6.210.0100.06020.75
5.6.200.0130.07318.23
5.6.190.0070.04020.66
5.6.180.0030.07320.77
5.6.170.0270.04720.50
5.6.160.0100.08020.49
5.6.150.0100.05718.16
5.6.140.0070.04018.27
5.6.130.0070.08718.18
5.6.120.0070.08321.09
5.6.110.0070.04021.14
5.6.100.0170.07720.95
5.6.90.0070.07321.07
5.6.80.0100.03720.36
5.6.70.0230.05320.36
5.5.350.0030.07720.44
5.5.340.0070.08318.09
5.5.330.0030.06720.47
5.5.320.0300.06020.22
5.5.310.0070.04720.19
5.5.300.0000.06318.02
5.5.290.0070.04018.04
5.5.280.0100.08020.93
5.5.270.0100.06320.86
5.5.260.0070.08320.79
5.5.250.0170.07020.61
5.5.240.0000.07720.12
5.4.450.0900.06019.30
5.4.440.0170.07319.55
5.4.430.0130.05019.27
5.4.420.0100.07719.36
5.4.410.0030.06019.04
5.4.400.0930.05318.79
5.4.390.1130.04718.79
5.4.380.0130.05718.61
5.4.370.0030.04018.65
5.4.360.0100.05018.72
5.4.350.0070.04312.02
5.4.340.0060.04512.02
5.4.320.0070.03412.50
5.4.310.0080.03812.49
5.4.300.0080.03412.50
5.4.290.0060.04112.49
5.4.280.0040.03812.39
5.4.270.0050.03812.36
5.4.260.0070.03612.36
5.4.250.0030.04112.36
5.4.240.0050.03712.36
5.4.230.0040.03812.35
5.4.220.0070.03412.35
5.4.210.0070.03412.35
5.4.200.0070.03712.35
5.4.190.0050.03712.35
5.4.180.0050.03612.35
5.4.170.0060.03612.36
5.4.160.0070.03912.35
5.4.150.0070.03612.34
5.4.140.0120.03412.04
5.4.130.0070.03912.02
5.4.120.0050.03811.98
5.4.110.0040.03611.98
5.4.100.0040.03811.97
5.4.90.0050.04111.97
5.4.80.0090.03711.97
5.4.70.0080.03211.97
5.4.60.0060.03411.97
5.4.50.0040.03711.97
5.4.40.0100.03011.96
5.4.30.0080.04111.95
5.4.20.0110.03611.95
5.4.10.0070.03711.95
5.4.00.0070.03511.44
5.3.290.0070.03812.80
5.3.280.0070.03712.71
5.3.270.0030.04112.73
5.3.260.0030.04212.72
5.3.250.0080.03712.72
5.3.240.0070.03612.72
5.3.230.0100.03812.71
5.3.220.0090.03612.68
5.3.210.0090.03812.68
5.3.200.0070.03512.68
5.3.190.0090.03412.68
5.3.180.0040.03912.67
5.3.170.0060.04312.67
5.3.160.0080.03712.68
5.3.150.0100.03712.67
5.3.140.0080.03912.66
5.3.130.0040.04112.66
5.3.120.0020.04212.66
5.3.110.0060.03912.66
5.3.100.0060.03612.12
5.3.90.0060.03912.09
5.3.80.0060.03612.07
5.3.70.0070.03612.08
5.3.60.0130.03312.06
5.3.50.0090.03512.00
5.3.40.0050.04312.00
5.3.30.0050.04111.95
5.3.20.0040.04411.72
5.3.10.0030.03811.69
5.3.00.0040.04011.67
5.2.170.0100.0379.15
5.2.160.0050.0369.15
5.2.150.0060.0299.15
5.2.140.0080.0289.14
5.2.130.0030.0309.11
5.2.120.0060.0279.11
5.2.110.0050.0299.11
5.2.100.0050.0299.11
5.2.90.0040.0319.11
5.2.80.0040.0329.10
5.2.70.0060.0309.10
5.2.60.0030.0329.05
5.2.50.0060.0299.03
5.2.40.0040.0299.00
5.2.30.0050.0308.98
5.2.20.0040.0298.96
5.2.10.0050.0278.89
5.2.00.0050.0308.75
5.1.60.0070.0218.04
5.1.50.0030.0268.04
5.1.40.0030.0258.02
5.1.30.0030.0278.36
5.1.20.0030.0278.39
5.1.10.0050.0248.12
5.1.00.0050.0278.11
5.0.50.0030.0286.58
5.0.40.0030.0196.45
5.0.30.0050.0306.27
5.0.20.0050.0186.23
5.0.10.0060.0166.21
5.0.00.0010.0326.20
4.4.90.0060.0124.77
4.4.80.0020.0164.75
4.4.70.0030.0214.75
4.4.60.0030.0174.75
4.4.50.0020.0154.77
4.4.40.0000.0304.71
4.4.30.0050.0194.76
4.4.20.0030.0164.84
4.4.10.0050.0134.85
4.4.00.0030.0254.76
4.3.110.0030.0154.67
4.3.100.0020.0154.67
4.3.90.0030.0164.63
4.3.80.0010.0294.58
4.3.70.0010.0204.63
4.3.60.0050.0174.63
4.3.50.0070.0194.63
4.3.40.0020.0254.54
4.3.30.0020.0153.27
4.3.20.0030.0203.25
4.3.10.0020.0163.21
4.3.00.0100.0176.93

preferences:
64.08 ms | 403 KiB | 5 Q