3v4l.org

run code in 300+ PHP versions simultaneously
<?php $upload = array(array( 'errors' => array(), 'filename' => '/some/path/to/a/file.jpg'), array( 'errors' => array(), 'filename' => '/yet/another/path.jpg')); var_dump($upload); foreach ($upload as $x) echo $x['filename'],"<br>"; echo $upload[0]['filename'];

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)
vld0.0120.01915.63
4.3.00.0020.0109.80
rfc.partials0.0020.01516.85

preferences:
68.93 ms | 454 KiB | 5 Q