Which of the following is the correct way of defining a variable in PHP?

Question:Which of the following is the correct way of defining a variable in PHP?

1.$variable name = value;

2.$variable_name = value;

3.$variable_name = value

4.$variable name as value;


Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!