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

Code:
<?php
$a = 123;
$b = "123";

var_dump($a !== $b); 
?>
  • (A) Error
  • (B) bool(false)
  • (C) bool(true)
  • (D) true
πŸ’¬ Discuss
βœ… Correct Answer: (C) bool(true)

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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