![]() ![]() | ![]() |
1.1 ! misho 1: <?php ! 2: var_dump(file_exists("phar://" . __FILE__ . "/test.txt")); ! 3: clearstatcache(); ! 4: Phar::mount("test.txt", "phar://" . __FILE__ . "/tobemounted"); ! 5: var_dump(file_exists("phar://" . __FILE__ . "/test.txt"), file_get_contents("phar://" . __FILE__ . "/test.txt")); ! 6: echo "ok\n"; ! 7: __HALT_COMPILER(); ?> ! 8: 9 &