3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo $a ?? 3

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.20.0330.06020.12
7.0.10.0070.08020.19
7.0.00.0070.09019.99
5.6.170.0370.07020.55
5.6.160.0000.04720.50
5.6.150.0030.05018.15
5.6.140.0170.07018.21
5.6.130.0000.04718.25
5.6.120.0070.04020.96
5.6.110.0030.05320.89
5.6.100.0130.04720.96
5.6.90.0100.07021.01
5.6.80.0030.04020.53
5.5.310.0130.04320.31
5.5.300.0070.08017.98
5.5.290.0100.08317.94
5.5.280.0070.08320.77
5.5.270.0070.05720.83
5.5.260.0200.05720.83
5.5.250.0030.06720.70
5.5.240.0200.04320.12

preferences:
142.01 ms | 1386 KiB | 7 Q