5 years ago in Php Variables and Syntax

Which are invalid variable ?

[A] $name1
[B] $_name
[C] $1name
[D] All of the above
Loading...
Next Question

Overall Stats

Attempted 62
Correct 30
Incorrect 13
Viewed 19

Answers

Guest
Guest
Shamsa hafeez
Shamsa hafeez - 6 days ago

Shamsa hafeez from Lahore, Pakistan is saying $1name is correct answer

Dhanashri Bhuyar
Dhanashri Bhuyar - 1 month ago

Dhanashri Bhuyar from Mumbai, India is saying $1name is correct answer

ayoub benigmim
ayoub benigmim - 1 month ago

ayoub benigmim from Casablanca, Morocco is saying $1name is correct answer

Souad El
Souad El - 1 month ago

Souad El from Casablanca, Morocco is saying $1name is correct answer

AHMED SOULIMANI
AHMED SOULIMANI - 1 month ago

AHMED SOULIMANI from Casablanca, Morocco is saying $1name is correct answer

Related Questions

Output of this code echo "Here a literal brace + dollar sign: {\$";

  • [A] Here a literal brace + dollar sign: {\$
  • [B] Here a literal brace + dollar sign: \$
  • [C] Here a literal brace + dollar sign: {
  • [D] None 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

How to define constant in php ?

  • [A] $
  • [B] define
  • [C] #define
  • [D] All of the above

Output of the code.

  • [A] Hello $who
  • [B] Hello World
  • [C] 'Hello World'
  • [D] None of the above