Q. What will be the output of the following PHP code?

Code:
<?php
$str = "mcqbuddy";
echo pack("H*",bin2hex($str));
?>
  • (A) 496e636c75646568656c70
  • (B) mcqbuddy
  • (C) 496e636c75646568656c70mcqbuddy
  • (D) mcqbuddy496e636c75646568656c70
πŸ’¬ Discuss
βœ… Correct Answer: (B) mcqbuddy

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
77928
Total Visits
πŸ“½οΈ
5 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
87%
Success Rate