PHP Interview Programs | Part 4

Problem 16: Write a Program to swap two numbers in PHP.

Problem 17: Write a Program for Bubble sorting in PHP.

Problem 18: Write a Program for finding the smallest number in an array.

Problem 19: 

Write a program to print the below format :
1 5 9
2 6 10
3 7 11
4 8 12

Problem 20: 

Write a program for this Pattern:
*****
*      *
*      *
*      *
*****

<<Previous  | Next >>