Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F87655249
github.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Oct 14, 00:08
Size
307 B
Mime Type
text/x-php
Expires
Wed, Oct 16, 00:08 (2 d)
Engine
blob
Format
Raw Data
Handle
21633816
Attached To
rPH Phabricator
github.php
View Options
<?php
// XML Example from GitHub
require
(
__DIR__
.
'/../bootstrap.php'
);
use
\Httpful\Request
;
$uri
=
'https://github.com/api/v2/xml/user/show/nategood'
;
$request
=
Request
::
get
(
$uri
)->
send
();
echo
"{$request->body->name} joined GitHub on "
.
date
(
'M jS'
,
strtotime
(
$request
->
body
->{
'created-at'
}))
.
"
\n
"
;
Event Timeline
Log In to Comment