3v4l.org

run code in 300+ PHP versions simultaneously
<?php function generator() { yield // this comment doesn't make sense, but hey, why not? /* the blank line above doesn't make sense either, as well as this comment */ /* and thinking about it – */ // why not go batshit crazy with this? /* he */ from gen2(); }

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.3.110.0040.00420.94
8.3.100.0040.00418.39
8.3.90.0400.00826.77
8.3.80.0460.00426.77
8.3.70.0360.01026.77
8.3.60.0330.01426.77
8.3.50.0430.00626.77
8.3.40.0350.00326.77
8.3.30.0290.00926.77
8.3.20.0250.01126.77
8.3.10.0290.00326.77
8.3.00.0150.02226.77
8.2.230.0120.00622.58
8.2.220.0150.00416.58
8.2.210.0220.00726.77
8.2.200.0380.00726.77
8.2.190.0340.00326.77
8.2.180.0210.01526.77
8.2.170.0360.01026.77
8.2.160.0330.01026.77
8.2.150.0360.00826.77
8.2.140.0500.00926.77
8.2.130.0450.00626.77
8.2.120.0420.00326.77
8.2.110.0310.01226.77
8.2.100.0270.01526.77
8.2.90.0400.00326.77
8.2.80.0260.01626.77
8.2.70.0280.00626.77
8.2.60.0260.01626.77
8.2.50.0330.01026.77
8.2.40.0350.00526.77
8.2.30.0310.00826.77
8.2.20.0280.00626.77
8.2.10.0370.00326.77
8.2.00.0370.00326.77
8.1.290.0420.00026.77
8.1.280.0340.00726.77
8.1.270.0300.01026.77
8.1.260.0380.00426.77
8.1.250.0320.00626.77
8.1.240.0350.00326.77
8.1.230.0310.00826.77
8.1.220.0260.01326.77
8.1.210.0320.00726.77
8.1.200.0270.01226.77
8.1.190.0250.01426.77
8.1.180.0290.00426.77
8.1.170.0350.00826.77
8.1.160.0250.00726.77
8.1.150.0350.00926.77
8.1.140.0310.00826.77
8.1.130.0330.00626.77
8.1.120.0330.00626.77
8.1.110.0230.01526.77
8.1.100.0350.00326.77
8.1.90.0300.00826.77
8.1.80.0220.01226.77
8.1.70.0280.00326.77
8.1.60.0360.00726.77
8.1.50.0260.01626.77
8.1.40.0330.00426.77
8.1.30.0320.01126.77
8.1.20.0360.00726.77
8.1.10.0310.01026.77
8.1.00.0350.00626.77

preferences:
32.64 ms | 403 KiB | 5 Q