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

What are the different tables(engine) present in mysql, which one is default?

735


What is array filter php?

718


How to get length of an array in PHP?

753


Which functions are used to remove whitespaces from the string?

915


What is data structure in php?

744


How can you get the size of an image in PHP?

741


What are the design patterns in php?

735


Do while loops?

721


What is the interface in php?

772


Tell me what should we do to be able to export data into an excel file?

741


What are the methods of array in java?

708


What type of headers have to be added in the mail function to attach a file?

737


Tell me what does the initials of php stand for?

755


How can we change the value of a constant?

724


What is == and === in php?

677