3v4l.org

run code in 500+ PHP versions simultaneously
<?php final class SkipUsedViaCompact { public function run($value) { return function () use ($value) { $v = compact('value'); return $v; }; } } $a = new SkipUsedViaCompact(); var_dump($a->run(1)());

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.30.0090.00918.13
8.5.20.0110.00620.26
8.5.10.0110.00716.73
8.5.00.0140.00622.92
8.4.180.0090.00419.54
8.4.170.0130.00923.99
8.4.160.0090.01222.02
8.4.150.0100.00416.84
8.4.140.0100.01117.84
8.4.130.0390.01017.43
8.4.120.0360.01017.79
8.4.110.0430.00417.37
8.4.100.0420.00517.39
8.4.90.0370.01117.68
8.4.80.0400.00617.69
8.4.70.0200.00617.51
8.4.60.0420.00817.66
8.4.50.0380.00618.00
8.4.40.0160.00617.57
8.4.30.0160.00717.56
8.4.20.0170.00717.68
8.4.10.0330.00517.48
8.3.300.0110.01020.78
8.3.290.0140.00620.88
8.3.280.0070.00516.14
8.3.270.0110.00816.56
8.3.260.0220.00516.34
8.3.250.0350.01116.66
8.3.240.0380.00716.48
8.3.230.0560.00516.35
8.3.220.0230.00616.46
8.3.210.0210.00416.48
8.3.200.0380.00616.47
8.3.190.0410.00516.43
8.3.180.0370.01016.64
8.3.170.0380.00816.12
8.3.160.0390.00716.23
8.3.150.0180.00916.40
8.3.140.0210.00316.16
8.3.130.0170.00316.27
8.3.120.0290.00516.18
8.3.110.0210.00916.48
8.3.100.0190.00416.42
8.3.90.0210.00316.42
8.3.80.0300.00316.30
8.3.70.0310.00516.57
8.3.60.0330.00716.18
8.3.50.0400.00916.01
8.3.40.0450.00517.52
8.3.30.0370.00517.39
8.3.20.0380.00717.27
8.3.10.0360.00717.51
8.3.00.0380.00817.25
8.2.300.0120.00720.37
8.2.290.0300.00416.82
8.2.280.0140.00516.76
8.2.270.0260.00616.52
8.2.260.0320.00816.11
8.2.250.0210.00716.61
8.2.240.0330.00916.33
8.2.230.0330.00916.54
8.2.220.0330.00816.32
8.2.210.0250.00316.53
8.2.200.0140.00516.37
8.2.190.0150.00616.63
8.2.180.0260.00716.29
8.2.170.0170.00317.92
8.2.160.0210.00717.57
8.2.150.0240.00717.69
8.2.140.0170.00317.61
8.2.130.0380.00617.63
8.2.120.0370.00817.46
8.2.110.0340.00817.54
8.2.100.0300.01417.67
8.2.90.0340.01017.47
8.2.80.0410.00717.41
8.2.70.0390.00517.26
8.2.60.0380.00617.57
8.2.50.0370.00817.75
8.2.40.0370.00417.46
8.2.30.0330.00817.39
8.2.20.0320.00817.45
8.2.10.0330.00617.50
8.2.00.0320.00617.64
8.1.340.0100.00921.57

preferences:
45.41 ms | 835 KiB | 5 Q