3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 9; $b = 9; if ( $a != $b); echo "4 eshte ndryshe me 9"; else () echo "jan e nje lloj";

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.0230.08020.22
7.0.10.0100.07020.26
7.0.00.0070.04720.16
5.6.170.0230.05320.47
5.6.160.0100.08320.54
5.6.150.0000.05018.29
5.6.140.0030.07718.14
5.6.130.0000.04318.28
5.6.120.0130.06320.98
5.6.110.0100.09320.95
5.6.100.0100.06021.00
5.6.90.0130.03320.98
5.6.80.0100.06320.43
5.5.310.0200.06320.23
5.5.300.0100.06018.02
5.5.290.0130.07318.09
5.5.280.0100.05020.87
5.5.270.0130.07320.86
5.5.260.0100.06020.79
5.5.250.0130.03020.54
5.5.240.0070.07720.36

preferences:
138.06 ms | 1394 KiB | 7 Q