(PECL OAuth >= 1.0.0)
OAuth::setTimestamp — Set the timestamp
public OAuth::setTimestamp ( string $timestamp ) : mixed
Sets the OAuth timestamp for subsequent requests.
This function is currently not documented; only its argument list is available.
timestamp
The timestamp.
Returns true
, unless the timestamp
is invalid, in which case false
is returned.
Version | Description |
---|---|
PECL oauth 1.0.0 | Previously returned null on failure, instead of false . |
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/oauth.settimestamp.php