<?php // your code goes here$str = base64_encode('hs_newMP:HS_qwe123');var_dump($str);
Standard input is empty
string(24) "aHNfbmV3TVA6SFNfcXdlMTIz"
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!