3v4l.org

run code in 300+ PHP versions simultaneously
<?php Class Obj { public $property = 'Beauty beyond comare ...'; static function showP(){ return $this->property; } } $z[0] = 'showP'; echo Obj::{$z[0]}();

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.0170.00318.43
8.3.60.0100.01016.63
8.3.50.0130.00821.00
8.3.40.0090.00618.67
8.3.30.0080.00818.54
8.3.20.0000.00720.20
8.3.10.0040.00423.71
8.3.00.0100.00323.66
8.2.180.0120.00318.54
8.2.170.0110.00422.96
8.2.160.0030.01020.53
8.2.150.0000.00724.18
8.2.140.0040.00424.66
8.2.130.0040.00419.85
8.2.120.0040.00426.35
8.2.110.0030.00622.25
8.2.100.0110.00018.04
8.2.90.0030.00519.17
8.2.80.0040.00417.97
8.2.70.0050.00517.59
8.2.60.0000.00818.05
8.2.50.0040.00418.07
8.2.40.0090.00220.04
8.2.30.0040.00419.43
8.2.20.0070.00017.61
8.2.10.0040.00418.00
8.2.00.0040.00418.05
8.1.280.0110.00425.92
8.1.270.0140.00023.79
8.1.260.0040.00428.09
8.1.250.0000.00728.09
8.1.240.0050.00522.27
8.1.230.0040.00719.15
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0040.00417.22
8.1.190.0040.00417.35
8.1.180.0030.00618.10
8.1.170.0080.00018.46
8.1.160.0070.00020.55
8.1.150.0040.00418.76
8.1.140.0000.00819.41
8.1.130.0000.00817.55
8.1.120.0030.00317.25
8.1.110.0040.00417.38
8.1.100.0060.00317.23
8.1.90.0040.00417.33
8.1.80.0030.00517.29
8.1.70.0070.00017.37
8.1.60.0040.00417.57
8.1.50.0040.00417.44
8.1.40.0050.00317.41
8.1.30.0000.00817.51
8.1.20.0000.00717.47
8.1.10.0040.00417.57
8.1.00.0000.00817.45
8.0.300.0070.00018.77
8.0.290.0040.00416.75
8.0.280.0040.00418.38
8.0.270.0030.00317.25
8.0.260.0030.00317.17
8.0.250.0070.00016.84
8.0.240.0030.00316.84
8.0.230.0070.00016.99
8.0.220.0050.00216.76
8.0.210.0040.00416.93
8.0.200.0060.00316.96
8.0.190.0080.00016.91
8.0.180.0080.00016.93
8.0.170.0080.00016.86
8.0.160.0050.00217.02
8.0.150.0080.00016.80
8.0.140.0090.00016.86
8.0.130.0030.00613.36
8.0.120.0080.00016.88
8.0.110.0040.00416.78
8.0.100.0030.00616.78
8.0.90.0050.00316.88
8.0.80.0110.00516.82
8.0.70.0030.00516.90
8.0.60.0070.00016.79
8.0.50.0000.00716.75
8.0.30.0080.00917.26
8.0.20.0100.01317.42
8.0.10.0040.00416.96
8.0.00.0100.00716.66
7.4.330.0050.00016.77
7.4.320.0060.00016.43
7.4.300.0030.00316.58
7.4.290.0030.00316.49
7.4.280.0040.00516.50
7.4.270.0060.00016.48
7.4.260.0030.00316.59
7.4.250.0040.00416.54
7.4.240.0020.00516.50
7.4.230.0070.00016.43
7.4.220.0070.01116.66
7.4.210.0120.00616.61
7.4.200.0030.00516.53
7.4.160.0140.00316.46
7.4.150.0060.01217.40
7.4.140.0180.00717.86
7.4.130.0030.01416.40
7.4.120.0100.00716.47
7.4.110.0100.01316.65
7.4.100.0060.01616.45
7.4.90.0090.00916.42
7.4.80.0080.01119.39
7.4.70.0150.00916.31
7.4.60.0070.01016.42
7.4.50.0080.00816.33
7.4.40.0070.01016.54
7.4.30.0100.01316.39
7.4.00.0120.00314.82
7.3.330.0000.00613.48
7.3.320.0030.00313.50
7.3.310.0030.00316.44
7.3.300.0000.00716.44
7.3.290.0070.00716.42
7.3.280.0080.00816.43
7.3.270.0030.01517.40
7.3.260.0130.00416.33
7.3.240.0100.00716.60
7.3.230.0090.00916.39
7.3.210.0140.00516.55
7.3.200.0150.00619.39
7.3.190.0140.00716.63
7.3.180.0090.00616.54
7.3.170.0090.00616.27
7.3.160.0110.00616.35
7.2.330.0090.01316.61
7.2.320.0100.00716.59
7.2.310.0100.00616.68
7.2.300.0110.00616.57
7.2.290.0170.00616.65
7.2.60.0030.01016.70
7.2.50.0030.01016.76
7.1.200.0040.00815.49
7.1.70.0040.00417.17
7.1.60.0190.00319.30
7.1.50.0040.01816.96
7.1.00.0000.07722.40
7.0.200.0000.01016.71
7.0.60.0370.07019.96
7.0.50.0030.07017.82
7.0.40.0130.04720.02
7.0.30.0300.05020.21
7.0.20.0270.05720.32
7.0.10.0070.08020.06
7.0.00.0070.05020.07
5.6.280.0000.07721.04
5.6.210.0030.04320.50
5.6.200.0070.08318.12
5.6.190.0030.06020.62
5.6.180.0500.07020.48
5.6.170.0330.07020.47
5.6.160.0070.07020.46
5.6.150.0030.06018.25
5.6.140.0030.05018.18
5.6.130.0030.04018.18
5.6.120.0100.07721.13
5.6.110.0070.06321.05
5.6.100.0030.04320.98
5.6.90.0030.04721.02
5.6.80.0100.06720.40
5.5.350.0270.04020.38
5.5.340.0130.07717.99
5.5.330.0070.08320.27
5.5.320.0270.08020.42
5.5.310.0170.04320.31
5.5.300.0030.03717.99
5.5.290.0130.07018.08
5.5.280.0100.08320.88
5.5.270.0030.05720.88
5.5.260.0030.04020.73
5.5.250.0070.06720.70
5.5.240.0230.06720.35

preferences:
63.3 ms | 401 KiB | 5 Q