3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(spl_object_hash(new stdClass()), spl_object_hash(new stdClass())); var_dump(spl_object_id(new stdClass()), spl_object_id(new stdClass())); $a = new stdClass(); $b = new stdClass(); var_dump(spl_object_hash($a), spl_object_hash($b)); var_dump(spl_object_id($a), spl_object_id($b));

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.30.0100.00919.48
8.5.20.0110.00918.66
8.5.10.0140.00518.13
8.5.00.0100.00817.23
8.4.180.0100.01219.70
8.4.170.0110.01123.88
8.4.160.0130.00923.09
8.4.150.0120.00919.46
8.4.140.0070.01417.66
8.4.90.0100.01017.74
8.3.300.0120.00720.82
8.3.290.0120.00920.75
8.3.280.0140.00618.30
8.3.270.0130.00617.23
8.3.180.0100.00817.23
8.3.50.0130.00517.23
8.2.300.0150.00618.01
8.1.340.0090.01017.44

preferences:
59.7 ms | 562 KiB | 5 Q