Category: PHP Strings

PHP Arrays

PHP Arrays An Array is a PHP datatype used to store a group of data into a variable. Each array item is stored as a key and value pair. Arrays are classified as “indexed array” and “associative array”...

PHP Implode Explode

PHP Implode Explode PHP implode() and explode() are the couple of popularly used string functions. Both are used to convert a string or array data from one another and these are a complement to...

PHP Array Sort

PHP Array Sort PHP includes powerful array functions which are quite interesting and very useful for working with. For example, array_keys(), array_values, implode() and explode() and etc. On this list, sorting functions are one...

PHP Array Length

PHP Array Length In PHP, the total number of elements in an array can be calculated by a couple of PHP functions count() and sizeof(), where as the sizeof() is an alias of the...

PHP Array Difference

PHP Array Difference Among the huge list of PHP array functions, we are going to see about some of them used in finding differences between given input arrays. By using PHP array difference functions,...

PHP Array Extract

PHP Array Extract We have seen about PHP string extract few days before, to get a particular portion of given input string using PHP inbuilt functions, like, substr(), mb_substr() and etc. And now, we...

PHP in_array

PHP in_array PHP Arrays, one of the interesting topic in PHP, in learning part of a view, since, it includes several direct PHP functions to work with arrays. In this article, we took one...

PHP array_intersect

PHP array_intersect PHP array_intersect() function is used to find intersection between arrays. This function can accept multiple arguments to compare. After comparison, this function returns an array of intersecting elements that are commonly available...

PHP JSON Array Merge

PHP JSON Array Merge In this tutorial, we are going to see about how to merge two or more JSON string. This can be done by decoding given JSON objects and encoding after the...

Trimming String using PHP

Trimming String using PHP String Trimming is the process of clearing the unwanted whitespace present in a string. This process will clear the whitespace that occurs around the string, but will not clear the unwanted...

Show Buttons
Hide Buttons
Social Media Auto Publish Powered By : XYZScripts.com