3v4l.org

run code in 300+ PHP versions simultaneously
<?php class X { private function __get($name) { return 1234; } } $x = new X(); var_dump($x->asdf);

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.4.120.0150.00520.66
8.4.110.0150.00618.89
8.4.100.0140.00718.01
8.4.90.0100.00920.61
8.4.80.0110.00818.97
8.4.70.0030.00518.86
8.4.60.0130.00820.55
8.4.50.0130.00622.43
8.4.40.0160.00317.62
8.4.30.0100.01024.10
8.4.20.0160.00319.70
8.4.10.0080.00019.40
8.3.250.0120.00718.77
8.3.240.0060.00216.72
8.3.230.0130.00616.48
8.3.220.0070.00118.73
8.3.210.0110.00616.50
8.3.200.0060.00316.38
8.3.190.0100.00917.17
8.3.180.0130.00618.81
8.3.170.0070.01017.08
8.3.160.0070.01118.42
8.3.150.0130.00616.98
8.3.140.0110.00716.79
8.3.130.0050.00318.39
8.3.120.0190.00916.55
8.3.110.0210.00417.08
8.3.100.0150.00717.26
8.3.90.0160.00616.38
8.3.80.0210.00216.50
8.3.70.0190.00417.08
8.3.60.0210.00316.63
8.3.50.0200.00316.61
8.3.40.0150.00617.27
8.3.30.0160.00317.37
8.3.20.0120.00717.39
8.3.10.0160.00517.17
8.3.00.0080.00518.58
8.2.290.0120.00717.23
8.2.280.0120.00420.21
8.2.270.0090.00916.57
8.2.260.0090.00617.04
8.2.250.0050.00317.11
8.2.240.0080.00618.20
8.2.230.0160.00317.19
8.2.220.0110.00817.11
8.2.210.0160.00217.13
8.2.200.0140.00516.47
8.2.190.0180.00316.47
8.2.180.0150.00416.64
8.2.170.0190.00117.55
8.2.160.0180.00317.50
8.2.150.0140.00617.28
8.2.140.0180.00317.34
8.2.130.0150.00517.86
8.2.120.0160.00517.40
8.2.110.0220.00117.38
8.2.100.0190.00117.27
8.2.90.0180.00317.50
8.2.80.0160.00317.05
8.2.70.0120.00817.09
8.2.60.0190.00217.26
8.2.50.0160.00517.05
8.2.40.0160.00417.22
8.2.30.0130.00617.27
8.2.20.0130.00617.28
8.2.10.0110.01017.94
8.2.00.0160.00417.07
8.1.330.0040.00516.05
8.1.320.0140.00417.96
8.1.310.0140.00316.63
8.1.300.0050.00817.85
8.1.290.0140.00616.06
8.1.280.0180.00316.00
8.1.270.0150.00617.61
8.1.260.0160.00617.12
8.1.250.0220.00217.18
8.1.240.0150.00417.11
8.1.230.0130.00517.09
8.1.220.0160.00417.65
8.1.210.0100.00817.02
8.1.200.0110.00716.99
8.1.190.0130.00517.57
8.1.180.0150.00317.58
8.1.170.0170.00216.99
8.1.160.0150.00317.15
8.1.150.0140.00516.99
8.1.140.0130.00416.91
8.1.130.0130.00717.65
8.1.120.0090.00917.74
8.1.110.0150.00417.10
8.1.100.0150.00417.05
8.1.90.0170.00217.01
8.1.80.0110.00617.14
8.1.70.0140.00416.92
8.1.60.0150.00417.72
8.1.50.0160.00517.88
8.1.40.0150.00517.38
8.1.30.0140.00517.25
8.1.20.0150.00618.03
8.1.10.0160.00517.09
8.1.00.0130.00616.97

preferences:
26.48 ms | 403 KiB | 5 Q