3v4l.org

run code in 300+ PHP versions simultaneously
<?php $o = (object)array(42); var_dump(array_key_exists(0, $o)), property_exists(0, $o)); var_dump($o->{0});

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)
7.0.00.0000.05020.16
5.6.160.0130.07320.55
5.6.150.0100.05318.16
5.6.140.0130.07718.29
5.6.130.0000.04318.21
5.6.120.0030.09021.13
5.6.110.0000.04321.13
5.6.100.0170.06320.88
5.6.90.0130.07720.89
5.6.80.0070.08320.38
5.5.300.0000.06317.91
5.5.290.0100.07717.99
5.5.280.0070.07020.77
5.5.270.0000.06320.76
5.5.260.0070.08320.78
5.5.250.0170.07020.69
5.5.240.0300.07020.18

preferences:
140.61 ms | 1394 KiB | 7 Q