PHP 8.4.24 Released!

Voting

: four plus two?
(Example: nine)

The Note You're Voting On

mohanrajnr at gmail dot com
11 years ago
if array_column does not exist the below solution will work.

if(!function_exists("array_column"))
{

    function array_column($array,$column_name)
    {

        return array_map(function($element) use($column_name){return $element[$column_name];}, $array);

    }

}

<< Back to user notes page

To Top