6 years ago in PHP Operators

What is the output of below code.

<?php
$x = 1;
$y = "1";
var_dump($x === $y);
?>

[A] bool(false)
[B] bool(true)
[C] bool()
[D] None of the above
Loading...
Next Question

Create your Digital Resume For FREE on your name's sub domain "yourname.wcard.io". Register Here!


Overall Stats

Attempted 52
Correct 18
Incorrect 17
Viewed 17

Answers

Guest
Guest
sana ullah
sana ullah - 1 year ago

sana ullah from Karachi, Pakistan is saying bool(true) is correct answer

Shamsa hafeez
Shamsa hafeez - 1 year ago

Shamsa hafeez from Lahore, Pakistan is saying bool(false) is correct answer

Dhanashree Shinde
Dhanashree Shinde - 1 year ago

Dhanashree Shinde from Pune, India is saying bool(true) is correct answer

Dhanashri Bhuyar
Dhanashri Bhuyar - 1 year ago

Dhanashri Bhuyar from Mumbai, India is saying bool(false) is correct answer

ayoub benigmim
ayoub benigmim - 1 year ago

ayoub benigmim from Casablanca, Morocco is saying bool(false) is correct answer

Related Questions

Which operator is used for class instance php

  • [A] Logical Operator
  • [B] Array Operator
  • [C] Type Operator
  • [D] None of the above

How we can do Pre-Increment of a Variable?

  • [A] $a++
  • [B] $a+$a
  • [C] ++$a
  • [D] None of above

Which of the following is PHP Logical Operator?

  • [A] AND
  • [B] OR
  • [C] XOR
  • [D] ALL of the above

Which operator is used for compare two values?

  • [A] Assignment Operator
  • [B] Bitwise Operator
  • [C] Arithmetic Operators
  • [D] Comparison Operators