How does php convert a string to hexadecimal and vice versa?

how does php convert a string to hexadecimal and vice versa?

below is part of the content I want to transcode
"x63x6fx6ex73x6fx6cx65"
" _ 0x2b98d0"

Nov.25,2021

bin2hex () hex2bin () PHP manual

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e50e41-450e3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e50e41-450e3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?