3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = array() 'a' => 'b' ); $bar = array( 'b' => 'c' ); $bar = (object)$bar; echo $bar->$foo['a'];

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)
5.6.160.0130.07720.50
5.6.150.0100.08018.14
5.6.140.0170.04718.16
5.6.130.0070.08018.27
5.6.120.0030.08720.99
5.6.110.0070.07021.11
5.6.100.0100.05320.98
5.6.90.0100.08320.95
5.6.80.0030.08320.46
5.5.300.0000.04317.99
5.5.290.0070.06717.95
5.5.280.0030.04720.68
5.5.270.0000.04320.67
5.5.260.0070.06020.87
5.5.250.0130.07720.49
5.5.240.0100.04320.36

preferences:
126.79 ms | 1398 KiB | 7 Q