adspace


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 current stable version of php?

1126


How to calculate the difference between two dates using php?

1147


What does $_files means?

1166


List some features of php that are deprecated in php7?

1024


How to create a web form?

1113


What is difference between static and final in php?

1109


What is the difference between htmlentities() and htmlspecialchars()?

1094


What is trait in php?

1068


Name and explain five of the PHP error constants?

1039


Tell me what kind of things have you done on the social side?

1067


How can we extract string "pcds.co.in" from a string "https://info@pcds.co.in" using regular expression of php? More on reg can you explain

1080


Write a program using while loop?

1122


sort term descripttion form, report and uery

2254


What sized websites have you worked on in the past?

1088


hello all, I need some sample placement papers in lion bridge.. can anyone help me?

2179