title: Array sorting and reversing behaviour
body: <p>I've found that when using the sort() function, I can use it like so:</p>
  
  <pre><code>sort($myArray);
  </code></pre>
  
  <p>and <code>$myArray</code> is sorted. But when I use array_reverse like this:</p>
  
  <pre><code>array_reverse($myArray);
  </code></pre>
  
  <p>The array is not reversed. To get it to work I have to do this:</p>
  
  <pre><code>$myArray = array_reverse($myArray);
  </code></pre>
  
  <p>And people have posted problems before wondering why their array_reverse wasn't working and it was because of this.</p>
  
  <p>I was wondering, why do these two functions behave differently (does it have to do with passing by reference), and wouldn't php try to standardize?</p>