3v4l.org

run code in 500+ PHP versions simultaneously
<?php function foo() { echo __METHOD__; yield 1; } foo(); // displays nothing, no code is executed echo 'the end'; // displays the end ?>

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.0040.00316.70
8.5.50.0100.00916.61
8.5.30.0050.00319.79
8.5.20.0100.00719.37
8.5.10.0080.00916.46
8.5.00.0050.00519.91
8.4.210.0100.01021.34
8.4.180.0110.01219.63
8.4.170.0130.00920.43
8.4.160.0140.00721.95
8.4.150.0090.00416.89
8.4.140.0090.01117.63
8.4.130.0090.00717.76
8.4.120.0110.01020.40
8.4.110.0030.00520.82
8.4.100.0110.01017.76
8.4.90.0140.00617.60
8.4.80.0040.00419.37
8.4.70.0060.00717.59
8.4.60.0040.00517.84
8.4.50.0100.00919.48
8.4.40.0380.01017.38
8.4.30.0400.00917.21
8.4.20.0400.01017.45
8.4.10.0410.00917.21
8.3.300.0100.01120.86
8.3.290.0030.00620.76
8.3.280.0030.00114.05
8.3.270.0130.00716.67
8.3.260.0080.00716.69
8.3.250.0070.01118.65
8.3.240.0050.00418.09
8.3.230.0120.00716.57
8.3.220.0110.00618.16
8.3.210.0130.00616.64
8.3.200.0120.00616.53
8.3.190.0040.00416.50
8.3.180.0100.00818.57
8.3.170.0400.00816.36
8.3.160.0350.00516.21
8.3.150.0320.00416.55
8.3.140.0310.00516.04
8.3.130.0230.00716.41
8.3.120.0340.00716.43
8.3.110.0280.00816.61
8.3.100.0380.00816.48
8.3.90.0370.01016.50
8.3.80.0390.00816.67
8.3.70.0410.00816.26
8.3.60.0390.00916.52
8.3.50.0440.00616.19
8.3.40.0240.01017.24
8.3.30.0300.01116.88
8.3.20.0300.00717.02
8.3.10.0310.00817.22
8.3.00.0110.01219.16
8.2.300.0130.00820.16
8.2.290.0130.00818.85
8.2.280.0090.00816.34
8.2.270.0280.01116.38
8.2.260.0310.00816.71
8.2.250.0330.00616.60
8.2.240.0300.01016.07
8.2.230.0290.01016.16
8.2.220.0350.00516.52
8.2.210.0270.01116.18
8.2.200.0180.00716.17
8.2.190.0250.00816.25
8.2.180.0260.00916.52
8.2.170.0390.00917.26
8.2.160.0370.01117.41
8.2.150.0350.00917.18
8.2.140.0320.00817.25
8.2.130.0340.00917.20
8.2.120.0300.01217.25
8.2.110.0340.00717.58
8.2.100.0240.01617.53
8.2.90.0340.00617.72
8.2.80.0270.01017.24
8.2.70.0320.01017.20
8.2.60.0330.00917.23
8.2.50.0290.01217.38
8.2.40.0300.00917.39
8.2.30.0340.00617.41
8.2.20.0310.00917.38
8.2.10.0280.00917.27
8.2.00.0280.01017.29
8.1.340.0140.00919.84
8.1.320.0070.00816.19

preferences:
47.76 ms | 847 KiB | 5 Q