Lines Matching refs:testit
16 Phar::mount("testit", dirname(Phar::running(0)) . "/testit");
17 echo file_get_contents(Phar::running(1) . "/testit/extfile.php"), "\n";
18 echo file_get_contents(Phar::running(1) . "/testit/directory"), "\n";
19 echo file_get_contents(Phar::running(1) . "/testit/existing.txt"), "\n";
20 include "testit/extfile.php";
21 include "testit/extfile2.php";
23 Phar::mount(".phar/stub.php", dirname(Phar::running(0)) . "/testit/extfile.php");
28 $a['testit/existing.txt'] = 'oops';
34 mkdir(__DIR__ . '/testit');
35 mkdir(__DIR__ . '/testit/directory');
36 file_put_contents(__DIR__ . '/testit/extfile.php', '<?php
39 file_put_contents(__DIR__ . '/testit/extfile2.php', '<?php
42 include __DIR__ . '/testit/extfile.php';
45 $a = opendir($pname . '/testit');
55 foreach (new Phar($pname . '/testit') as $b) {
63 Phar::mount($pname . '/testit', 'another\\..\\mistake');
73 Phar::mount($pname . '/testit', __DIR__);
78 Phar::mount($pname . '/testit/extfile.php', __DIR__);
86 @unlink(__DIR__ . '/testit/extfile.php');
87 @unlink(__DIR__ . '/testit/extfile2.php');
88 @rmdir(__DIR__ . '/testit/directory');
89 @rmdir(__DIR__ . '/testit');
98 …t_contents(phar://%stempmanifest1.phar.php/testit/directory): Failed to open stream: phar error: p…
109 phar://%stempmanifest1.phar.php/testit%cdirectory
110 phar://%stempmanifest1.phar.php/testit%cextfile.php
111 phar://%stempmanifest1.phar.php/testit%cextfile2.php
112 Mounting of /testit to another\..\mistake within phar %stempmanifest1.phar.php failed
114 Mounting of /testit to %stests within phar %stests/tempmanifest1.phar.php failed
115 Mounting of /testit/extfile.php to %stests within phar %stests/tempmanifest1.phar.php failed