anaeli5392 anaeli5392
  • 07-08-2019
  • Computers and Technology
contestada

Accepted identifier for a variable in PHP except:

Select one:

a. $_Puihaha

b. & Puihaha

c. $Pui_haha

d. $Puihaha

Respuesta :

Branta Branta
  • 12-08-2019

Answer:

b. & Puihaha

Explanation:

PHP variables are supposed to start with a $ sign.

Other rules followed by PHP variables are:

Starting character in variable name (after $) must be letter or _.

Other characters in variable names can be letters,numbers or _.

a. $_Puihaha

c. $Pui_haha

d. $Puihaha

satisfy these rules.

Whereas , b. & Puihaha does not satisfy as it starts with '&'. Moreover it also contains an invalid space character in the variable.

Answer Link

Otras preguntas

When you create dialogue, what must you give each new speaker? Beginning tagline New paragraph Comma Ellipsis
what is a even number between 10 and 20
i need to know the anserws
Please help! What does implementing mean?
Which statement BEST describes St. Thomas Aquinas's opinion of Aristotle? Aristotle's ideas are dangerous because he was a pagan philosopher. Aristotle's logic
which of the following ordered pair is a solution of x + 1/2y = 1
You must obey any special signs or instructions as you pass a construction zone , true or false?
Describe how Spain used missions and presidios to establish colonies
What are two characteristics of the realistic novel?
The Forbidden City was given its name because A) it was the home of the emperor and his family. B) it was surrounded by a stone wall twenty-five feet high. C)