3v4l.org

run code in 300+ PHP versions simultaneously
<?php class C1 { public function staticCall() { print __METHOD__.PHP_EOL; } public function dynamicCall() { print __METHOD__.PHP_EOL; } } class C2 extends C1 { public function dynamicCall() { print __METHOD__.PHP_EOL; parent::dynamicCall(); } } $c2 = new C2(); $c2->dynamicCall(); $c2->staticCall();

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.0030.01418.56
8.3.50.0110.00921.16
8.3.40.0120.00318.51
8.3.30.0100.00319.14
8.3.20.0050.00320.16
8.3.10.0080.00023.41
8.3.00.0040.00419.14
8.2.180.0120.00318.54
8.2.170.0060.00918.96
8.2.160.0180.00022.96
8.2.150.0000.00724.18
8.2.140.0080.00024.66
8.2.130.0050.00226.16
8.2.120.0000.00819.80
8.2.110.0040.00421.04
8.2.100.0040.00817.78
8.2.90.0060.00317.63
8.2.80.0030.00517.97
8.2.70.0030.00718.05
8.2.60.0000.00818.09
8.2.50.0040.00418.10
8.2.40.0040.00419.30
8.2.30.0070.00019.10
8.2.20.0030.00617.68
8.2.10.0040.00418.07
8.2.00.0070.00017.53
8.1.280.0070.00725.92
8.1.270.0080.00018.88
8.1.260.0000.00726.35
8.1.250.0070.00028.09
8.1.240.0080.00022.14
8.1.230.0080.00419.16
8.1.220.0070.00317.74
8.1.210.0090.00018.77
8.1.200.0030.00617.22
8.1.190.0040.00417.10
8.1.180.0090.00018.10
8.1.170.0040.00418.43
8.1.160.0070.00018.74
8.1.150.0000.00718.79
8.1.140.0000.00917.45
8.1.130.0070.00017.83
8.1.120.0030.00317.36
8.1.110.0040.00417.41
8.1.100.0050.00317.34
8.1.90.0070.00017.33
8.1.80.0070.00017.28
8.1.70.0000.00717.29
8.1.60.0030.00517.48
8.1.50.0040.00417.54
8.1.40.0000.00717.57
8.1.30.0040.00417.62
8.1.20.0000.00817.66
8.1.10.0040.00417.52
8.1.00.0040.00417.49
8.0.300.0070.00019.61
8.0.290.0040.00416.75
8.0.280.0030.00318.30
8.0.270.0030.00317.21
8.0.260.0000.00617.17
8.0.250.0070.00016.83
8.0.240.0070.00016.94
8.0.230.0040.00416.80
8.0.220.0030.00316.72
8.0.210.0030.00316.73
8.0.200.0030.00316.77
8.0.190.0040.00416.80
8.0.180.0000.00816.87
8.0.170.0000.00716.85
8.0.160.0000.00716.92
8.0.150.0000.00816.81
8.0.140.0070.00016.68
8.0.130.0000.00513.24
8.0.120.0000.00816.76
8.0.110.0000.00816.75
8.0.100.0070.00016.68
8.0.90.0000.00816.89
8.0.80.0110.01016.78
8.0.70.0030.00316.66
8.0.60.0050.00316.73
8.0.50.0000.00816.76
8.0.30.0170.00417.11
8.0.20.0110.00717.40
8.0.10.0000.00716.84
8.0.00.0150.00516.64
7.4.330.0050.00015.03
7.4.320.0030.00316.44
7.4.300.0000.00616.61
7.4.290.0030.00316.53
7.4.280.0040.00416.50
7.4.270.0070.00016.53
7.4.260.0080.00016.50
7.4.250.0040.00416.61
7.4.240.0040.00416.46
7.4.230.0000.00716.32
7.4.220.0110.00716.54
7.4.210.0030.01216.59
7.4.200.0050.00316.70
7.4.160.0130.00316.32
7.4.150.0100.00917.40
7.4.140.0140.00717.86
7.4.130.0150.00316.40
7.4.120.0100.00816.54
7.4.110.0130.01016.30
7.4.100.0030.01916.34
7.4.90.0100.00716.37
7.4.80.0030.01319.39
7.4.70.0070.01016.41
7.4.60.0000.01616.50
7.4.50.0000.00516.52
7.4.40.0130.00416.41
7.4.30.0060.00916.41
7.4.00.0000.01714.81
7.3.330.0000.00613.16
7.3.320.0030.00313.20
7.3.310.0060.00016.22
7.3.300.0000.00616.11
7.3.290.0060.00716.26
7.3.280.0100.00916.25
7.3.270.0140.00317.40
7.3.260.0110.00616.53
7.3.250.0110.01216.36
7.3.240.0130.01016.30
7.3.230.0150.00616.52
7.3.210.0060.00916.50
7.3.200.0100.00719.39
7.3.190.0160.00016.42
7.3.180.0150.00016.20
7.3.170.0060.00916.43
7.3.160.0040.01216.22
7.2.330.0090.00916.71
7.2.320.0200.04016.73
7.2.310.0030.01416.42
7.2.300.0130.00416.68
7.2.290.0130.01016.80
7.2.00.0110.00718.92
7.1.100.0030.00718.05
7.1.70.0050.00217.00
7.1.60.0130.01019.22
7.1.50.0070.01416.83
7.1.00.0070.07022.40
7.0.200.0030.00716.68
7.0.140.0100.06322.18
7.0.60.0130.07319.79
7.0.50.0070.05717.88
7.0.40.0100.07020.26
7.0.30.0370.07020.07
7.0.20.0400.07320.07
7.0.10.0100.06320.24
7.0.00.0070.08320.24
5.6.280.0000.07721.00
5.6.210.0170.04720.77
5.6.200.0100.08318.14
5.6.190.0000.08020.68
5.6.180.0330.05720.61
5.6.170.0330.07320.56
5.6.160.0100.06320.54
5.6.150.0000.05718.14
5.6.140.0070.08018.21
5.6.130.0070.04718.14
5.6.120.0070.06720.97
5.6.110.0130.08021.10
5.6.100.0070.09021.01
5.6.90.0030.06721.03
5.6.80.0100.07320.51
5.5.350.0170.03020.36
5.5.340.0100.07318.05
5.5.330.0130.05020.41
5.5.320.0070.05320.24
5.5.310.0330.05720.30
5.5.300.0070.03717.95
5.5.290.0100.07717.92
5.5.280.0030.08320.83
5.5.270.0100.08320.89
5.5.260.0170.06720.68
5.5.250.0100.07720.78
5.5.240.0100.07320.27
5.4.450.0030.06319.61
5.4.440.1030.07319.34
5.4.430.1100.06019.40
5.4.420.0730.05719.55
5.4.410.0800.05019.30
5.4.400.0770.05719.25
5.4.390.0870.05719.06
5.4.380.0370.06318.50
5.4.370.0330.06318.76
5.4.360.0170.05318.81
5.4.350.0270.05018.63
5.4.340.0230.05018.84
5.4.320.0230.05018.75
5.4.310.0130.06018.50
5.4.300.0100.06318.83
5.4.290.0170.05718.80
5.4.280.0200.06018.79
5.4.270.0300.04718.72
5.4.260.0170.06018.79
5.4.250.0100.07018.74
5.4.240.0200.05718.55
5.4.230.0130.06318.61
5.4.220.0200.05718.45
5.4.210.0370.04318.75
5.4.200.0170.05016.71
5.4.190.0200.05718.80
5.4.180.0230.05318.52
5.4.170.0130.08718.78
5.4.160.0230.05018.44
5.4.150.0200.05018.78
5.4.140.0270.04316.30
5.4.130.0170.05316.36
5.4.120.0070.05716.38
5.4.110.0400.04316.34
5.4.100.0200.05716.16
5.4.90.0230.04716.43
5.4.80.0200.04716.20
5.4.70.0270.05716.26
5.4.60.0200.06016.23
5.4.50.0200.05016.27
5.4.40.0130.06016.23
5.4.30.0200.05016.28
5.4.20.0200.05316.20
5.4.10.0200.04716.39
5.4.00.0100.05715.65
5.3.290.0300.04714.72
5.3.280.0170.05314.78
5.3.270.0200.07314.63
5.3.260.0270.05314.65
5.3.250.0300.06714.73
5.3.240.0100.05714.71
5.3.230.0170.05314.70
5.3.220.0200.06314.63
5.3.210.0270.05314.75
5.3.200.0130.06314.75
5.3.190.0270.07014.57
5.3.180.0270.07014.73
5.3.170.0270.05314.61
5.3.160.0270.05314.58
5.3.150.0330.06014.67
5.3.140.0300.06714.72
5.3.130.0100.06314.58
5.3.120.0200.06714.72
5.3.110.0230.07714.55
5.3.100.0230.07014.25
5.3.90.0270.04314.16
5.3.80.0200.05314.05
5.3.70.0270.06314.17
5.3.60.0170.05314.01
5.3.50.0200.05313.95
5.3.40.0330.04313.99
5.3.30.0230.06014.03
5.3.20.0300.05713.75
5.3.10.0230.06313.71
5.3.00.0230.05313.75
5.2.170.0130.04711.26
5.2.160.0100.06011.22
5.2.150.0170.04311.25
5.2.140.0200.05711.25
5.2.130.0100.04311.21
5.2.120.0200.03711.31
5.2.110.0200.03711.15
5.2.100.0270.03011.13
5.2.90.0170.04311.21
5.2.80.0230.05311.17
5.2.70.0130.05011.16
5.2.60.0270.04311.28
5.2.50.0200.04711.02
5.2.40.0270.04711.03
5.2.30.0170.06010.96
5.2.20.0200.04710.99
5.2.10.0200.05310.89
5.2.00.0230.03710.74
5.1.60.0270.04010.14
5.1.50.0230.03310.21
5.1.40.0170.03710.02
5.1.30.0270.02310.52
5.1.20.0070.04310.54
5.1.10.0130.03310.07
5.1.00.0100.04010.28
5.0.50.0230.0238.76
5.0.40.0070.0308.40
5.0.30.0100.0438.32
5.0.20.0100.0338.33
5.0.10.0100.0308.27
5.0.00.0070.0538.36
4.4.90.0100.0206.71
4.4.80.0070.0206.71
4.4.70.0100.0206.71
4.4.60.0070.0236.71
4.4.50.0000.0306.71
4.4.40.0100.0336.71
4.4.30.0070.0236.71
4.4.20.0070.0236.71
4.4.10.0070.0236.71
4.4.00.0100.0306.71
4.3.110.0100.0206.71
4.3.100.0030.0276.71
4.3.90.0030.0236.71
4.3.80.0070.0336.71
4.3.70.0030.0276.71
4.3.60.0000.0276.71
4.3.50.0000.0276.71
4.3.40.0070.0336.71
4.3.30.0030.0236.71
4.3.20.0070.0206.71
4.3.10.0070.0206.71
4.3.00.0100.0307.57

preferences:
65.44 ms | 401 KiB | 5 Q