If key doesn't not exist, $value will be returned and assigned under that key.
public post ( string $key = null, mixed $value = null ) : mixed |
$key |
string |
Key for which you wish to get the value. |
$value |
mixed |
Default value that will be returned if $key doesn't exist. |
Résultat |
mixed |
Value of the given $key. |