Requests_Response_Headers::flatten( string|array $value ): string

In this article

Flattens a value into a string

Description

Converts an array into a string by imploding values with a comma, as per RFC2616’s rules for folding headers.

Parameters

$valuestring|arrayrequired
Value to flatten

Return

string Flattened value

Source

User Contributed Notes

You must log in before being able to contribute a note or feedback.