I have a code like this:
CONVERT(binary, 'Hello World!')
Is it possible to convert that into pure php code?
This trick didn't work:
$data = (binary) 'Hello World!';
I want the output similar to this:
0x316B646A666762663100000000
I have a code like this:
CONVERT(binary, 'Hello World!')
Is it possible to convert that into pure php code?
This trick didn't work:
$data = (binary) 'Hello World!';
I want the output similar to this:
0x316B646A666762663100000000