Answer Posted / muthu
Variables in PHP declared with $ symbol immediately
followed by alphabets or underscore. We can use variables
without declaring also. But if we are accessing one
variable without assigning values, then we will get warning
messages.
For example
<?php
$a=10;
if($a==2)
$b=20;
echo $b;
?>
This will throw warning messages.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Tell me what the difference between the 'bitwise and' operator and the 'logical and' operator?
What is difference between rest and http?
What is a php 5?
What is the most convenient hashing method to be used to hash passwords?
How check variable is set or not in php?
Which software is best for php?
Explain soundex() and metaphone().
How to call a php function from another php file?
am from coimbatore.am learning php&mysql. what will be the approx salary for me if i get a job in coimbatore.
What's php?
Can a trait extend a class php?
Does php support multiple inheritances?
Is php difficult to learn?
What is repository in php?
How to change the principal password?