Sr. PHP Programmer Question:
Download Questions PDF

How do you define a constant?

Answer:

Using define() directive, like define ("MYCONSTANT",150)

Download Senior PHP Programmer Interview Questions And Answers PDF

Previous QuestionNext Question
How to find the length of a string?What are the encryption techniques in PHP?