title: Where does homebrew install PHP on Mac High Sierra?
body: <p>I'm using Mac High Sierra.  I installed PHP (with GMP) using</p>
  
  <pre><code>brew install php72-gmp
  </code></pre>
  
  <p>Everything installed successfully, per the messages given, but it would seem I still have an old version of PHP 7.1 somewhere on my machine because when I run</p>
  
  <pre><code>localhost:php-7.2.1 davea$ which php
  /usr/bin/php
  localhost:php-7.2.1 davea$ /usr/bin/php -v
  PHP 7.1.7 (cli) (built: Jul 15 2017 18:08:09) ( NTS )
  Copyright (c) 1997-2017 The PHP Group
  Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
  </code></pre>
  
  <p>So I'd like to figure out where to put the homebrew version of PHP ahead in my PATH so that that version gets picked up first.</p>