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
How many types of errors in php?
Explain which cryptographic extension provide generation and verification of digital signatures?
Explain do you use composer? If yes, what benefits have you found in it?
How do I clear my browser session?
Which function is used in php to count the total number of rows returned by any query?
How to add comments in php?
What are the encryption functions available in PHP?
I am trying to assign a variable the value of 0123, but it keeps coming up with a different number, what is the problem?
Can I use php in html?
What is session expiry?
What is the php function that removes the last element of the array and returns it?
What type of language is php?
What happens when submit button is clicked?
What is binary safe string?
How do I escape data before storing it in the database?