How does a Web server determine whether a requested document includes PHP code?
What are the syntax and semantics of the include construct?
Which parts of PHP are case sensitive and which are not?
What are the four scalar types of PHP?
How many bytes are used to store a character in PHP?
What are the differences between single- and double-quoted literal strings?
If a variable stores a string, how can the character at a specific position in that string be referenced?
How can the type of a variable be determined?
If a string is compared with a number, what happens?
What keys are used when an array is created but no keys are specified?
Must all of the values of an array be of the same type?
Must all of the keys of an array be of the same type?
What exactly do the array_keys and array_values functions do?
Describe the actions of the next, reset, and prev functions.
What are the syntax and semantics of the two forms of the foreach statement?
Describe the result of using the sort function on an array that has both string and numeric values.
What is the difference betweeen the sort and asort functions?
What happens if a script defines the same function more than once?
Are function names case sensitive?
What value is returned by a function if its execution does not end by executing a return statement?
What are the two ways you can specify that a parameter is to be passed by reference?
How can a variable used outside a function be accessed by the function?
How can you define a variable in a function so that its lifetime extends beyond the time the function is in its first execution?
How can the value of a form element be accessed by a PHP script?
Write function to sum two arguments and return value in PHP?
Write an example of foreach loop using PHP code?
Declare Global scope variable and explain use of global keyword with example?
Write code for comments in PHP language?
In what two ways can arrays in PHP to be created.
Write an example of foreach loop using PHP code?
Explain the purpose following string functions with examples in PHP: strlen, strrev, strops, str_replace
Write an example of foreach loop using PHP code?
Specify the PHP code to create an array with following items: garlic, pepper, salt, chilli and write code to display array values?
Write html code to display following FORM and also write PHP code to connect with database and store date in database? Click here to view image
Write html code to display following FORM; PHP code to connect with database and store date in database and also code to select data from MySQL table using PHP. Click here to view image
What will be the output of the following code?
<?php
function track() { static $count = 0; $count++; echo $count; }
track(); track(); track(); ?>