- Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.15
- Parse error: syntax error, unexpected '–' (T_STRING) in /in/Sqafn on line 13
Process exited with code 255.
<?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;
}