Requests_Cookie::normalize_attribute( string $name, string|boolean $value ): mixed

In this article

Parse an individual cookie attribute

Description

Handles parsing individual attributes from the cookie values.

Parameters

$namestringrequired
Attribute name
$valuestring|booleanrequired
Attribute value (string value, or true if empty/flag)

Return

mixed Value if available, or null if the attribute value is invalid (and should be skipped)

Source

User Contributed Notes

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