PHP bin2hex() May 21, 2012 Pramod T P It convert binary data into hexadecimal representation Example <?php echo bin2hex(“phpcode”); ?> Output 706870636f6465 Share this: Share on X (Opens in new window) X Share on Facebook (Opens in new window) Facebook Like Loading...