3v4l.org

run code in 300+ PHP versions simultaneously
<?php class ClassB extends ClassA { public function foo(){ echo get_class($this); } }

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.40.0110.00418.97
8.3.30.0140.00018.98
8.3.20.0040.00420.21
8.3.10.0030.00523.50
8.3.00.0080.00019.50
8.2.170.0100.00722.96
8.2.160.0100.00720.48
8.2.150.0000.00824.18
8.2.140.0070.00024.66
8.2.130.0070.00026.16
8.2.120.0000.00822.08
8.2.110.0060.00319.31
8.2.100.0040.00718.22
8.2.90.0030.00619.05
8.2.80.0050.00317.97
8.2.70.0050.00317.48
8.2.60.0000.00918.04
8.2.50.0040.00419.23
8.2.40.0050.00319.95
8.2.30.0080.00018.10
8.2.20.0000.00817.61
8.2.10.0070.00018.09
8.2.00.0000.00917.64
8.1.270.0060.00622.13
8.1.260.0040.00426.35
8.1.250.0030.00528.09
8.1.240.0030.00622.06
8.1.230.0070.00417.70
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0060.00317.35
8.1.190.0040.00417.10
8.1.180.0040.00418.10
8.1.170.0000.00918.57
8.1.160.0050.00222.00
8.1.150.0080.00318.55
8.1.140.0000.00817.34
8.1.130.0030.00317.74
8.1.120.0040.00417.45
8.1.110.0070.00017.30
8.1.100.0030.00517.37
8.1.90.0040.00417.38
8.1.80.0080.00017.43
8.1.70.0070.00017.35
8.1.60.0030.00517.54
8.1.50.0000.00717.48
8.1.40.0050.00317.45
8.1.30.0040.00417.47
8.1.20.0000.00717.47
8.1.10.0000.00717.48
8.1.00.0000.00817.51
8.0.300.0070.00018.77
8.0.290.0040.00417.15
8.0.280.0030.00318.43
8.0.270.0000.00717.23
8.0.260.0060.00017.19
8.0.250.0080.00017.01
8.0.240.0050.00217.07
8.0.230.0000.00717.03
8.0.220.0030.00316.95
8.0.210.0070.00016.99
8.0.200.0060.00017.00
8.0.190.0040.00416.91
8.0.180.0000.00716.88
8.0.170.0050.00316.96
8.0.160.0000.00716.82
8.0.150.0050.00316.77
8.0.140.0040.00416.91
8.0.130.0030.00313.33
8.0.120.0000.00716.87
8.0.110.0030.00516.84
8.0.100.0000.00816.83
8.0.90.0030.00616.77
8.0.80.0000.01516.99
8.0.70.0040.00416.83
8.0.60.0020.00516.81
8.0.50.0040.00416.82
8.0.30.0100.01517.01
8.0.20.0100.00817.40
8.0.10.0050.00316.94
8.0.00.0170.00216.81
7.4.330.0050.00015.09
7.4.320.0000.00716.43
7.4.300.0000.00616.48
7.4.290.0000.00716.48
7.4.280.0080.00016.44
7.4.270.0040.00316.42
7.4.260.0000.00616.41
7.4.250.0040.00416.49
7.4.240.0030.00316.44
7.4.230.0000.00716.27
7.4.220.0120.01216.61
7.4.210.0100.00816.40
7.4.200.0040.00416.32
7.4.190.0040.00416.43
7.4.160.0120.00616.34
7.4.150.0110.00617.40
7.4.140.0060.01117.86
7.4.130.0100.00816.51
7.4.120.0100.00816.65
7.4.110.0090.00916.59
7.4.100.0170.00316.51
7.4.90.0130.00416.72
7.4.80.0100.00619.39
7.4.70.0140.00316.49
7.4.60.0040.01116.35
7.4.50.0000.00816.29
7.4.40.0170.00022.77
7.4.30.0170.00716.51
7.4.00.0060.00915.13
7.3.330.0000.00613.24
7.3.320.0030.00313.29
7.3.310.0030.00316.24
7.3.300.0000.00716.33
7.3.290.0100.01016.25
7.3.280.0110.00516.30
7.3.270.0140.00317.40
7.3.260.0100.00716.29
7.3.250.0040.01416.37
7.3.240.0060.01216.31
7.3.230.0070.01016.41
7.3.210.0100.00716.39
7.3.200.0150.00919.39
7.3.190.0220.00316.45
7.3.180.0190.00016.43
7.3.170.0120.00316.42
7.3.160.0090.00616.52
7.3.120.0000.01714.55
7.3.10.0020.01516.49
7.3.00.0110.00516.58
7.2.330.0180.00316.38
7.2.320.0140.00716.24
7.2.310.0090.01216.45
7.2.300.0060.00916.45
7.2.290.0090.01216.36
7.2.130.0140.00216.76
7.2.120.0030.00916.64
7.2.110.0030.01116.72
7.2.100.0120.00516.62
7.2.90.0070.01016.50
7.2.80.0090.00616.64
7.2.70.0040.00816.74
7.2.60.0080.00816.56
7.2.50.0080.00916.30
7.2.40.0080.00816.68
7.2.30.0090.00516.52
7.2.20.0100.00616.48
7.2.10.0050.01016.74
7.2.00.0010.01317.53
7.1.250.0090.00515.28
7.1.100.0090.00317.80
7.1.70.0060.00916.81
7.1.60.0040.02119.46
7.1.50.0110.01116.74
7.1.00.0030.07722.25
7.0.200.0160.00614.48
7.0.140.0030.06721.90
7.0.60.0070.07720.04
7.0.50.0000.07317.87
7.0.40.0230.07020.24
7.0.30.0500.06020.30
7.0.20.0430.06720.06
7.0.10.0100.08720.10
7.0.00.0100.04720.26
5.6.280.0030.07321.01
5.6.210.0030.04020.77
5.6.200.0130.07718.23
5.6.190.0100.08020.63
5.6.180.0270.03720.39
5.6.170.0300.03320.45
5.6.160.0000.04320.46
5.6.150.0030.04018.19
5.6.140.0130.03018.18
5.6.130.0030.08318.27
5.6.120.0100.07321.04
5.6.110.0030.08721.04
5.6.100.0100.05321.13
5.6.90.0100.06320.96
5.6.80.0130.07020.54
5.6.70.2730.04320.52
5.5.350.0030.08020.44
5.5.340.0170.07018.08
5.5.330.0030.04020.57
5.5.320.0230.03320.24
5.5.310.0200.07020.36
5.5.300.0100.05018.04
5.5.290.0170.05717.95
5.5.280.0000.05720.77
5.5.270.0100.03720.77
5.5.260.0000.10720.97
5.5.250.0100.08720.59
5.5.240.0030.06020.27
5.4.450.0170.06319.57
5.4.440.0300.04719.55
5.4.430.0100.06019.54
5.4.420.0170.05319.46
5.4.410.0000.06719.44
5.4.400.0100.07019.16
5.4.390.0130.05719.13
5.4.380.0100.06018.75
5.4.370.0100.05718.46
5.4.360.0230.04318.57
5.4.350.0370.05718.81
5.4.340.0370.05318.61
5.4.320.0040.04612.50
5.4.310.0110.04012.50
5.4.300.0050.03912.50
5.4.290.0100.04412.48
5.4.280.0060.04212.38
5.4.270.0100.04012.38
5.4.260.0070.04312.38
5.4.250.0100.05912.38
5.4.240.0090.04812.38
5.4.230.0100.05012.37
5.4.220.0050.04012.37
5.4.210.0050.04012.37
5.4.200.0030.04412.38
5.4.190.0060.04112.36
5.4.180.0060.04312.37
5.4.170.0060.04212.38
5.4.160.0120.07412.38
5.4.150.0160.06812.37
5.4.140.0080.05912.06
5.4.130.0180.06412.04
5.4.120.0180.08112.00
5.4.110.0060.06112.00
5.4.100.0110.04512.00
5.4.90.0130.09611.99
5.4.80.0110.03412.00
5.4.70.0100.04012.00
5.4.60.0120.07711.99
5.4.50.0180.05812.00
5.4.40.0100.03511.98
5.4.30.0130.06311.98
5.4.20.0180.06411.98
5.4.10.0080.07211.98
5.4.00.0110.03711.47
5.3.290.0090.04312.80
5.3.280.0080.04512.71
5.3.270.0120.05712.72
5.3.260.0140.07012.72
5.3.250.0100.07212.72
5.3.240.0130.04112.72
5.3.230.0080.05212.71
5.3.220.0050.04112.68
5.3.210.0050.04712.68
5.3.200.0080.03512.68
5.3.190.0050.03912.68
5.3.180.0070.03512.68
5.3.170.0050.03912.67
5.3.160.0060.03812.68
5.3.150.0060.03812.68
5.3.140.0060.03612.66
5.3.130.0110.03412.66
5.3.120.0070.04312.66
5.3.110.0050.04612.66
5.3.100.0110.04912.12
5.3.90.0090.05512.10
5.3.80.0070.05312.09
5.3.70.0100.05112.09
5.3.60.0120.04912.07
5.3.50.0100.04712.02
5.3.40.0150.05112.02
5.3.30.0100.05411.98
5.3.20.0030.04211.77
5.3.10.0070.04911.73
5.3.00.0070.05011.72
5.2.170.0060.0419.22
5.2.160.0060.0499.22
5.2.150.0070.0479.22
5.2.140.0050.0529.22
5.2.130.0090.0399.17
5.2.120.0090.0439.18
5.2.110.0060.0309.18
5.2.100.0090.0289.18
5.2.90.0050.0329.17
5.2.80.0040.0399.17
5.2.70.0040.0459.17
5.2.60.0050.0449.13
5.2.50.0040.0419.09
5.2.40.0070.0429.07
5.2.30.0050.0339.04
5.2.20.0030.0329.03
5.2.10.0060.0288.94
5.2.00.0050.0328.80
5.1.60.0100.0418.09
5.1.50.0040.0368.09
5.1.40.0100.0328.06
5.1.30.0040.0398.41
5.1.20.0060.0388.44
5.1.10.0060.0358.16
5.1.00.0070.0428.16
5.0.50.0050.0356.63
5.0.40.0030.0476.50
5.0.30.0050.0466.31
5.0.20.0030.0296.28
5.0.10.0090.0366.26
5.0.00.0060.0396.25
4.4.90.0050.0224.78
4.4.80.0030.0234.75
4.4.70.0050.0214.75
4.4.60.0030.0224.75
4.4.50.0020.0254.77
4.4.40.0040.0354.71
4.4.30.0060.0244.76
4.4.20.0040.0234.85
4.4.10.0080.0234.85
4.4.00.0030.0384.76
4.3.110.0030.0194.67
4.3.100.0040.0154.66
4.3.90.0040.0144.63
4.3.80.0050.0234.58
4.3.70.0030.0164.63
4.3.60.0030.0174.63
4.3.50.0050.0214.63
4.3.40.0070.0304.54
4.3.30.0040.0213.30
4.3.20.0050.0203.28
4.3.10.0040.0253.23
4.3.00.0330.02310.55

preferences:
47.93 ms | 400 KiB | 5 Q