max() accepts multiple values or an array and returns the largest one. It is clearer than writing several nested comparisons for this exercise.
\68=68; \12=12;\135=135;\22=22;
echo \"Four Numbers are : $v1,$v2,$v3,$v4 <br>\";
echo \" Highest Number is : \".max($v1,$v2,$v3,$v4);
Author & Instructor at plus2net
I write and maintain practical tutorials on Python, PHP, SQL, JavaScript, HTML, jQuery, and web development at plus2net. The tutorials focus on clear explanations, working examples, and code that readers can test and adapt while learning.