403Webshell
Server IP : 217.160.0.251  /  Your IP : 216.73.216.102
Web Server : Apache
System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
User : u94981163 ( 8991765)
PHP Version : 7.3.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/lib/php7.3/test/HTTP2/tests/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/php7.3/test/HTTP2/tests/parseLinks_rfc5988-examples-3.phpt
--TEST--
parseLinks(): RFC 5988 example 3
--FILE--
<?php
/**
 * This test checks for link parsing
 *
 * PHP version 5
 *
 * @category HTTP
 * @package  HTTP2
 * @author   Philippe Jausions <jausions@php.net>
 * @license  http://www.opensource.org/licenses/bsd-license.php New BSD License
 * @link     http://pear.php.net/package/HTTP2
 */
require_once  'HTTP2.php';
$http = new HTTP2();
$out = var_export(
     $http->parseLinks(
        '</TheBook/chapter2>;rel="previous"; title*=UTF-8\'de\'letztes%20Kapitel,'
     ),
     true
);
echo preg_replace('#\s+\n#', "\n", $out);
?>
--EXPECT--
array (
  0 =>
  array (
    '_uri' => '/TheBook/chapter2',
    'rel' =>
    array (
      0 => 'previous',
    ),
    'title*' =>
    array (
      'de' => 'letztes Kapitel',
    ),
  ),
)

Youez - 2016 - github.com/yon3zu
LinuXploit