3v4l.org

run code in 300+ PHP versions simultaneously
<?php If (100>55) EchO "my php Program 1" ; Else echo "my php program 2" ; // second program lets step it up a notch ; $var1 = 100 $var2 = 50 $total = ($var1 + $var2) if ($total > 95) Echo "kendi coding like a n00b" ; else echo "kendi coding like a novice" ; ?>

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)
5.4.240.0230.07318.86
5.4.230.0230.05319.05
5.4.220.0230.07319.21
5.4.210.0170.08019.21
5.4.200.0200.03719.08
5.4.190.0200.04019.23
5.4.180.0200.05019.15
5.4.170.0230.03319.08
5.4.160.0170.03319.29
5.4.150.0100.04019.29
5.4.140.0130.03716.36
5.4.130.0130.03716.51
5.4.120.0230.03716.30
5.4.110.0230.02716.56
5.4.100.0100.04016.26
5.4.90.0170.03316.26
5.4.80.0100.03716.54
5.4.70.0100.03716.43
5.4.60.0100.03716.52
5.4.50.0170.03316.37
5.4.40.0170.03316.16
5.4.30.0200.03316.55
5.4.20.0100.03716.48
5.4.10.0130.03716.25
5.4.00.0070.04015.95
5.3.280.0270.06714.80
5.3.270.0130.03714.80
5.3.260.0100.04014.80
5.3.250.0130.03714.80
5.3.240.0170.03314.80
5.3.230.0300.03314.80
5.3.220.0130.03714.80
5.3.210.0300.05314.80
5.3.200.0170.03714.80
5.3.190.0170.03714.80
5.3.180.0130.03714.80
5.3.170.0130.03714.80
5.3.160.0100.04014.80
5.3.150.0200.03314.80
5.3.140.0130.03714.80
5.3.130.0130.03714.80
5.3.120.0100.04014.80
5.3.110.0130.03714.80
5.3.100.0200.04314.80
5.3.90.0100.03714.80
5.3.80.0230.03014.80
5.3.70.0130.03714.80
5.3.60.0270.04014.80
5.3.50.0200.04014.80
5.3.40.0130.03714.80
5.3.30.0130.03314.80
5.3.20.0130.07314.80
5.3.10.0200.03314.80
5.3.00.0200.07014.80

preferences:
140 ms | 1394 KiB | 7 Q