3v4l.org

run code in 300+ PHP versions simultaneously
<?php $cl = new stdClass(); $cl->prop = 1; $a = new ArrayObject($cl); print_r($cl->getArrayCopy())

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.0070.07720.02
5.6.160.0100.07320.48
5.6.150.0130.03018.08
5.6.140.0100.03718.21
5.6.130.0170.06318.18
5.6.120.0200.07320.89
5.6.110.0030.04721.09
5.6.100.0100.08020.98
5.6.90.0030.07721.01
5.6.80.0100.07320.33
5.5.300.0070.05317.93
5.5.290.0070.05717.99
5.5.280.0130.07720.68
5.5.270.0030.05020.86
5.5.260.0000.04320.86
5.5.250.0100.07320.50
5.5.240.0230.08320.03

preferences:
142.77 ms | 1394 KiB | 7 Q