PHP » GoLang | 
        
            
            login |
            register |
            
            about
            
             | 
    
                
                        
                    array_combine(PHP 5, PHP 7) array_combine — Creates an array by using one array for keys and another for its values Description
   array array_combine
    ( array  
  $keys
   , array $values
   )
   Creates an array by using the values from the
    Parameters
 Return Values
   Returns the combined array,  Errors/Exceptions
   Throws  Changelog
 
 Examples
 Example #1 A simple array_combine() example 
<?phpThe above example will output: 
Array
(
    [green]  => avocado
    [red]    => apple
    [yellow] => banana
)
See Also
 
  | 
            
            
                
                 
                    more
                     
                Most requested
 
                    more
                     
            Last requests
  |