3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = bool(0 == 'foo'); echo $a

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.0270.08020.00
7.0.10.0100.03720.09
7.0.00.0100.04020.16
5.6.170.0270.04720.71
5.6.160.0030.05720.37
5.6.150.0070.08018.17
5.6.140.0070.03718.18
5.6.130.0070.05318.18
5.6.120.0100.08320.89
5.6.110.0170.06720.95
5.6.100.0070.08720.95
5.6.90.0100.07020.94
5.6.80.0070.06720.40
5.5.310.0200.06020.28
5.5.300.0070.08017.98
5.5.290.0070.07717.89
5.5.280.0000.04320.88
5.5.270.0130.08020.95
5.5.260.0070.06720.76
5.5.250.0030.08020.77
5.5.240.0230.07020.26

preferences:
138.63 ms | 1394 KiB | 7 Q