Coding 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 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 …

PHP Interview Programs

Problem 1: Write a program to print Factorial of any number. Problem 2: Write a program in PHP to print Fibonacci series . 0, 1, 1, 2, 3, 5, 8, 13, 21, 34. Problem 3: Write a program to find whether a …