title: Errors installing Composer on macOS (JIT compilation failed)
body: <p>When I run <code>composer --version</code> in the macOS terminal, I get the following errors.</p>
  <blockquote>
  <p>PHP Warning:  preg_match(): JIT compilation failed: no more memory in
  phar:///usr/local/bin/composer.phar/vendor/symfony/console/Application.php
  on line 755</p>
  <pre><code>Warning: preg_match(): JIT compilation failed: no more memory in phar:///usr/local/bin/composer.phar/vendor/symfony/console/Application.php
  </code></pre>
  <p>on line 755
  PHP Warning:  preg_match(): JIT compilation failed: no more memory in
  phar:///usr/local/bin/composer.phar/vendor/symfony/console/Application.php
  on line 759</p>
  <pre><code>Warning: preg_match(): JIT compilation failed: no more memory in phar:///usr/local/bin/composer.phar/vendor/symfony/console/Application.php
  </code></pre>
  <p>on line 759
  PHP Warning:  preg_split(): JIT compilation failed: no more memory in
  phar:///usr/local/bin/composer.phar/vendor/symfony/console/Application.php
  on line 654</p>
  <pre><code>Warning: preg_split(): JIT compilation failed: no more memory in phar:///usr/local/bin/composer.phar/vendor/symfony/console/Application.php
  </code></pre>
  <p>on line 654
  PHP Warning:  preg_split(): JIT compilation failed: no more memory in
  phar:///usr/local/bin/composer.phar/vendor/symfony/console/Application.php
  on line 1091</p>
  <pre><code>Warning: preg_split(): JIT compilation failed: no more memory in phar:///usr/local/bin/composer.phar/vendor/symfony/console/Application.php
  </code></pre>
  <p>on line 1091
  PHP Warning:  preg_replace(): JIT compilation failed: no more memory in
  phar:///usr/local/bin/composer.phar/vendor/symfony/console/Formatter/OutputFormatter.php
  on line 36</p>
  <pre><code>Warning: preg_replace(): JIT compilation failed: no more memory in phar:///usr/local/bin/composer.phar/vendor/symfony/console/Formatter/OutputFormatter.php
  </code></pre>
  <p>on line 36</p>
  <pre><code>  [ErrorException]                                          
    preg_match_all(): JIT compilation failed: no more memory
  </code></pre>
  </blockquote>