Browsing Category
PHP
PHP: Hypertext Preprocessor is a general-purpose programming language originally designed for web development. It was originally created by Rasmus Lerdorf in 1994; the PHP reference implementation is now produced by The PHP Group.
PHP Regular Expression: How to Use RegExp in PHP
Regular Expressions, commonly known as the "regex" or "RegExp," are specially formatted text strings used to detect patterns in text. Regular expressions are one of the various robust tools available today for effective and efficient text…
PHP empty: How to Check If the Variable is Empty or Not
PHP empty() is an inbuilt function that is used to determine whether the variable is considered to be empty. The variable is considered empty if it does not exist or if its value equals FALSE. The empty() does not generate a warning if the…
PHP isset Example | PHP isset() Function Tutorial
PHP isset Example | PHP isset() Function Tutorial is today's topic. The isset () function is used to check whether a variable is set or not. If the variable is already unset with unset() function, it will no longer be set. The isset()…
PHP Strlen Example | strlen() Function Tutorial
PHP Strlen Example | strlen() Function Tutorial is today's topic. The strlen() function returns a length of the string. Returns a length of the string on success, and 0 if the string is empty. It takes a string as a parameter and returns…
PHP Strtotime: Convert English Textual Datetime to TimeStamp
PHP supports date functions to handle date & time to implement and provide a method to convert human-readable dates to Unix Timestamp. One of those methods is strtotime(). Let's see that in detail.PHP strtotime()
The strtotime() is…
PHP Trim Example | trim() Function In PHP Tutorial
PHP Trim Example | trim() Function In PHP Tutorial is today's topic. The trim() function Strip whitespace (or other characters) from the beginning and end of a string. The trim() function returns the string with a whitespace stripped from a…
PHP strpos() Example | PHP strpos() Function Tutorial
PHP strpos() Example | PHP strpos() Function Tutorial is today's topic. The strpos() function finds a position of the first occurrence of a substring in the string. The strpos() function finds a position of the first occurrence of the…
PHP Array Sum Example | PHP array_sum() Function Tutorial
PHP Array Sum Example | PHP array_sum() Function Tutorial is today's topic. It returns the sum of all the values in the array. It takes an array parameter and returns the sum of all the values in it. It returns the 0 if the array is empty.…
PHP Array Count Example | PHP count() Function Tutorial
PHP Array Count Example | PHP count() Function Tutorial is today's topic. PHP count() function returns the number of items in the array. PHP array count() method is used to count the items of an array or the properties of an object.
For…
How To Check Variable Is NULL in PHP | PHP is_null() Tutorial Example
How To Check Variable Is NULL in PHP | PHP is_null() Tutorial Example is today's topic. PHP is_null() function finds whether a variable is NULL. A special NULL value represents the variable with no value. The NULL is the only possible value…
PHP array_walk Example | PHP array_walk() Function Tutorial
PHP array_walk Example | PHP array_walk() Function Tutorial is today's topic. The array_walk() function runs each array item in the user-defined function. The user-defined function takes an array's values and keys as parameters. PHP…