PHP array_keys function

It returns all the keys in a new array; this will be an indexed array. If you use $search_value in the parameters, it will return an array that contains a subset of keys with that value.

read more
PHP array_combine function

Creates a new array by combining two given arrays, where the values of the first array become the keys of the new array, and the values of the second array become the values of this new array.

read more
PHP array_values function

This PHP function will return all the values of the array in an indexed array.

read more
PHP list constructor

Assign variables as if they were an array, at least that’s the definition on php.net. I would say it assigns the elements of the array to variables, variables that will be created when we pass them as parameters to list.

read more
PHP array functions

Here, we will see the functions that can be used with an array. We’ll divide the different functions into sections to make it more understandable and readable. In this list of functions, there are two that are actually constructors, one is array, and the other is list Constructors constructor description return array creates an array […]

read more
PHP in_array function

The PHP function in_array is responsible for checking if a given value exists in any of the elements of an array.

read more
PHP Cookies

Cookies are a mechanism for storing data in the remote browser to monitor or identify users who return to the website. This is precisely the definition given to us on php.net.

read more
PHP scandir function

The PHP scandir function will return an indexed array of the files and directories within the specified directory path.

read more
PHP chgrp function

Today we will see what the PHP function chgrp does. In this post, we will deviate a little from what is given on php.net. Why? This is because PHP, in many of its naming conventions, draws from those of Linux, and I believe that a better explanation is to talk about both.

read more
PHP dirname function

The dirname() function allows us to obtain the path of parent directories based on the specified path and level.

read more

Comments