fork download
  1. <?php
  2.  
  3. // your code goes here
  4. $str = base64_encode('hs_newMP:HS_qwe123');
  5. var_dump($str);
Success #stdin #stdout 0.03s 25288KB
stdin
Standard input is empty
stdout
string(24) "aHNfbmV3TVA6SFNfcXdlMTIz"