3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( $a ?? $b ?? $c ?? $d ?? $e ?? 'foo'; );

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.08320.23
5.6.160.0170.03720.71
5.6.150.0070.08018.15
5.6.140.0030.07318.11
5.6.130.0100.07718.12
5.6.120.0000.06020.95
5.6.110.0070.07721.10
5.6.100.0100.08021.06
5.6.90.0170.07320.95
5.6.80.0200.07020.50
5.5.300.0070.05017.98
5.5.290.0100.03317.99
5.5.280.0000.05320.89
5.5.270.0170.07720.79
5.5.260.0070.06720.79
5.5.250.0030.07320.57
5.5.240.0300.05020.13

preferences:
140.93 ms | 1394 KiB | 7 Q