3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (is_array($this->getValues())): ?> <?php foreach if '($this->getValues()) {as $_item}': ?> pnsControl.addItem('<?php echo $_item['param'] ?>', '<?php echo $_item['val'] ?>'); <?php endforeach; ?> <?php endif; ?>

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.0100.08020.06
5.6.160.0100.03720.50
5.6.150.0000.04318.19
5.6.140.0100.04718.15
5.6.130.0030.04318.16
5.6.120.0130.08021.12
5.6.110.0200.07020.97
5.6.100.0070.08721.02
5.6.90.0070.06021.07
5.6.80.0130.04020.39
5.5.300.0100.03317.99
5.5.290.0070.05018.05
5.5.280.0030.05020.88
5.5.270.0000.08720.76
5.5.260.0070.07320.76
5.5.250.0100.07020.62
5.5.240.0200.07320.26

preferences:
146.18 ms | 1394 KiB | 7 Q