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 if isset ($_ post submit )) in php?

755


What is get method in java?

742


Is null or empty c#?

716


What is the difference between htmlentities and htmlspecialchars in php?

719


Tell me how would you declare a function that receives one parameter name hello?

755


Is nan in php?

783


What is the most common http method?

784


What is php in full?

702


What is a controller in programming?

705


What is null value in php?

771


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

783


my english is not too good then what we apply for a php programer post

2301


What are php keywords?

747


Why post method is used in php?

867


Hi this is amul jani here, i complied my graduation in B.com stream.. but as career i looking for PHP language.. to get shape my career. so is that possible to enter in IT world.. for me how much scope of develop my career in this field.. amul jani

1794