How are Variables Defined in PHP?

Answer Posted / srinivas1982

Variables in PHP declared with $ symbol. ex: $x.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to display table of a number using php?

692


How to create a table using php?

777


What is a closure in php?

788


Which Scripting Engine PHP uses?

813


What is binary safe string?

749


Does wordpress run on php 7?

716


What is the correct line to use within the php.ini file, to specify that 128mb would be the maximum amount of memory that a script may use?

796


What is session in c#?

747


How can you execute php script from the command line?

758


What is a stored procedure in mysql?

816


What is difference between compile time and run time polymorphism?

765


How to find a specific value in an array?

693


Tell me what is the difference between the functions strstr() and stristr()?

775


How can you associate a variable with a session?

800


What is input sanitization in php?

746