How are variables declared in php?



How are variables declared in php?..

Answer / Ravi Prakash Srivastava

In PHP, you can declare a variable by assigning a value to it. For example: $myVariable = 'some value';

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

What is the difference between apache and tomcat?

1 Answers  


why did u want to leave your past organisation?

1 Answers  


When do you use define() and when do you use const. What are the main differences between those two?

1 Answers  


How to check whether a number is prime or not?

1 Answers  


What is purpose of @ in Php?

1 Answers  


how many type of url?

1 Answers  


What is trim function in php?

1 Answers  


How to remove duplicate values from a PHP Array?

1 Answers  


What are the advantages of triggers?

1 Answers  


What is json php?

1 Answers  


Do you know when sessions ends?

1 Answers  


How can you create a session in php?

1 Answers  


Categories