$array = array( 'a' => array( 'b' => array( 'c' => 'd' ) ), 'e' => array( 'f' => 'g' ) ); $flatten = array(); array_flatten($array, $flatten); print_r($flatten);In this example, the `array_flatten` function is called on the multidimensional array `$array`. The resulting flatten array is stored in the `$flatten` variable and then printed for display. The package library for the PHP hash flatten function can be found in the PHP array library.