3v4l.org

run code in 300+ PHP versions simultaneously
<?php trait TheErrorOfYourWays{ public function booboo(){ echo 'You had a booboo :('; } } trait SpectacularStuff1 { use TheErrorOfYourWays; } trait SpectacularStuff2 { use TheErrorOfYourWays; } trait SpectacularStuff3 { use TheErrorOfYourWays; } class DoSomethingSpectacular { use SpectacularStuff1, SpectacularStuff2, SpectacularStuff3 ; } $do = new DoSomethingSpectacular; $do->booboo(); $do->booboo2(); $do->booboo3();

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.0140.00718.43
8.3.50.0100.00822.04
8.3.40.0120.00318.76
8.3.30.0110.00319.04
8.3.20.0000.00720.39
8.3.10.0040.00422.09
8.3.00.0040.00422.45
8.2.180.0000.01716.63
8.2.170.0070.01422.96
8.2.160.0150.00020.93
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0000.00926.16
8.2.120.0040.00419.48
8.2.110.0100.01021.12
8.2.100.0060.00618.03
8.2.90.0040.00419.17
8.2.80.0040.00417.97
8.2.70.0030.00617.75
8.2.60.0050.00317.80
8.2.50.0000.00818.07
8.2.40.0000.00818.16
8.2.30.0070.00017.94
8.2.20.0000.00717.71
8.2.10.0040.00419.49
8.2.00.0040.00417.75
8.1.280.0090.00625.92
8.1.270.0090.00022.00
8.1.260.0050.00326.35
8.1.250.0030.00628.09
8.1.240.0030.00621.29
8.1.230.0040.01117.52
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0040.00417.22
8.1.190.0060.00317.35
8.1.180.0030.00618.10
8.1.170.0030.00618.46
8.1.160.0000.00722.01
8.1.150.0020.00518.64
8.1.140.0040.00417.50
8.1.130.0060.00017.73
8.1.120.0000.00717.40
8.1.110.0040.00417.36
8.1.100.0030.00317.46
8.1.90.0000.00717.33
8.1.80.0080.00017.31
8.1.70.0030.00317.39
8.1.60.0090.00017.58
8.1.50.0000.00817.44
8.1.40.0030.00617.55
8.1.30.0060.00317.64
8.1.20.0040.00417.63
8.1.10.0000.00917.44
8.1.00.0050.00317.51
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0040.00418.45
8.0.270.0030.00317.25
8.0.260.0060.00016.89
8.0.250.0030.00317.00
8.0.240.0030.00316.88
8.0.230.0000.00716.92
8.0.220.0040.00416.98
8.0.210.0030.00316.96
8.0.200.0030.00317.01
8.0.190.0000.00717.12
8.0.180.0000.00716.89
8.0.170.0030.00517.04
8.0.160.0070.00016.95
8.0.150.0040.00416.79
8.0.140.0050.00316.91
8.0.130.0060.00013.48
8.0.120.0040.00416.91
8.0.110.0040.00417.03
8.0.100.0000.00716.83
8.0.90.0020.00516.86
8.0.80.0040.01117.00
8.0.70.0070.00016.87
8.0.60.0000.00716.76
8.0.50.0080.00016.84
8.0.30.0080.01417.12
8.0.20.0130.01017.40
8.0.10.0000.00716.91
8.0.00.0060.01116.72
7.4.330.0050.00015.09
7.4.320.0030.00316.41
7.4.300.0040.00416.58
7.4.290.0000.00716.51
7.4.280.0000.00716.49
7.4.270.0040.00416.59
7.4.260.0070.00016.63
7.4.250.0050.00316.48
7.4.240.0020.00616.54
7.4.230.0040.00416.59
7.4.220.0000.01816.50
7.4.210.0060.00816.52
7.4.200.0000.00816.68
7.4.190.0040.00416.46
7.4.160.0030.01616.51
7.4.150.0100.01317.40
7.4.140.0170.00217.86
7.4.130.0100.00716.59
7.4.120.0070.01016.60
7.4.110.0090.00916.70
7.4.100.0130.00316.58
7.4.90.0140.01016.50
7.4.80.0070.01119.39
7.4.70.0130.00716.79
7.4.60.0030.01316.60
7.4.50.0020.00816.36
7.4.40.0060.01222.77
7.4.30.0130.00616.52
7.4.00.0050.01014.98
7.3.330.0000.00513.32
7.3.320.0020.00213.38
7.3.310.0000.00716.40
7.3.300.0040.00416.32
7.3.290.0110.00716.38
7.3.280.0070.01116.36
7.3.270.0060.01117.40
7.3.260.0160.00816.48
7.3.250.0090.00816.35
7.3.240.0140.00316.34
7.3.230.0100.00716.39
7.3.210.0050.01116.60
7.3.200.0140.00319.39
7.3.190.0070.01016.63
7.3.180.0140.00216.34
7.3.170.0170.00016.34
7.3.160.0080.00816.46
7.3.120.0090.00814.94
7.3.110.0070.00715.01
7.3.100.0090.00314.81
7.3.90.0040.01115.02
7.3.80.0040.01215.12
7.3.70.0000.01214.84
7.3.60.0000.01214.95
7.3.50.0030.00914.59
7.3.40.0060.00314.88
7.3.30.0030.01314.80
7.3.20.0000.01616.71
7.3.10.0050.00516.57
7.3.00.0080.00416.54
7.2.330.0000.01716.60
7.2.320.0140.00716.63
7.2.310.0030.01416.46
7.2.300.0090.00616.19
7.2.290.0030.01316.38
7.2.250.0040.01215.00
7.2.240.0030.01514.96
7.2.230.0000.01514.89
7.2.220.0080.00815.05
7.2.210.0060.01114.84
7.2.200.0030.00915.00
7.2.190.0070.00315.01
7.2.180.0030.01314.55
7.2.170.0060.00314.77
7.2.80.0200.00316.18
7.2.60.0310.00316.53
7.2.00.0030.01019.27
7.1.330.0030.01315.52
7.1.320.0090.00415.69
7.1.310.0030.01015.55
7.1.300.0080.00615.76
7.1.290.0100.00315.48
7.1.280.0070.00715.61
7.1.270.0040.00815.38
7.1.260.0040.00415.41
7.1.200.0000.01315.61
7.1.100.0000.01017.74
7.1.70.0110.00416.99
7.1.60.0030.01219.82
7.1.50.0100.01016.80
7.1.00.0000.08022.40
7.0.200.0060.00616.73
7.0.140.0070.07021.95
7.0.60.0070.08020.04
7.0.50.0070.05317.88
7.0.40.0030.04320.30
7.0.30.0270.07020.13
7.0.20.0200.07320.09
7.0.10.0200.08320.20
7.0.00.0130.07720.06
5.6.280.0000.07721.03
5.6.210.0070.04320.52
5.6.200.0030.05318.29
5.6.190.0130.04320.64
5.6.180.2430.04320.67
5.6.170.0370.04320.62
5.6.160.0100.06320.48
5.6.150.0130.07718.29
5.6.140.0130.07318.11
5.6.130.0000.04318.15
5.6.120.0030.09021.13
5.6.110.0030.09020.89
5.6.100.0170.04320.98
5.6.90.0030.06721.12
5.6.80.0070.07720.53
5.6.70.3870.03020.38
5.5.350.0130.04720.33
5.5.340.0070.03717.96
5.5.330.0070.07720.34
5.5.320.0330.05320.20
5.5.310.0300.06720.27
5.5.300.0030.04317.94
5.5.290.0000.04717.93
5.5.280.0170.06720.86
5.5.270.0000.09020.66
5.5.260.0070.08720.88
5.5.250.0030.07320.71
5.5.240.0000.07720.38
5.4.450.0800.05019.51
5.4.440.0870.05019.16
5.4.430.0930.00019.54
5.4.420.2100.00019.43
5.4.410.0070.05718.96
5.4.400.0100.05318.50
5.4.390.0130.05018.74
5.4.380.0370.04718.79
5.4.370.0200.04718.61
5.4.360.0270.04018.63
5.4.350.0270.04318.79
5.4.340.0130.05718.47
5.4.320.0040.04212.50
5.4.310.0080.03912.50
5.4.300.0060.04312.51
5.4.290.0050.03912.50
5.4.280.0070.03412.40
5.4.270.0050.04012.36
5.4.260.0060.03712.36
5.4.250.0080.03712.36
5.4.240.0050.03712.36
5.4.230.0070.03812.36
5.4.220.0070.03512.36
5.4.210.0080.03312.36
5.4.200.0050.03712.36
5.4.190.0060.04012.36
5.4.180.0060.03412.35
5.4.170.0060.03912.36
5.4.160.0020.03912.36
5.4.150.0120.02912.36
5.4.140.0070.03512.04
5.4.130.0060.03412.03
5.4.120.0080.03311.99
5.4.110.0090.03111.98
5.4.100.0030.03811.98
5.4.90.0070.03511.98
5.4.80.0040.03911.98
5.4.70.0090.03111.98
5.4.60.0070.03711.98
5.4.50.0030.03711.98
5.4.40.0040.03511.96
5.4.30.0030.04111.96
5.4.20.0040.03811.96
5.4.10.0040.03511.96
5.4.00.0060.03611.45
5.3.290.0070.05012.80
5.3.280.0080.03512.71
5.3.270.0070.03712.72
5.3.260.0060.04312.72
5.3.250.0050.03812.72
5.3.240.0070.03712.72
5.3.230.0050.04012.71
5.3.220.0050.04012.68
5.3.210.0040.04012.68
5.3.200.0030.04212.68
5.3.190.0070.03612.68
5.3.180.0040.03812.67
5.3.170.0050.03912.67
5.3.160.0040.03812.67
5.3.150.0060.03612.67
5.3.140.0080.03312.66
5.3.130.0030.04112.66
5.3.120.0080.03612.65
5.3.110.0040.04012.66
5.3.100.0050.03812.12
5.3.90.0050.03612.08
5.3.80.0050.04212.08
5.3.70.0050.03612.08
5.3.60.0040.03712.06
5.3.50.0050.03612.00
5.3.40.0090.03312.00
5.3.30.0070.03311.94
5.3.20.0030.03811.70
5.3.10.0020.03811.66
5.3.00.0070.03511.64
5.2.170.0030.0319.15
5.2.160.0050.0289.15
5.2.150.0050.0359.15
5.2.140.0080.0409.15
5.2.130.0070.0259.11
5.2.120.0040.0289.11
5.2.110.0080.0269.11
5.2.100.0050.0289.11
5.2.90.0070.0279.11
5.2.80.0020.0319.10
5.2.70.0040.0309.09
5.2.60.0040.0309.06
5.2.50.0040.0309.02
5.2.40.0040.0299.00
5.2.30.0040.0298.97
5.2.20.0040.0298.96
5.2.10.0040.0288.89
5.2.00.0020.0328.75
5.1.60.0040.0248.03
5.1.50.0040.0248.04
5.1.40.0050.0238.02
5.1.30.0020.0278.37
5.1.20.0040.0268.40
5.1.10.0070.0228.11
5.1.00.0050.0248.11
5.0.50.0010.0286.59
5.0.40.0020.0206.45
5.0.30.0010.0336.26
5.0.20.0010.0216.24
5.0.10.0040.0186.21
5.0.00.0040.0296.20
4.4.90.0030.0144.77
4.4.80.0040.0134.75
4.4.70.0030.0144.75
4.4.60.0030.0154.75
4.4.50.0030.0144.77
4.4.40.0010.0264.71
4.4.30.0040.0144.76
4.4.20.0030.0154.84
4.4.10.0030.0154.85
4.4.00.0040.0244.76
4.3.110.0010.0174.67
4.3.100.0030.0144.67
4.3.90.0030.0144.63
4.3.80.0060.0214.59
4.3.70.0010.0164.63
4.3.60.0020.0154.63
4.3.50.0040.0144.63
4.3.40.0010.0254.53
4.3.30.0020.0193.27
4.3.20.0010.0173.25
4.3.10.0000.0173.21
4.3.00.0030.01715.59

preferences:
46.12 ms | 401 KiB | 5 Q