3v4l.org

run code in 500+ PHP versions simultaneously
<?php function foo($a, $b) { return $a + $b; } foo(1,2); foo(...)(1,2); foo(...)(...)(1,2);

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.60.0050.00316.79
8.5.50.0100.00518.36
8.5.30.0070.01119.73
8.5.20.0110.00720.08
8.5.10.0120.01216.46
8.5.00.0100.01120.00
8.4.210.0140.00919.27
8.4.180.0110.01122.05
8.4.170.0150.01020.33
8.4.160.0130.00923.86
8.4.150.0080.00416.84
8.4.140.0150.00617.56
8.4.130.0110.00917.88
8.4.120.0110.00820.49
8.4.110.0130.00720.38
8.4.100.0060.00417.72
8.4.90.0100.01117.88
8.4.80.0070.00219.55
8.4.70.0060.00317.77
8.4.60.0150.00719.14
8.4.50.0360.00917.44
8.4.40.0390.01017.46
8.4.30.0380.00717.61
8.4.20.0380.01317.23
8.4.10.0400.00917.34
8.3.300.0110.01020.59
8.3.290.0120.00920.66
8.3.280.0120.00819.96
8.3.270.0100.00916.52
8.3.260.0090.00816.73
8.3.250.0070.01118.85
8.3.240.0120.00416.56
8.3.230.0120.00616.39
8.3.220.0080.00718.29
8.3.210.0060.00416.46
8.3.200.0350.00916.35
8.3.190.0340.00616.71
8.3.180.0390.00716.50
8.3.170.0290.01216.36
8.3.160.0370.01116.30
8.3.150.0360.01116.39
8.3.140.0380.01116.28
8.3.130.0340.00916.74
8.3.120.0360.00716.63
8.3.110.0250.00416.27
8.3.100.0390.00916.47
8.3.90.0360.00716.40
8.3.80.0350.01316.31
8.3.70.0430.00716.29
8.3.60.0340.00916.44
8.3.50.0360.00716.26
8.3.40.0290.00817.45
8.3.30.0260.00717.39
8.3.20.0310.00917.18
8.3.10.0280.01117.45
8.3.00.0370.00417.20
8.2.300.0080.01418.73
8.2.290.0100.00620.39
8.2.280.0290.00916.74
8.2.270.0290.00516.81
8.2.260.0220.00516.64
8.2.250.0320.00816.58
8.2.240.0320.00916.49
8.2.230.0310.00916.31
8.2.220.0270.01016.37
8.2.210.0320.00716.22
8.2.200.0370.00916.41
8.2.190.0330.00316.67
8.2.180.0350.00516.59
8.2.170.0360.00617.50
8.2.160.0360.00717.45
8.2.150.0360.00817.39
8.2.140.0380.00717.16
8.2.130.0340.00817.32
8.2.120.0280.01417.43
8.2.110.0410.00617.47
8.2.100.0380.01117.31
8.2.90.0310.00917.25
8.2.80.0160.00517.50
8.2.70.0210.00316.98
8.2.60.0190.00616.95
8.2.50.0130.00717.27
8.2.40.0160.00317.55
8.2.30.0130.00517.30
8.2.20.0150.00317.10
8.2.10.0150.00317.19
8.2.00.0130.00617.29
8.1.340.0120.00917.53

preferences:
60.76 ms | 840 KiB | 5 Q