--TEST--
-Phar front controller rewrite array invalid
+Phar front controller rewrite access denied
--SKIPIF--
<?php if (!extension_loaded("phar")) die("skip"); ?>
--ENV--
<body>
<h1>403 - File /hi Access Denied</h1>
</body>
-</html>
\ No newline at end of file
+</html>
{
static $b = array("/hi" => "a.phps");
if (isset($b[$a])) return $b[$a];
+ return $a;
}
Phar::webPhar("whatever", "/index.php", null, array(), "s");
echo "oops did not run\n";
{
static $b = array("/hi" => "a.phps");
if (isset($b[$a])) return $b[$a];
+ return $a;
}
Phar::webPhar("whatever", "/index.php", null, array(), "s");
echo "oops did not run\n";
{
static $b = array("/hi" => "a.phps");
if (isset($b[$a])) return $b[$a];
+ return $a;
}
Phar::webPhar("whatever", "/index.php", null, array(), "s");
echo "oops did not run\n";