Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<OAuth::setSSLChecksOAuth::setToken>
^OAuthLast updated: Mon, 26 Oct 2026

OAuth::setTimestamp

(PECL OAuth >= 1.0.0)

OAuth::setTimestamp — Set the timestamp

Description

public function 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


<OAuth::setSSLChecksOAuth::setToken>
^OAuthLast updated: Mon, 26 Oct 2026