Functions registered as
Event Handlers:
Send Both
Using function at global scope from an external (include) file :
Send Alert
The purpose of this script is to test the invocation of the alert and
confirm dialogs on the browser from the php script. It also tests the
use of 'global functions', 'callable objects' and 'event handlers'.
Last, it tests the ability to include a php script that contains the
request handler only at the time of the request.