3v4l.org

run code in 500+ PHP versions simultaneously
<?php class A { public $prop; } class Unrelated { public $prop; } $r = new ReflectionProperty(A::class, 'prop'); $unrelated = new Unrelated(); $r->setValue($unrelated, 42); var_dump($unrelated);

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.0130.00516.86
8.5.80.0110.00716.72
8.5.70.0110.00116.64
8.5.60.0130.00518.60
8.5.50.0080.01016.46
8.5.30.0090.00719.65
8.5.20.0120.00520.20
8.5.10.0110.00616.64
8.5.00.0120.00919.77
8.4.240.0090.00019.46
8.4.230.0070.00219.43
8.4.220.0110.01019.54
8.4.210.0130.00919.52
8.4.180.0090.01319.68
8.4.170.0140.00923.91
8.4.160.0110.01423.71
8.4.150.0050.00716.79
8.4.140.0130.01117.39
8.4.130.0150.00517.95
8.4.120.0130.00720.84
8.4.110.0100.01019.11
8.4.100.0140.00717.50
8.4.90.0130.00717.74
8.4.80.0100.01017.79
8.4.70.0090.00517.89
8.4.60.0120.00817.39
8.4.50.0050.00320.28
8.4.40.0100.01017.43
8.4.30.0330.01517.32
8.4.20.0410.00317.47
8.4.10.0310.01717.18
8.3.330.0140.00318.30
8.3.320.0060.00518.22
8.3.310.0140.00718.51
8.3.300.0130.01120.62
8.3.290.0120.00918.20
8.3.280.0110.00918.23
8.3.270.0130.00716.63
8.3.260.0140.00616.43
8.3.250.0050.00218.71
8.3.240.0080.00116.62
8.3.230.0110.00816.29
8.3.220.0090.00917.18
8.3.210.0040.00516.64
8.3.200.0100.00916.59
8.3.190.0040.00417.05
8.3.180.0050.01218.83
8.3.170.0140.00317.08
8.3.160.0400.00716.39
8.3.150.0390.00416.46
8.3.140.0390.00716.13
8.3.130.0300.01016.48
8.3.120.0300.01016.55
8.3.110.0340.00716.48
8.3.100.0390.00716.55
8.3.90.0380.00616.41
8.3.80.0380.00616.45
8.3.70.0400.00316.21
8.3.60.0400.00316.54
8.3.50.0460.00316.35
8.3.40.0320.00417.14
8.3.30.0370.00317.09
8.3.20.0270.01217.23
8.3.10.0470.01017.35
8.3.00.0190.00417.38
8.2.320.0120.00718.05
8.2.310.0150.00717.88
8.2.300.0110.00917.89
8.2.290.0050.00420.40
8.2.280.0100.00816.51
8.2.270.0360.00016.22
8.2.260.0330.00716.41
8.2.250.0230.01516.73
8.2.240.0310.00716.50
8.2.230.0310.00716.47
8.2.220.0320.00716.34
8.2.210.0320.00316.53
8.2.200.0280.00816.41
8.2.190.0340.00616.40
8.2.180.0370.00016.20
8.2.170.0340.00717.56
8.2.160.0370.00317.48
8.2.150.0260.01317.51
8.2.140.0270.01317.49
8.2.130.0360.00317.49
8.2.120.0290.01117.34
8.2.110.0380.00317.49
8.2.100.0260.01317.38
8.2.90.0320.00617.50
8.2.80.0330.00517.35
8.2.70.0320.01017.37
8.2.60.0300.00917.23
8.2.50.0270.01217.25
8.2.40.0400.00017.26
8.2.30.0340.00317.40
8.2.20.0320.00317.21
8.2.10.0270.01017.27
8.2.00.0360.00817.27
8.1.340.0170.00617.42
8.1.320.0100.00815.96

preferences:
56.89 ms | 897 KiB | 5 Q