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