PHP userland backwards compatibility layer that emulates PHP 5.5+ core functions.

⌈⌋ ⎇ branch:  upgrade.php


Artifact [1a2efecd39]

Artifact 1a2efecd396ded526a8b70a1933d96a75a3c67a8:

  • File doc/tests1all/headers_list.phpt — part of check-in [51e3884900] at 2010-06-22 17:03:27 on branch trunk — upgradephp-15 (user: mario size: 320)

--TEST--
headers_list
--FILE--
<?php

header("Content-Type: text/x-display-on-console");
header("X-Server: upgradephp-test/2.75.01d");
echo "header(\"...\");\n\n";

echo "\$r = headers_list();\n\n";
error_reporting(E_ALL);
$r = headers_list();
print_r($r);

?>
--EXPECT--
header("...");

$r = headers_list();

Array
(
)