summaryrefslogtreecommitdiff
path: root/ext/phar/tests/cache_list/files/frontcontroller13.phar.inc
diff options
context:
space:
mode:
Diffstat (limited to 'ext/phar/tests/cache_list/files/frontcontroller13.phar.inc')
-rw-r--r--ext/phar/tests/cache_list/files/frontcontroller13.phar.inc14
1 files changed, 14 insertions, 0 deletions
diff --git a/ext/phar/tests/cache_list/files/frontcontroller13.phar.inc b/ext/phar/tests/cache_list/files/frontcontroller13.phar.inc
new file mode 100644
index 0000000..0bfef46
--- /dev/null
+++ b/ext/phar/tests/cache_list/files/frontcontroller13.phar.inc
@@ -0,0 +1,14 @@
+<?php
+@unlink(dirname(__FILE__) . '/frontcontroller13.phar');
+$a = new Phar(dirname(__FILE__) . '/frontcontroller13.phar');
+$a['index.php'] = '<?php
+var_dump("test");
+include "oof/test.php";';
+$a['oof/test.php'] = '<?php
+var_dump("oof/test.php");
+include "./hi.php";';
+$a['oof/hi.php'] = '<?php
+var_dump("hi");';
+$a->setStub('<?php
+Phar::webPhar();
+__HALT_COMPILER();'); \ No newline at end of file