PHP program to use pi value as global variable in your program to print the area of circle
PHP program to use local variable and take input from user and print the nearest power of 3
multiply a value by 10 and return it to the caller
Example for Global variable
Example for local variable
Example for Static variable
PHP program to take input, a sequence of numbers from user and store it in a list or array
PHP program to initialize a hash or dictionary with five key-value sets and print the second key value pair
PHP program to print the data type of the initialzed variable
PHP program to take float as input from user and convert it into integer and string then print it in respective manner
PHP program to take a string and convert it into list or array by using the spaces in the string as delimiter
PHP program to print whether a given number is odd and also a multiple of nine
PHP program to print the grade of person using the following conditions
PHP program to find maxima or minima of a quadratic equation
PHP program to find whether the given year is leap year or not with the following conditions
PHP program to find derivative and integral of polynomial equation
In physics, contact between objects during a collision leads to loss of force as no medium is perfect
PHP program to check whether a given number is in a goemetric progression or not for a given initial value and factor
PHP program to append two files in another file
PHP program to open a csv file and print only the second column in the file
PHP program to open a text file and print the nth line in text file if nth line does not exist print no data
PHP program of writing a function to find whether a given number is armstrong number or not
PHP program to find the factorial of a number using function
PHP program of writing a function to find gcd of two numbers
PHP program to enter a number to generate sequence of primes that are exactly at absoute difference of 1 with powers of two
PHP program to extract the mail addresses in the given string using regular expression
PHP program to find the sum of the numbers in a alphanumeric string
PHP program to replace all the patterns like '[!*]' using regular expression
PHP program to find the total occurences of a symbol in string using reqular expressions
PHP program to build a class and store the data of the mobile phones with screen size,ram,company and processor along with Constructor and function to estimate cost of phone based on conditions
PHP program to use the mobile phone class as parent and build the accessory class for a shop for biling purpose
PHP program to use Function Overriding in a class
PHP program to use session variables and start a session
PHP program to use exception handling and prevent the calculation of roots of a quadratic equation if root are complex
PHP program to use Exception handling and catch divided by zero, divided by power of 2 exceptions
Your Output Goes Here. Click on execute or Ctrl + Enter to run your code