3v4l.org

run code in 500+ PHP versions simultaneously
<?php class A { private $x = "a"; } $a = new A(); $r = new ReflectionProperty($a, "x"); $r->setAccessible(true);

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.5.90.0060.00217.23
8.5.80.0090.00816.93
8.5.70.0090.00516.91
8.5.60.0040.00416.98
8.5.50.0090.00516.99
8.5.30.0130.00718.13
8.5.20.0090.00920.11
8.5.10.0110.00916.83
8.5.00.0100.01220.14
8.4.240.0120.00919.55
8.4.230.0090.00119.53
8.4.220.0060.00419.49
8.4.210.0040.00619.48
8.4.180.0120.01119.61
8.4.170.0120.00923.90
8.4.160.0130.01122.20
8.4.150.0090.00416.83
8.4.140.0180.00717.58
8.4.130.0090.01119.29
8.4.120.0140.00520.57
8.4.110.0100.00818.99
8.4.100.0420.00917.59
8.4.90.0410.00817.33
8.4.80.0360.01117.63
8.4.70.0240.00717.63
8.4.60.0440.00817.26
8.4.50.0380.01317.46
8.4.40.0260.00617.46
8.4.30.0240.00517.66
8.4.20.0230.00417.38
8.4.10.0400.00817.33
8.3.330.0120.00518.32
8.3.320.0100.00518.45
8.3.310.0040.00418.37
8.3.300.0110.00820.79
8.3.290.0140.00722.54
8.3.280.0090.00316.17
8.3.270.0110.00916.67
8.3.260.0130.00416.47
8.3.250.0080.00417.02
8.3.240.0130.00616.48
8.3.230.0350.00916.33
8.3.220.0340.01216.51
8.3.210.0410.01016.26
8.3.200.0390.01316.26
8.3.190.0320.00916.56
8.3.180.0250.00316.21
8.3.170.0250.00616.71
8.3.160.0220.00316.29
8.3.150.0210.00116.43
8.3.140.0410.01016.34
8.3.130.0430.00616.43
8.3.120.0370.00516.33
8.3.110.0290.00616.17
8.3.100.0220.00316.32
8.3.90.0160.00916.45
8.3.80.0200.00516.17
8.3.70.0180.00616.24
8.3.60.0200.00416.51
8.3.50.0210.00216.37
8.3.40.0280.00917.15
8.3.30.0340.00717.25
8.3.20.0330.00517.36
8.3.10.0370.00917.32
8.3.00.0190.00617.19
8.2.320.0050.00519.73
8.2.310.0120.00717.98
8.2.300.0140.00622.06
8.2.290.0350.00616.34
8.2.280.0320.00516.75
8.2.270.0340.00816.58
8.2.260.0350.00716.64
8.2.250.0290.00416.57
8.2.240.0220.00716.26
8.2.230.0370.00616.52
8.2.220.0330.00916.09
8.2.210.0310.01216.28
8.2.200.0350.00716.46
8.2.190.0350.01216.81
8.2.180.0280.00316.31
8.2.170.0350.00517.62
8.2.160.0150.00417.50
8.2.150.0380.00717.39
8.2.140.0280.00217.23
8.2.130.0330.00817.44
8.2.120.0380.00917.50
8.2.110.0310.01217.54
8.2.100.0340.00717.51
8.2.90.0390.00517.46
8.2.80.0310.00917.15
8.2.70.0370.00617.18
8.2.60.0420.00417.49
8.2.50.0400.00517.12
8.2.40.0390.00917.26
8.2.30.0340.00717.46
8.2.20.0300.00717.46
8.2.10.0170.00117.41
8.2.00.0170.00217.33
8.1.340.0140.00721.41

preferences:
52.94 ms | 885 KiB | 5 Q