Demo
What is this all about? (Read the Manual)
Klick on one of the following buttons to display some variables.
The following variables should then be displayed:
From the global scope
- $_POST - array, should be filled when using POST method, otherwise empty.
- $_GET - array, should be filled when using GET method, otherwise empty.
- $_SESSION - array, should be filled with an array.
- $emptyone - string, left intentionaly empty.
- $notsetone - variable which has not been set.
- $intone - an integer.
- $mydir - string, whith a directory path.
- $myfile - a stream file resource.
- $myobject - an object
From the local scope
- $myfunc - a string
- $myfunc2 - a string