Answers

Question and Answer:

  Home  Senior PHP Programmer

⟩ How will you define a constant in PHP?

To define a constant you have to use define() function and to retrieve the value of a constant, you have to simply specifying its name. Unlike with variables, you do not need to have a constant with a $.

 189 views

More Questions for you: