![]() ![]() | ![]() |
1.1 misho 1: <?php 2: $p = new Phar(__FILE__); 3: var_dump(isset($p["mounted"])); 4: Phar::mount("mounted", "phar://" . __FILE__ . "/test.txt"); 5: var_dump(isset($p["mounted"])); 6: echo $p["mounted"]->getContent(),"\nok\n"; 7: __HALT_COMPILER(); ?> 8: 6 &