5 years ago in Php Variables and Syntax

Which syntax used to Declare complex string in php ?

[A] Basic Syntax
[B] Variable Syntax
[C] Heredoc Syntax
[D] None of the above
Loading...
Next Question

Overall Stats

Attempted 40
Correct 9
Incorrect 19
Viewed 12

Answers

Guest
Guest
Shamsa hafeez
Shamsa hafeez - 6 days ago

Shamsa hafeez from Lahore, Pakistan is saying Heredoc Syntax is correct answer

Dhanashri Bhuyar
Dhanashri Bhuyar - 1 month ago

Dhanashri Bhuyar from Mumbai, India is saying Heredoc Syntax is correct answer

ayoub benigmim
ayoub benigmim - 1 month ago

ayoub benigmim from Casablanca, Morocco is saying None of the above is correct answer

AHMED SOULIMANI
AHMED SOULIMANI - 1 month ago

AHMED SOULIMANI from Casablanca, Morocco is saying None of the above is correct answer

Samir Pawar
Samir Pawar - 8 months ago

Samir Pawar from Pune, India is saying Variable Syntax 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

Output of this Code

  • [A] So I said, “Hello World”
  • [B] So I said, "Hello $who"
  • [C] TEXT So I said, "Hello $who" TEXT
  • [D] None of the above

How to declare a string variable in php?

  • [A] string str = “abc”;
  • [B] var string = “abc”;
  • [C] $str = “abc”;
  • [D] None of the above

Output of echo (int) ((0.1 + 0.7) * 10);

  • [A] 7
  • [B] 8
  • [C] 8.0
  • [D] None of the above

$a = 10; $b = $a; $b = 20; Result of echo $a;

  • [A] 10
  • [B] 20
  • [C] 30
  • [D] None of the above