what are the rules to be followed at the time of declaring
a variable?,what is the purpose of var_dump()function in
php,syntax of ternary operator()in php,difference between
drop a table and truncate a table...

Answer Posted / priti raj

Variables should starts from _ or alphabets(a-z).
var_dump() prints the array with the datatype also.
syntex of ternary operator() is like
(condition)?'act1':'act2' ;

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the default session time in php?

725


What is $globals php?

754


How do you pass a variable by value in php?

725


What is the difference between explode and split?

698


Is php easier than javascript?

744


Is php a strongly typed language?

756


Which is the correct way to check if a session has already been started ?

751


What would occur if a fatal error was thrown in your php program?

732


What are string functions?

679


How is it possible to return a value from a function?

756


What is mysql_fetch_row?

767


What is the difference between characters  and #?

744


How can we increase execution time of a php script?

680


What are the uses of explode() and implode() functions?

753


How to check your php installation?

729