summaryrefslogtreecommitdiff
path: root/ext/phar/tests/frontcontroller6.phpt
blob: 2f74c8f04dfc6fad0d85acf88d20a9a600887dd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--TEST--
Phar front controller 404
--SKIPIF--
<?php if (!extension_loaded("phar")) die("skip"); ?>
--ENV--
SCRIPT_NAME=/frontcontroller6.php/notfound.php
REQUEST_URI=/frontcontroller6.php/notfound.php
--FILE_EXTERNAL--
frontcontroller.phar
--EXPECTHEADERS--
Status: 404 Not Found
--EXPECT--
<html>
 <head>
  <title>File Not Found<title>
 </head>
 <body>
  <h1>404 - File /notfound.php Not Found</h1>
 </body>
</html>