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.0270.05320.05
7.0.10.0130.08320.33
7.0.00.0130.08320.16
5.6.170.0300.07320.71
5.6.160.0070.06320.43
5.6.150.0070.06718.14
5.6.140.0100.07718.18
5.6.130.0030.05318.19
5.6.120.0130.07720.89
5.6.110.0130.08021.11
5.6.100.0100.06720.97
5.6.90.0070.03720.99
5.6.80.0170.07020.50
5.5.310.0430.06320.34
5.5.300.0100.08017.95
5.5.290.0130.04317.92
5.5.280.0100.04020.87
5.5.270.0100.04320.86
5.5.260.0130.07720.86
5.5.250.0030.04320.65
5.5.240.0070.04720.25

preferences:
141.06 ms | 1394 KiB | 7 Q