3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Example; class Base { static function whoAmI() { return static::class; } } class Child extends Base {} $what = __NAMESPACE__ . '\Child'; var_dump($what::whoAmI());

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.70.0100.00618.18
8.3.60.0090.00616.50
8.3.50.0090.01021.14
8.3.40.0110.00418.60
8.3.30.0110.00418.48
8.3.20.0070.00020.20
8.3.10.0040.00423.65
8.3.00.0000.00723.53
8.2.190.0060.00916.58
8.2.180.0120.00616.75
8.2.170.0130.00322.96
8.2.160.0100.00320.53
8.2.150.0050.00524.18
8.2.140.0040.00424.66
8.2.130.0080.00020.70
8.2.120.0040.00426.35
8.2.110.0040.00419.29
8.2.100.0080.00417.80
8.2.90.0070.00019.05
8.2.80.0000.00817.97
8.2.70.0000.00917.50
8.2.60.0000.00817.93
8.2.50.0040.00418.09
8.2.40.0000.00822.15
8.2.30.0030.00519.31
8.2.20.0050.00217.53
8.2.10.0050.00218.00
8.2.00.0020.00518.06
8.1.280.0040.01125.92
8.1.270.0040.01422.17
8.1.260.0090.00028.09
8.1.250.0000.00728.09
8.1.240.0060.00322.48
8.1.230.0030.00717.82
8.1.220.0050.00317.74
8.1.210.0000.00818.77
8.1.200.0030.00617.22
8.1.190.0000.00817.10
8.1.180.0040.00418.10
8.1.170.0090.00018.56
8.1.160.0000.00720.59
8.1.150.0040.00420.52
8.1.140.0040.00419.45
8.1.130.0000.00717.59
8.1.120.0000.00717.45
8.1.110.0000.00717.40
8.1.100.0000.00817.38
8.1.90.0030.00317.30
8.1.80.0000.00717.41
8.1.70.0000.00717.39
8.1.60.0080.00017.57
8.1.50.0080.00017.57
8.1.40.0000.01217.53
8.1.30.0080.00017.50
8.1.20.0070.00017.46
8.1.10.0050.00217.59
8.1.00.0040.00417.40
8.0.300.0080.00018.84
8.0.290.0070.00016.58
8.0.280.0030.00318.29
8.0.270.0000.00717.23
8.0.260.0030.00317.10
8.0.250.0030.00316.89
8.0.240.0000.00816.94
8.0.230.0000.00816.80
8.0.220.0030.00516.70
8.0.210.0000.00816.85
8.0.200.0000.00816.90
8.0.190.0080.00316.89
8.0.180.0040.00416.83
8.0.170.0040.00416.91
8.0.160.0000.00716.71
8.0.150.0040.00716.66
8.0.140.0000.00716.64
8.0.130.0060.00013.29
8.0.120.0080.00016.76
8.0.110.0050.00216.85
8.0.100.0000.00816.69
8.0.90.0070.00016.79
8.0.80.0040.01116.89
8.0.70.0040.00416.84
8.0.60.0000.00816.63
8.0.50.0000.00716.86
8.0.30.0100.00717.10
8.0.20.0090.00917.40
8.0.10.0000.00816.91
8.0.00.0110.00816.61
7.4.330.0050.00016.71
7.4.320.0030.00316.55
7.4.300.0040.00416.64
7.4.290.0070.00016.49
7.4.280.0000.00716.50
7.4.270.0000.00616.37
7.4.260.0030.00316.50
7.4.250.0050.00316.49
7.4.240.0030.00316.48
7.4.230.0000.00716.49
7.4.220.0070.01416.64
7.4.210.0070.00716.55
7.4.200.0000.00816.58
7.4.160.0040.01216.66
7.4.150.0070.01017.40
7.4.140.0150.00317.86
7.4.130.0120.00616.39
7.4.120.0110.00616.51
7.4.110.0060.00916.43
7.4.100.0100.01316.49
7.4.90.0130.00616.61
7.4.80.0060.01219.39
7.4.70.0130.00316.54
7.4.60.0100.01316.32
7.4.50.0060.00916.48
7.4.40.0070.01116.65
7.4.30.0150.00616.36
7.4.00.0040.01115.16
7.3.330.0030.00313.06
7.3.320.0050.00013.30
7.3.310.0030.00316.30
7.3.300.0050.00216.15
7.3.290.0000.00816.34
7.3.280.0060.01016.32
7.3.270.0100.00617.40
7.3.260.0120.00416.21
7.3.250.0110.00716.40
7.3.240.0130.00516.33
7.3.230.0030.01316.43
7.3.210.0060.01216.26
7.3.200.0080.00819.39
7.3.190.0110.00716.56
7.3.180.0100.00616.25
7.3.170.0080.00816.24
7.3.160.0030.01516.33
7.2.330.0030.01316.54
7.2.320.0060.01216.68
7.2.310.0140.00316.74
7.2.300.0000.01616.61
7.2.290.0130.00616.69
7.2.60.0070.01016.91
7.2.00.0140.00619.48
7.1.200.0040.01115.64
7.1.100.0360.00218.09
7.1.70.0060.00316.86
7.1.60.0040.02219.40
7.1.50.0130.00316.65
7.1.00.0030.07722.43
7.0.200.0090.00016.61
7.0.60.0230.07721.82
7.0.50.0100.06717.86
7.0.40.0130.07020.17
7.0.30.0230.03720.16
7.0.20.0130.04320.16
7.0.10.0070.04020.33
7.0.00.0000.06020.25
5.6.280.0100.03320.91
5.6.210.0070.04720.61
5.6.200.0030.07318.28
5.6.190.0170.04020.61
5.6.180.0230.07720.63
5.6.170.0230.06320.54
5.6.160.0070.04720.70
5.6.150.0100.07718.23
5.6.140.0130.07318.18
5.6.130.0030.04718.21
5.6.120.0070.07321.00
5.6.110.0070.04020.96
5.6.100.0070.06020.98
5.6.90.0070.08321.13
5.6.80.0070.08020.42
5.5.350.0370.06320.34
5.5.340.0070.03717.98
5.5.330.0030.04320.23
5.5.320.0300.06320.34
5.5.310.0200.04720.32
5.5.300.0030.04718.09
5.5.290.0000.05718.07
5.5.280.0070.08320.77
5.5.270.0100.06020.86
5.5.260.0100.05720.87
5.5.250.0100.06720.69
5.5.240.0200.05720.27

preferences:
32.64 ms | 401 KiB | 5 Q