title: Does using Composer to install PEAR packages work in PHP 7?
body: <p>In PHP 5.5 using Composer to install a PEAR package works fine (of course).  I've set up a PHP 7 test box to see if our unit tests will pass under PHP 7 and the immediate issue I've run into is that the PEAR dependencies do not work:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>Loading composer repositories with package information
  Initializing PEAR repository https://pear.php.net
  Updating dependencies (including require-dev)
    - Installing packagist/closurecompiler-bin (dev-master d52231c)
      Cloning d52231c49813347010fa605d0f102ada68bb8b4b
  
    - Installing pear-pear.php.net/structures_graph (1.1.1)
      Loading from cache
  
  
  
    [UnexpectedValueException]
    Failed to extract PEAR package /opt/navigate/vendor/pear-pear.php.net/Structures_Graph/Structures_Graph-1.1.1.tgz to /opt/navigate/vendor/pear-pear.php.net/Structures_Graph. Reason: phar error: tar-base
    d phar "Structures_Graph-1.1.1/tests/BasicGraphTest.php" cannot be registered
  
  
  
  
  
  
    [UnexpectedValueException]
    phar error: tar-based phar "Structures_Graph-1.1.1/tests/BasicGraphTest.php" cannot be registered</code></pre>
  </div>
  </div>
  </p>
  
  <p>I cannot figure this one out - it seems to be an out and out PHP 7 incompatibility that no-one's writing about on the net?</p>