PHP Tutorials

strtoupper() Make a string uppercase

strtoupper() function takes one string as an input and converts all lowercase characters of the string to uppercase. Read more...

ucfirst() Make a string's first character uppercase

This tutorial will teach you how to uppercase the first character of a string. The ucfirst() function capitalizes the first character of a string (if that character is alphabetic) which is good for sentences. Read more...

Comparing Strings with strcasecmp() function

PHP strcasecmp() function: This function works same as strcmp() which is case sensitive. If no case sensitivity is required, then you can use strcasecmp() function. Read more...

Comparing Strings with strcmp() function

PHP strcmp() function: PHP offer a bit more than just comparing strings and returning true or false. The strcmp() function compares two strings and this comparison is case sensitive. Read more...

Comparing Strings

String comparing in PHP is one of the most important part of our projects. Comparing strings seems like an easy task but you will have to remember some key differences when using comparison operators Read more...

Assignment = vs Equal == vs Identical === Operators in PHP

A single equal sign = is the basic assignment operator in PHP. Don't think this sign as "equal to". The variable on left side of = gets set to the value of the expression on the rights. Read more...

Comparison Operators

Comparison operators allow you to compare two values. These operators test two values against each other, and if they relate correctly, the test returns true. If the relationship specified by the test is incorrect, the return value is false. Read more...

(7 Tutorials) Page 1 of 1 1