Category

PHP

Comparison and Logical Operators in PHP

PHP

Operators in PHP are used for different tasks like comparing or incrementing/decreasing values. They are also used to test logical operations. There are many types of operators that you will be using in PHP. They can be grouped according to their usage. Two main types of operators are comparison and logical operators. These conditions usually come together with conditional statements…

25 Extremely Useful PHP String Functions

PHP

There are a lot of php string functions and they are very useful. These functions are used to perform operations with string values. You can change cases, search within strings, count the characters, trim them etc. Here is the list of some extremely useful php string functions along with their usage examples: strtoupper() and strtolower() These two functions convert a…