3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = null; $b = 'test'; $c = "tset"; $d = 123; $e = '123'; $f = "123"; $g = ''; $h = ""; $i = false; echo $g ?? true : false;

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.150.0030.08318.15
5.6.140.0100.04018.27
5.6.130.0000.04718.24
5.6.120.0130.07721.14
5.6.110.0100.06021.11
5.6.100.0130.04020.88
5.6.90.0000.04321.02
5.6.80.0070.07320.50
5.5.300.0070.08018.08
5.5.290.0030.04017.95
5.5.280.0030.04020.65
5.5.270.0130.07720.75
5.5.260.0070.08320.95
5.5.250.0030.09720.77
5.5.240.0270.06720.34

preferences:
156.48 ms | 1394 KiB | 7 Q