Topics in PHP

PHP Switch and Continue

The switch statement is used to perform different actions based on different conditions. In this article, we will see how to use the switch case statement in PHP. The switch statement is useful to perform different actions based on various conditions. Read Also: PHP If Else Statement PHP Switch The switch statement is like if […]

What is implode function and how to use implode()

Sometimes we require to convert an array into the string. PHP provides the feature to convert an array into the string. We can use implode() function to convert an array into the string. The Implode() Function The implode() is the string function in PHP which is used for converting an array into the string. How […]

PHP if..elseif..else

When we write programs, there will be scenarios where we want to execute a block of code only if some conditions are satisfied. In such situations, we use conditional statements. In this article, we discuss decision-making code using if..elseif..else statements in PHP. Read Also: PHP Math Functions PHP Conditional Statements Like most programming languages, PHP […]

PHP Math

PHP has the Math library, which can perform various basic Mathematical operations to get the desired output. Read Also: PHP Numbers Math Functions in PHP In this article, we will learn how to use math Operations in PHP. The Simplest math functions are those that require only a single parameter. This parameter is usually a […]

PHP Numbers

PHP has various types of numbers like Integer, Float, Double, etc. Also, PHP provides automatic type conversion of variables. We can assign an integer value, a string to a variable and the type of that variable will change to integer and string. PHP Numbers There are many types of numeric values. In this unit, we will […]