title: Why PHP's md5 is different from OpenSSL's md5?
body: <p>I am quite confused as to why I am seeing different results for md5 hashing in PHP and in OpenSSL.</p>
  
  <p>Here is the code that I am running:</p>
  
  <pre><code>php -r "echo md5('abc');"
  </code></pre>
  
  <p>Results in: 900150983cd24fb0d6963f7d28e17f72</p>
  
  <p>While this:</p>
  
  <pre><code>echo abc | openssl md5
  </code></pre>
  
  <p>Results in: 0bee89b07a248e27c83fc3d5951213c1</p>
  
  <p>Why?</p>