equivalent code for the following c program in php
void main()
{
int i=5;printf("%d",i);
}
Answers were Sorted based on User's Feedback
What is the function file_get_contents() usefull for?
What does the scope of variables means?
What is inheritance in php? How many types of inheritance supports php?
Explain the difference between urlencode and urldecode?
What are the different methods of passing data or information between two calls of a web page? What are the advantages/disadvantages of these methods?
Can php replace javascript?
when we select some checkboxes and we went for next page if we came back to prevoius page the selcted checkboxe should be checked
How to call a php function from another php file?
Which is the correct way to check if a session has already been started ?
What are the data types in php?
This is regarding file uploading. 1. Who will be the owner of the uploaded file ? 2. What permission you will give for an uploaded file ? 3. What is mean by user, group and others and what kind of permission you will give for each user and explain the reason?
Tell me what is the use of mysql_real_escape_string() function?