3v4l.org

run code in 300+ PHP versions simultaneously
<?php function run() { static $some = null; if ($some === null) { $some = new stdClass; } return $some; } var_dump(run()); var_dump(run()); var_dump(run()); var_dump(run()); var_dump(run());

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.130.0050.00316.49
8.3.120.0060.01020.66
8.3.110.0090.00618.23
8.3.100.0060.00318.08
8.3.90.0380.00926.77
8.3.80.0400.01026.77
8.3.70.0440.01026.77
8.3.60.0440.00726.77
8.3.50.0340.01526.77
8.3.40.0250.01426.77
8.3.30.0340.00426.77
8.3.20.0310.01026.77
8.3.10.0380.00326.77
8.3.00.0450.00026.77
8.2.250.0040.00416.78
8.2.240.0040.00417.16
8.2.230.0070.01120.94
8.2.220.0110.00424.06
8.2.210.0130.00926.77
8.2.200.0120.01026.77
8.2.190.0120.00626.77
8.2.180.0110.00726.77
8.2.170.0160.00426.77
8.2.160.0200.00326.77
8.2.150.0400.00326.77
8.2.140.0420.00426.77
8.2.130.0330.01026.77
8.2.120.0430.00026.77
8.2.110.0360.00726.77
8.2.100.0290.01326.77
8.2.90.0330.00826.77
8.2.80.0280.01326.77
8.2.70.0350.00626.77
8.2.60.0350.00626.77
8.2.50.0360.00626.77
8.2.40.0290.01026.77
8.2.30.0320.00726.77
8.2.20.0360.00326.77
8.2.10.0460.00426.77
8.2.00.0320.01026.77
8.1.300.0150.00418.67
8.1.290.0350.00626.77
8.1.280.0330.00726.77
8.1.270.0400.00026.77
8.1.260.0340.00926.77
8.1.250.0320.00626.77
8.1.240.0250.00726.77
8.1.230.0310.00326.77
8.1.220.0330.00826.77
8.1.210.0280.00626.77
8.1.200.0260.00626.77
8.1.190.0300.00926.77
8.1.180.0250.01326.77
8.1.170.0270.01026.77
8.1.160.0270.01626.77
8.1.150.0350.00426.77
8.1.140.0310.00726.77
8.1.130.0310.00726.77
8.1.120.0390.00026.77
8.1.110.0270.00526.77
8.1.100.0310.00826.77
8.1.90.0310.00726.77
8.1.80.0300.00726.77
8.1.70.0260.01226.77
8.1.60.0300.01226.77
8.1.50.0340.00726.77
8.1.40.0420.00326.77
8.1.30.0310.01226.77
8.1.20.0360.01426.77
8.1.10.0430.00626.77
8.1.00.0340.00926.77

preferences:
31.22 ms | 403 KiB | 5 Q