title: Is Base64_encode() in PHP equal to java.util.Base64?
body: <p>I want to use php to pass and get a encoded string to other system which are using <code>java.util.Base64</code> to encode and decode.
  Can I use <code>base64_encode($str)</code> to encode and pass the string to them for decode in php and
  can i use <code>base62_decode($str)</code> to decode what I get from <code>java.util.Base64</code> in php?
  Or is there other way to encode and decode <code>java.util.Base64</code> string in php?</p>
  
  <p>Thanks!!</p>