session_register()
session_register - Register one or more global variables with the current session
Syntax
bool session_register (
mixed $name,
mixed $...)
Arguments
- name - A string holding the name of a variable or an array consisting of variable names or other arrays.
- ...
Description
session_register() accepts a variable number of arguments, any of which can be either a string holding the name of a variable or an array consisting of variable names or other arrays. For each name, session_register() registers the global variable with that name in the current session.
Version
PHP 4, 5
Return value
Returns TRUE on success or FALSE on failure.