3v4l.org

run code in 300+ PHP versions simultaneously
<?php const MADNESS = <<<EOM 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(); EOM; var_dump(token_get_all(MADNESS)[0][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.3.140.0040.01117.32
8.3.130.0120.00318.30
8.3.120.0070.01320.66
8.3.110.0030.00620.94
8.3.100.0130.00318.44
8.3.90.0400.00726.77
8.3.80.0410.00926.77
8.3.70.0370.00926.77
8.3.60.0370.00926.77
8.3.50.0420.00826.77
8.3.40.0380.00626.77
8.3.30.0310.01026.77
8.3.20.0310.00626.77
8.3.10.0260.01026.77
8.3.00.0310.00726.77
8.2.250.0000.00816.57
8.2.240.0070.01116.85
8.2.230.0060.00322.58
8.2.220.0060.00324.06
8.2.210.0320.00626.77
8.2.200.0300.01326.77
8.2.190.0310.00726.77
8.2.180.0300.00426.77
8.2.170.0290.00526.77
8.2.160.0310.00626.77
8.2.150.0340.00626.77
8.2.140.0330.01126.77
8.2.130.0360.00826.77
8.2.120.0350.00726.77
8.2.110.0360.00826.77
8.2.100.0330.00326.77
8.2.90.0340.00826.77
8.2.80.0260.00926.77
8.2.70.0260.00926.77
8.2.60.0320.00826.77
8.2.50.0370.00326.77
8.2.40.0280.00926.77
8.2.30.0390.00426.77
8.2.20.0270.00526.77
8.2.10.0230.00826.77
8.2.00.0250.01526.77
8.1.300.0060.00317.97
8.1.290.0280.01326.77
8.1.280.0260.00926.77
8.1.270.0330.00626.77
8.1.260.0250.00926.77
8.1.250.0310.00926.77
8.1.240.0270.00726.77
8.1.230.0180.01226.77
8.1.220.0270.00426.77
8.1.210.0220.00626.77
8.1.200.0190.00926.77
8.1.190.0280.00626.77
8.1.180.0300.00626.77
8.1.170.0270.01026.77
8.1.160.0210.00426.77
8.1.150.0280.01026.77
8.1.140.0250.01226.77
8.1.130.0320.00426.77
8.1.120.0310.00626.77
8.1.110.0330.00526.77
8.1.100.0350.00426.77
8.1.90.0300.00726.77
8.1.80.0250.01326.77
8.1.70.0250.00926.77
8.1.60.0210.00826.77
8.1.50.0250.00726.77
8.1.40.0370.00926.77
8.1.30.0410.00426.77
8.1.20.0330.00826.77
8.1.10.0230.00726.77
8.1.00.0310.00326.77

preferences:
29.58 ms | 403 KiB | 5 Q