PHP Math Functions Part – 1
Program 1
<html> <head><title>Math Function in PHP Application</title> <body> <pre> <center> <?php // $myar1=[89,5,80]; // $myar2=[56,15,20]; // $myar3=min($myar1,$myar2); // print_r($myar3); //$m=min(20,56,78,12,77,99,34); // $n=212; // $m=$n; // $s=0; // while($n!=0) // { // $r=$n%10; // $s=$s*10+$r; // $n=intdiv($n,10); // } // if($m==$s) // echo "<font color=green size=5>Number is Pandrom:</font> "; // else // echo "<font color=red size=5>Number is not Pandrom:</font> "; // //echo "<br>Reverse Number is: ".$s; // // $m=intdiv(15,2); // // echo $m; // $n=pow(8,6); // echo $n; echo sqrt(125); ?> </pre> </center> </body> </html>