3v4l.org

run code in 300+ PHP versions simultaneously
<?php function isFoo() { return true; } if (!isFoo() <=> true ?? false) { print("yay"); } var_dump(isFoo() <=> 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)
7.0.00.0030.04320.19
5.6.160.0200.07020.54
5.6.150.0100.04318.25
5.6.140.0030.07018.28
5.6.130.0030.04018.27
5.6.120.0070.07321.03
5.6.110.0070.07321.02
5.6.100.0170.07021.07
5.6.90.0070.07720.88
5.6.80.0030.06320.44
5.5.300.0170.07017.95
5.5.290.0070.08017.95
5.5.280.0070.04320.76
5.5.270.0030.04020.68
5.5.260.0100.05720.76
5.5.250.0030.09020.54
5.5.240.3570.04320.27

preferences:
142.25 ms | 1394 KiB | 7 Q