6 years ago in Php Variables and Syntax

Output of echo true; ?

[A] true
[B] “true”
[C] 1
[D] All of the above
Next Question

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

Overall Stats

Attempted 22
Correct 7
Incorrect 10
Viewed 5


Payal - 4 years ago

Payal from Patna, India is saying true is correct answer

Meer Afghan
Meer Afghan - 4 years ago

Meer Afghan from Islamabad, Pakistan is saying 1 is correct answer

Gunjit Kaur
Gunjit Kaur - 4 years ago

Gunjit Kaur from Mohali, India is saying 1 is correct answer

Sachin Gowda
Sachin Gowda - 4 years ago

Sachin Gowda from India is saying “true” is correct answer

Nazia Sayed
Nazia Sayed - 4 years ago

Nazia Sayed from Mumbai, India is saying 1 is correct answer

Related Questions

Select invalid constant.

  • [A] Define(‘email','test@test.com');
  • [B] Define(‘1test','test@test.com');
  • [C] Define(‘a','my first alphabet');
  • [D] All of the above

Which are invalid variable ?

  • [A] $name1
  • [B] $_name
  • [C] $1name
  • [D] All of the above

Output of the code:- echo 'This is \'my\' string';

  • [A] • This is 'my' string
  • [B] • This is \'my\' string
  • [C] • This is my string
  • [D] • None of the above

Which syntax used to Declare complex string in php ?

  • [A] Basic Syntax
  • [B] Variable Syntax
  • [C] Heredoc Syntax
  • [D] None of the above