How are Variables Defined in PHP?

Answer Posted / master

variable r defined using the $ symbol.for ex: $x,$value etc.
u can even asign the values directly like $x=10 or $x='php';

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of php frameworks are there?

568


How is a constant defined in a PHP script?

629


Is php worth learning in 2019?

594


How we can declare variable in php?

582


What is "print" in php?

600






Does php use html?

568


How can php and html interact?

691


What is the use of extract function in php?

585


Does php support inheritance?

584


How to pass variables by references?

635


sort term descripttion form, report and uery

1767


What is php mean?

670


Explain the difference between unlink() and unset()?

616


How to add comments in php?

674


What the difference between the 'bitwise and' operator and the 'logical and' operator?

598