PHPize Online / SQLize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
Copy Clear
Copy Format Clear
<?php function get(array $headers = []): array { $curl_opt_headers = $headers; array_walk( $curl_opt_headers, function (string &$value, string $key) { $value = $key . ': ' . $value; } ); return $curl_opt_headers; } print_r( get( [ 'Auth' => 'Token', 'second' => 'second value', ] ) );
Show:  
Copy Clear