title: php resolve bash alias pointing to script
body: <p>I am interested in having a bunch of aliases setup that point to a particular script. An example would be:</p>
  
  <pre><code>alias foo='php test.php'
  alias bar='php test.php'
  </code></pre>
  
  <p>in <code>test.php</code>, I want to be able to access <code>$args[0]</code> and have it read <code>foo</code> and <code>bar</code> respectively. Currently as it stands, <code>$args[0]</code> would be <code>test.php</code>. </p>
  
  <p>Is there a way around this in PHP 5.5.x?</p>