Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $binary_value = pack("C*",10);
- $hex_value = 0xFFFFFFFF;
- echo $hex_value ^ $binary_value
- $hex_value ^ (int)$binary_value;
- $hex_value ^ intval($binary_value);
- $hex_value ^ bin2hex($binary_value);
- $hex_value ^ bindec($binary_value);
- $hex_value ^ intval(bin2hex($binary_value));
- $hex_value ^ base_convert($int, 2, 16)
- $hex_value ^ ord($binary_value);
Add Comment
Please, Sign In to add comment