PHP Interview questions and answers (Programming/ Logical)

Q 1. Write a program for this pattern ? * * * * *  * * * *  * * *  * *  * Answer – <?php for($i=0;$i<=5;$i++){ for($j=5-$i;$j>=1;$j–){ echo “*&nbsp;”; } echo “<br>”; } ?> Q2 -Write a program for this pattern ?...