![]() ![]() | ![]() |
1.1 misho 1: <?php 2: $p = new Phar(__FILE__); 3: var_dump(isset($p["newname"])); 4: $fp = fopen("phar://" . __FILE__ . "/newname", "w"); 5: fwrite($fp, b"hi"); 6: fclose($fp); 7: var_dump(isset($p["newname"])); 8: echo "ok\n"; 9: __HALT_COMPILER(); ?> 10: 6 &