Harish Archive

PHP Interview Programs

Problem 26: What would be the output of following: OUTPUT: 1   // $b value will be 1 21  // $c value will be 21 as 2 is concatenated to the value of $b Problem 27: What would be …

PHP Interview Programs

Problem 21:  How to print this Pattern: *0 ***00 ******000 **********0000 ***************00000 Problem 22:  How to write a Floyd’s Triangle? 1 23 456 78910 1112131415 Problem 23:  Write a program to make a chess. Problem 24:  how …

PHP Interview Programs

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 …

PHP Interview Programs

Problem 6: Write a program to print Fibonacci series. Problem 7: Write a program to find HCF of two numbers. Problem 8: Program to find whether a year is LEAP year or not. Problem 9:  Program to print the below …