title: How to edit content in a .phar file?
body: <p>In my case, the phar file is used to translate an internet page in another language</p>
  
  <p>I have to update a translation, for example:</p>
  
  <pre><code>  'Open a New Ticket' =&gt; 'old_phrase'
     to
    'Open a New Ticket' =&gt; 'new_phrase'
  </code></pre>
  
  <p>If I do so by editing the file with a text editor the file is no longer recognized by the system, so I guess I have to use the php <code>Phar</code> class, but I don't know if there's a function to change an existing file in the phar.</p>
  
  <p>Any suggestions / solutions ? </p>