X7ROOT File Manager
Current Path:
/opt/alt/tests/alt-php84-pecl-oauth_2.0.7-4.el8/tests
opt
/
alt
/
tests
/
alt-php84-pecl-oauth_2.0.7-4.el8
/
tests
/
📁
..
📄
bug21426.phpt
(296 B)
📄
bug_64308.phpt
(348 B)
📄
oauth.inc
(274 B)
📄
oauth_curl_debug_handler.phpt
(869 B)
📄
oauth_reqtoken.phpt
(2.48 KB)
📄
oauth_sbs.phpt
(2.11 KB)
📄
oauth_standard.phpt
(3.12 KB)
📄
oauth_urlencode.phpt
(235 B)
📄
plaintext.phpt
(1.03 KB)
📄
plaintext2.phpt
(1.61 KB)
📄
reqtoken_bug44603.phpt
(2.03 KB)
📄
reqtoken_php.phpt
(2.17 KB)
📄
sbs.phpt
(1.9 KB)
📄
server.inc
(1.72 KB)
📄
skip.inc
(1.22 KB)
📄
test.pem
(493 B)
📄
urlencode.phpt
(235 B)
Editing: oauth_curl_debug_handler.phpt
--TEST-- Oauth curl debug handler --SKIPIF-- <?php require 'skip.inc'; require 'server.inc'; http_server_skipif('tcp://127.0.0.1:12342'); skip_if_not_constant('OAUTH_REQENGINE_CURL'); ?> --FILE-- <?php require 'server.inc'; $x = new OAuth('conskey', 'conssecret', OAUTH_SIG_METHOD_PLAINTEXT); $x->setRequestEngine(OAUTH_REQENGINE_STREAMS); $x->setTimestamp(12345); $x->setNonce('testing'); $x->enableDebug(); $x->setRequestEngine(OAUTH_REQENGINE_CURL); $pid = http_server("tcp://127.0.0.1:12342", array( "HTTP/1.0 200 OK\r\nContent-Type: text/plain\r\nContent-Length: 40\r\n\r\noauth_token=1234&oauth_token_secret=4567", ), $output); $x->setAuthType(OAUTH_AUTH_TYPE_URI); $x->getRequestToken('http://127.0.0.1:12342/test'); fseek($output, 0, SEEK_SET); stream_get_contents($output); var_dump(count($x->debugInfo)); http_server_kill($pid); ?> --EXPECTF-- int(5)
Upload File
Create Folder