3v4l.org

run code in 500+ PHP versions simultaneously
<?php function foo() { yield 1; yield 2; yield 3; } function goo($x, $y, $z) { print "$x $y $z\n"; } goo(...foo()); // 1 2 3 ?>

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.70.0070.00316.73
8.5.60.0130.00616.71
8.5.50.0070.00916.69
8.5.30.0130.00419.81
8.5.20.0100.00119.34
8.5.10.0090.00916.46
8.5.00.0130.00919.93
8.4.220.0080.00119.40
8.4.210.0140.00719.34
8.4.180.0110.01219.50
8.4.170.0070.01523.89
8.4.160.0130.00823.99
8.4.150.0070.00516.68
8.4.140.0120.00817.37
8.4.130.0130.00717.61
8.4.120.0100.00220.44
8.4.110.0130.00722.38
8.4.100.0130.00717.70
8.4.90.0130.00720.68
8.4.80.0120.00719.07
8.4.70.0120.00818.85
8.4.60.0090.01217.61
8.4.50.0090.01219.28
8.4.40.0320.01017.29
8.4.30.0350.01317.21
8.4.20.0370.01617.48
8.4.10.0380.00917.16
8.3.310.0120.00818.45
8.3.300.0130.00820.73
8.3.290.0140.00618.36
8.3.280.0100.01018.27
8.3.270.0110.00816.56
8.3.260.0090.01016.38
8.3.250.0070.01218.73
8.3.240.0110.00916.49
8.3.230.0110.00316.43
8.3.220.0050.00318.87
8.3.210.0040.00318.44
8.3.200.0050.00316.44
8.3.190.0110.00816.83
8.3.180.0140.00516.39
8.3.170.0180.00616.72
8.3.160.0350.01016.66
8.3.150.0360.01016.39
8.3.140.0370.01016.30
8.3.130.0310.00616.52
8.3.120.0360.00716.36
8.3.110.0300.00916.61
8.3.100.0320.01316.30
8.3.90.0350.00616.52
8.3.80.0380.00716.61
8.3.70.0450.00316.07
8.3.60.0360.01016.55
8.3.50.0340.01216.13
8.3.40.0340.00917.25
8.3.30.0340.00317.32
8.3.20.0310.00917.00
8.3.10.0310.00617.34
8.3.00.0340.00017.13
8.2.310.0080.00519.79
8.2.300.0070.01218.09
8.2.290.0110.00720.42
8.2.280.0130.00516.55
8.2.270.0370.00316.27
8.2.260.0310.00716.33
8.2.250.0260.01116.56
8.2.240.0340.00416.33
8.2.230.0280.01216.29
8.2.220.0360.00316.38
8.2.210.0350.00316.36
8.2.200.0380.00716.26
8.2.190.0290.01516.42
8.2.180.0340.00516.48
8.2.170.0410.00317.56
8.2.160.0370.00617.30
8.2.150.0250.01417.55
8.2.140.0360.00717.19
8.2.130.0340.00317.34
8.2.120.0230.00017.50
8.2.110.0240.00917.26
8.2.100.0260.01317.65
8.2.90.0310.00717.73
8.2.80.0290.01017.19
8.2.70.0360.00417.28
8.2.60.0350.00517.37
8.2.50.0290.01117.39
8.2.40.0310.00617.39
8.2.30.0330.00317.42
8.2.20.0290.01117.36
8.2.10.0360.00017.41
8.2.00.0260.01017.29
8.1.340.0080.01021.41
8.1.320.0120.00715.81

preferences:
52.36 ms | 864 KiB | 5 Q