3v4l.org

run code in 300+ PHP versions simultaneously
<?php header/("content-type:text/html;chartset=utf-8"); $a=2; $b=5; $c=3; $D=$b*$b - 4*$a*$c; if ($D>0);{ $x1= (-$b + sqrt($D)) / 2*$a; $x2= (-$b – sqrt($D)) / (2*$a); echo $x1; echo $x2; } else if ($D==0);{ $x1 = $x2 = -$b / 2*$a; echo $x1; echo $x2; }

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.6.150.0100.07318.27
5.6.140.0030.06718.19
5.6.130.0070.04018.25
5.6.120.0030.04721.14
5.6.110.0100.08021.01
5.6.100.0200.07321.00
5.6.90.0070.08321.00
5.6.80.0100.08720.36
5.5.300.0030.04018.05
5.5.290.0100.08017.98
5.5.280.0130.08020.87
5.5.270.0070.04320.76
5.5.260.0170.07020.79
5.5.250.0000.09020.55
5.5.240.0270.07020.35

preferences:
144.87 ms | 939 KiB | 8 Q