PHP Syntax
1. Write text to the output using PHP
2. Write the program to check keywords, functions and user-defined functions are not case sensitive.
3. Variable names are case sensitive.
PHP Variables
4. Create different variables.
5. Test global scope(variable outside function)
6. Test local scope(variable inside function)
7. Use the global keyword to access a global variable from within a function
8. Use the $GLOBALS[ ] array to access a global variable from within a function
9. Use the static keyword to let a local variable not be declared after execution
PHP Echo and Print
10. Display strings with the echo command
11. Display strings and variables with the echo command
12. Display strings with the print command
13. Display strings and variables with the print command
PHP Constants
14. program to demonastrate Case-sensitive constant name
15. program to demonastrate Case-insensitive constant name
16. Create a Array constant with define()
17. Use a constant inside a function (when it is defined outside the function)
PHP $ and $$
18. program to demonastrate the $ and $$.
19. program to demonastrate the $ and $$.
20. program to demonastrate the $ and $$.