How are Variables Defined in PHP?

Answer Posted / priyanka

php is a loosely typed language i.e without declaring a
variable we can use that,in this variable defined by using $
symbol for example $x

Is This Answer Correct ?    13 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how to execute a php script using command line.

537


Is php a cms?

505


When a conditional statement is ended with an endif?

505


What is new static in php?

515


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

526






Why php is widely used?

526


Describe which programming language does php parallel to?

454


What is $_ post in php?

620


How can we determine whether a php variable is an instantiated object of a certain class?

499


What is uri routing?

507


What are the __construct() and __destruct() methods in a php class?

487


Tell me how can we connect to a mysql database from a php script?

489


Explain how can we execute a php script using command line?

485


Explain what does the unset() function means?

555


What are PHP Magic Methods/Functions. List them.

530