3v4l.org

run code in 300+ PHP versions simultaneously
<?php trait Tagada { public function lol() { echo(__CLASS__); echo(get_class()); echo(get_called_class()); } } class Pute { use Tagada; } $pute = new Pute(); $pute->lol();

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.01018.40
8.3.50.0050.01321.22
8.3.40.0040.01118.59
8.3.30.0100.00719.09
8.3.20.0040.00420.13
8.3.10.0060.00320.44
8.3.00.0050.00319.25
8.2.180.0100.00718.18
8.2.170.0090.00922.96
8.2.160.0070.00720.57
8.2.150.0070.00024.18
8.2.140.0050.00324.66
8.2.130.0000.00726.16
8.2.120.0080.00022.23
8.2.110.0060.00320.35
8.2.100.0040.00717.78
8.2.90.0040.00419.21
8.2.80.0030.00617.97
8.2.70.0030.00617.63
8.2.60.0000.00918.03
8.2.50.0040.00418.07
8.2.40.0000.00918.16
8.2.30.0000.00719.28
8.2.20.0030.00517.75
8.2.10.0060.00318.09
8.2.00.0040.00417.56
8.1.280.0060.00925.92
8.1.270.0000.00823.83
8.1.260.0050.00326.35
8.1.250.0070.00028.09
8.1.240.0030.00623.91
8.1.230.0070.00419.15
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0070.00317.22
8.1.190.0090.00017.23
8.1.180.0040.00418.10
8.1.170.0060.00318.68
8.1.160.0000.00722.02
8.1.150.0070.00018.88
8.1.140.0050.00217.40
8.1.130.0000.00717.87
8.1.120.0040.00417.45
8.1.110.0040.00417.34
8.1.100.0000.00717.44
8.1.90.0030.00317.35
8.1.80.0050.00317.41
8.1.70.0070.00017.28
8.1.60.0060.00317.59
8.1.50.0000.00817.52
8.1.40.0000.00717.40
8.1.30.0000.00817.63
8.1.20.0000.00817.61
8.1.10.0070.00017.46
8.1.00.0030.00617.39
8.0.300.0000.00718.77
8.0.290.0040.00416.58
8.0.280.0070.00018.44
8.0.270.0030.00317.17
8.0.260.0000.00817.22
8.0.250.0030.00317.02
8.0.240.0030.00316.97
8.0.230.0030.00316.90
8.0.220.0030.00316.80
8.0.210.0050.00316.77
8.0.200.0030.00316.91
8.0.190.0050.00316.95
8.0.180.0040.00416.80
8.0.170.0030.00516.80
8.0.160.0030.00316.84
8.0.150.0030.00516.71
8.0.140.0030.00516.83
8.0.130.0030.00313.34
8.0.120.0040.00416.75
8.0.110.0040.00416.85
8.0.100.0050.00216.86
8.0.90.0030.00316.76
8.0.80.0030.01116.79
8.0.70.0050.00216.94
8.0.60.0000.00716.68
8.0.50.0040.00416.77
8.0.30.0090.01016.95
8.0.20.0150.00917.40
8.0.10.0040.00416.88
8.0.00.0100.00816.75
7.4.330.0050.00015.00
7.4.320.0060.00016.51
7.4.300.0000.00716.51
7.4.290.0040.00416.48
7.4.280.0030.00516.64
7.4.270.0030.00316.59
7.4.260.0070.00016.39
7.4.250.0040.00416.51
7.4.240.0000.00716.43
7.4.230.0030.00316.40
7.4.220.0150.01116.46
7.4.210.0090.00616.53
7.4.200.0050.00316.68
7.4.160.0080.00816.43
7.4.150.0150.00417.40
7.4.140.0150.00617.86
7.4.130.0110.00916.43
7.4.120.0130.00516.45
7.4.110.0030.01316.54
7.4.100.0140.00716.48
7.4.90.0090.00916.50
7.4.80.0130.00319.04
7.4.70.0090.00916.46
7.4.60.0030.01416.55
7.4.50.0030.00516.18
7.4.40.0000.02216.57
7.4.30.0030.01316.53
7.4.00.0060.01015.04
7.3.330.0030.00313.19
7.3.320.0000.00613.31
7.3.310.0040.00416.29
7.3.300.0000.00716.23
7.3.290.0090.01016.24
7.3.280.0100.00716.21
7.3.270.0150.00317.40
7.3.260.0130.00316.47
7.3.250.0110.00716.36
7.3.240.0120.00616.45
7.3.230.0120.00616.39
7.3.210.0080.01016.18
7.3.200.0120.01219.39
7.3.190.0160.00016.23
7.3.180.0060.01016.20
7.3.170.0120.00616.27
7.3.160.0040.01216.15
7.2.330.0080.00816.60
7.2.320.0120.01216.86
7.2.310.0090.00916.58
7.2.300.0100.00616.38
7.2.290.0100.00616.48
7.2.00.0030.00719.27
7.1.100.0030.00917.69
7.1.70.0040.00417.12
7.1.60.0070.01319.32
7.1.50.0060.01616.80
7.1.00.0030.07722.43
7.0.200.0050.00516.49
7.0.140.0100.06722.11
7.0.70.3170.03019.98
7.0.60.0030.06719.92
7.0.50.0130.07017.85
7.0.40.0070.06320.14
7.0.30.0500.05020.20
7.0.20.0370.06720.33
7.0.10.0400.07320.30
7.0.00.0100.07020.07
5.6.280.0070.07021.12
5.6.210.0100.08020.52
5.6.200.0070.08318.29
5.6.190.0030.04320.63
5.6.180.0070.06320.49
5.6.170.0230.08320.54
5.6.160.0100.07020.61
5.6.150.0170.07718.15
5.6.140.0070.06018.18
5.6.130.0130.06718.11
5.6.120.0170.07320.99
5.6.110.0130.07020.98
5.6.100.0100.07021.08
5.6.90.0070.08020.98
5.6.80.0170.06720.43
5.6.70.0230.07720.37
5.5.350.0070.08020.36
5.5.340.0070.08317.98
5.5.330.0070.03720.21
5.5.320.0030.08720.21
5.5.310.0330.08020.30
5.5.300.0070.05018.08
5.5.290.0070.06717.92
5.5.280.0000.09020.90
5.5.270.0070.05020.84
5.5.260.0130.08020.87
5.5.250.0130.07320.70
5.5.240.0100.08020.19
5.4.450.0300.04319.41
5.4.440.0970.06019.58
5.4.430.0900.05019.34
5.4.420.0670.00019.32
5.4.410.0670.00019.57
5.4.400.0630.00019.10
5.4.390.0630.00019.13
5.4.380.0200.06318.57
5.4.370.0330.05718.72
5.4.360.0470.06018.79
5.4.350.0170.06318.58
5.4.340.0370.05018.75
5.4.320.0070.03412.50
5.4.310.0080.03412.50
5.4.300.0050.03712.50
5.4.290.0040.04412.49
5.4.280.0040.03612.39
5.4.270.0080.03912.40
5.4.260.0060.04212.40
5.4.250.0080.03612.39
5.4.240.0070.03912.40
5.4.230.0060.03812.39
5.4.220.0060.04212.39
5.4.210.0090.03612.39
5.4.200.0060.04212.39
5.4.190.0080.03912.38
5.4.180.0050.04412.39
5.4.170.0050.03712.39
5.4.160.0070.03412.39
5.4.150.0080.03312.39
5.4.140.0060.03812.07
5.4.130.0060.03412.06
5.4.120.0060.03612.02
5.4.110.0070.03412.01
5.4.100.0050.03612.01
5.4.90.0070.03412.01
5.4.80.0050.03712.01
5.4.70.0080.03212.01
5.4.60.0050.03512.01
5.4.50.0070.03612.01
5.4.40.0050.03511.99
5.4.30.0030.03811.99
5.4.20.0060.03411.99
5.4.10.0070.03311.99
5.4.00.0040.04411.48
5.3.290.0040.04112.80
5.3.280.0040.04712.70
5.3.270.0040.04012.72
5.3.260.0070.03912.72
5.3.250.0090.04112.72
5.3.240.0040.04312.72
5.3.230.0080.03512.71
5.3.220.0070.03612.68
5.3.210.0070.03612.68
5.3.200.0080.04312.68
5.3.190.0060.03612.68
5.3.180.0060.03512.67
5.3.170.0090.03612.67
5.3.160.0040.03712.67
5.3.150.0030.03812.68
5.3.140.0050.04412.66
5.3.130.0060.03812.66
5.3.120.0040.04412.66
5.3.110.0050.04412.66
5.3.100.0070.03712.12
5.3.90.0060.03612.08
5.3.80.0030.03812.07
5.3.70.0060.03512.07
5.3.60.0060.04012.06
5.3.50.0090.03112.00
5.3.40.0050.03612.00
5.3.30.0050.04311.95
5.3.20.0100.04111.73
5.3.10.0050.03511.70
5.3.00.0030.03911.68
5.2.170.0060.0319.18
5.2.160.0060.0299.18
5.2.150.0060.0309.18
5.2.140.0070.0329.18
5.2.130.0030.0339.14
5.2.120.0060.0319.14
5.2.110.0070.0359.14
5.2.100.0090.0269.14
5.2.90.0030.0349.14
5.2.80.0060.0299.14
5.2.70.0080.0289.14
5.2.60.0030.0369.09
5.2.50.0040.0309.06
5.2.40.0040.0309.04
5.2.30.0050.0359.01
5.2.20.0050.0279.00
5.2.10.0030.0318.93
5.2.00.0070.0318.79
5.1.60.0040.0238.07
5.1.50.0050.0258.06
5.1.40.0050.0238.05
5.1.30.0050.0258.40
5.1.20.0060.0258.42
5.1.10.0040.0268.14
5.1.00.0030.0298.14
5.0.50.0030.0256.62
5.0.40.0020.0216.48
5.0.30.0030.0346.29
5.0.20.0040.0236.27
5.0.10.0020.0206.24
5.0.00.0030.0316.23
4.4.90.0040.0144.78
4.4.80.0030.0174.75
4.4.70.0010.0174.75
4.4.60.0020.0164.75
4.4.50.0020.0164.77
4.4.40.0050.0234.71
4.4.30.0030.0164.76
4.4.20.0040.0174.84
4.4.10.0040.0154.85
4.4.00.0030.0244.75
4.3.110.0040.0144.67
4.3.100.0050.0134.66
4.3.90.0050.0134.63
4.3.80.0040.0294.58
4.3.70.0030.0154.63
4.3.60.0030.0154.63
4.3.50.0030.0154.63
4.3.40.0030.0254.54
4.3.30.0010.0173.28
4.3.20.0020.0163.25
4.3.10.0020.0153.22
4.3.00.0070.01315.60

preferences:
46.41 ms | 401 KiB | 5 Q