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
What is csrf token and why it is required?
Code to upload a file in PHP?
What is get method in java?
Which operator is used to concatenate two strings in PHP?
iam mca post graduate in 2010 not getting job in JAVA so iam looking for carear in php as market demand is high so it is best option to try for php or not
Is nan in javascript?
What is the integer?
How can we change the value of a constant?
Which php mvc framework is best?
What is a PHP Filter?
How we get ip address of client, previous reference page etc?
What are the advantages of indexes in php?
What is the difference between characters 34 and x34?
What is the difference between runtime exception and compile time exception?
List functions available to sort an php array?