3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 1; $b = 2; $c = 3; $d = 4; $e = $a ?? $b ?? $c <==> $d;

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.0030.05020.25
5.6.160.0030.09320.55
5.6.150.0130.07318.27
5.6.140.0070.08018.27
5.6.130.0170.07318.17
5.6.120.0170.07021.11
5.6.110.0170.07021.12
5.6.100.0070.05020.97
5.6.90.0100.04020.87
5.6.80.0070.03720.40
5.5.300.0070.08318.08
5.5.290.0100.03317.95
5.5.280.0000.04720.80
5.5.270.0170.07320.67
5.5.260.0100.07020.64
5.5.250.0030.04020.70
5.5.240.0200.05720.25

preferences:
140.03 ms | 1398 KiB | 7 Q