Sr. PHP Programmer Question:
Download Questions PDF

Tell me how to declare an array in php?

Answer:

Eg : var $arr = array('apple', 'grape', 'lemon');

Download Senior PHP Programmer Interview Questions And Answers PDF

Previous QuestionNext Question
What is the purpose of $GLOBALS variable in PHP?How to execute an sql query? How to fetch its result?