Q. What will be the output of the following PHP code?
Code:<?php
$str = "mcqbuddy";
echo pack("H*",bin2hex($str));
?>
β
Correct Answer: (B)
mcqbuddy
<?php
$str = "mcqbuddy";
echo pack("H*",bin2hex($str));
?>
You must be Logged in to update hint/solution