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 objects, if you have installed SPL, then you can hook into count()… (0 comment)

How To Check Variable Is NULL in PHP | PHP is_null() Tutorial Example 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 of type NULL. The variable is considered to be null if: It has been assigned a constant NULL.… (0 comment)

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 array_walk() is not affected by the internal array pointer of the array. The array_walk() will walk through the entire array regardless… (0 comment)

PHP in_array Example | PHP in_array() Function Tutorial is today’s topic. The in_array() function checks if a value exists in an array. If the search parameter is the string and the type parameter is set to TRUE, the search is case-sensitive. If the search_value is found, then it returns TRUE otherwise it returns FALSE. PHP in_array Example… (0 comment)

PHP json_decode Example | Decode JSON Data in PHP Tutorial is today’s topic. PHP json_decode function takes the JSON encoded string and converts it into a PHP variable. JSON stands for JavaScript Object Notation. JSON is the standard lightweight data-interchange format which is quick and easy to parse and generate. The JSON, like XML, is the text-based format… (0 comment)

PHP Substr Example | PHP String substr() Function Tutorial is today’s topic. The substr() function returns a part of a string. The substr() method extracts parts of the string, beginning at the character at the specified position, and returns the specified number of characters. The substr() method does not change an original string. If we… (0 comment)