PHP 8.4.2 Released!

OAuth::setTimestamp

(PECL OAuth >= 1.0.0)

OAuth::setTimestampSet the timestamp

Description

public OAuth::setTimestamp(string $timestamp): mixed

Sets the OAuth timestamp for subsequent requests.

Warning

This function is currently not documented; only its argument list is available.

Parameters

timestamp

The timestamp.

Return Values

Returns true, unless the timestamp is invalid, in which case false is returned.

Changelog

Version Description
PECL oauth 1.0.0 Previously returned null on failure, instead of false.

See Also

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top