3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { } $foo = function () { var_dump($this); }; $foo->call(new Foo());

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.130.0050.00418.80
8.4.120.0100.00917.81
8.4.110.0110.00817.68
8.4.100.0150.00517.48
8.4.90.0130.00720.46
8.4.80.0110.00319.04
8.4.70.0050.00318.71
8.4.60.0100.00622.38
8.4.50.0090.00720.36
8.4.40.0070.01017.94
8.4.30.0000.01920.36
8.4.20.0100.00719.39
8.4.10.0030.00619.66
8.3.260.0110.00916.68
8.3.250.0110.00818.48
8.3.240.0070.00316.48
8.3.230.0100.00916.56
8.3.220.0090.00918.79
8.3.210.0040.00416.79
8.3.200.0050.00416.71
8.3.190.0030.00417.17
8.3.180.0130.00618.85
8.3.170.0000.00817.16
8.3.160.0090.00918.45
8.3.150.0160.00317.15
8.3.140.0090.00918.25
8.3.130.0090.00616.46
8.3.120.0290.00016.43
8.3.110.0260.01316.62
8.3.100.0210.00616.27
8.3.90.0230.00616.17
8.3.80.0260.00016.37
8.3.70.0170.00816.60
8.3.60.0190.00316.38
8.3.50.0140.00716.58
8.3.40.0080.01217.28
8.3.30.0200.00017.09
8.3.20.0130.00717.34
8.3.10.0140.00417.33
8.3.00.0080.00617.46
8.2.290.0110.00816.59
8.2.280.0120.00620.08
8.2.270.0000.00916.64
8.2.260.0000.00817.15
8.2.250.0050.00316.69
8.2.240.0130.00716.59
8.2.230.0170.00716.37
8.2.220.0160.00716.44
8.2.210.0190.00316.44
8.2.200.0180.00616.73
8.2.190.0160.00316.51
8.2.180.0160.00416.18
8.2.170.0280.00317.50
8.2.160.0190.00317.52
8.2.150.0190.00317.23
8.2.140.0130.00717.54
8.2.130.0150.00517.45
8.2.120.0220.00017.44
8.2.110.0140.00617.51
8.2.100.0170.00417.14
8.2.90.0110.00817.39
8.2.80.0140.00717.28
8.2.70.0140.01017.43
8.2.60.0180.00317.37
8.2.50.0140.00617.46
8.2.40.0160.00317.29
8.2.30.0180.00417.36
8.2.20.0120.00817.41
8.2.10.0180.00317.25
8.2.00.0290.01017.36
8.1.330.0090.00916.11
8.1.320.0110.00816.16
8.1.310.0040.01116.44
8.1.300.0310.00416.05
8.1.290.0160.00516.05
8.1.280.0250.00416.14
8.1.270.0210.00317.08
8.1.260.0170.00817.19
8.1.250.0200.00317.27
8.1.240.0240.00316.98
8.1.230.0120.00717.21
8.1.220.0150.00316.94
8.1.210.0110.00717.05
8.1.200.0140.00716.98
8.1.190.0150.00317.04
8.1.180.0170.00317.02
8.1.170.0200.00017.29
8.1.160.0140.00717.04
8.1.150.0110.01117.00
8.1.140.0140.00817.14
8.1.130.0120.00617.36
8.1.120.0120.00517.32
8.1.110.0130.00517.07
8.1.100.0100.00717.24
8.1.90.0130.00417.25
8.1.80.0150.00417.01
8.1.70.0140.00717.31
8.1.60.0170.00717.45
8.1.50.0260.01317.04
8.1.40.0230.00717.20
8.1.30.0180.00317.25
8.1.20.0200.00017.21
8.1.10.0200.00317.05
8.1.00.0190.00017.01

preferences:
28.05 ms | 403 KiB | 5 Q