title: Why rtrim remove trailing zeros?
body: <p>I to want trim <code>(+06)</code> from <code>12:00 (+06)</code>. So, I have used rtrim. I expect it returns me <code>12:00</code> but it actually returns <code>12:</code></p>
  
  <pre class="lang-js prettyprint-override"><code>&lt;?php
    $str = "12:00 (+06)";
    echo rtrim($str," (+06)");
  ?&gt;
  </code></pre>
  
  
  
  <p>Can anyone help me out.</p>