ヤミRoot VoidGate
User / IP
:
216.73.216.143
Host / Server
:
146.88.233.70 / dev.loger.cm
System
:
Linux hybrid1120.fr.ns.planethoster.net 3.10.0-957.21.2.el7.x86_64 #1 SMP Wed Jun 5 14:26:44 UTC 2019 x86_64
Command
|
Upload
|
Create
Mass Deface
|
Jumping
|
Symlink
|
Reverse Shell
Ping
|
Port Scan
|
DNS Lookup
|
Whois
|
Header
|
cURL
:
/
home
/
itrave
/
php
/
tests
/
HTTP2
/
tests
/
Viewing: parseLinks_real.phpt
--TEST-- parseLinks(): real world examples --FILE-- <?php require_once 'HTTP2.php'; $http = new HTTP2(); $links = array( '<http://waterpigs.co.uk/mentions/webmention/>; rel="http://webmention.org/"', '<http://aaronparecki.com/webmention.php>; rel="http://webmention.org/"', '<https://indieauth.com>; rel="indieauth"' ); $out = var_export($http->parseLinks($links), true); echo preg_replace('#\s+\n#', "\n", $out); ?> --EXPECT-- array ( 0 => array ( '_uri' => 'http://waterpigs.co.uk/mentions/webmention/', 'rel' => array ( 0 => 'http://webmention.org/', ), ), 1 => array ( '_uri' => 'http://aaronparecki.com/webmention.php', 'rel' => array ( 0 => 'http://webmention.org/', ), ), 2 => array ( '_uri' => 'https://indieauth.com', 'rel' => array ( 0 => 'indieauth', ), ), )
Coded With 💗 by
0x6ick