PHP Function List
register_global doesn't exist. Closest matches:
- runkit_superglobals
- regexiterator
- printer_close
- header_register_callback
- ibase_blob_cancel
- xpath_register_ns
- isinternal
- ibase_blob_add
- register_tick_function
- xpath_register_ns_auto
- easter_days
- preg_filter
- easter_date
- ifx_create_blob
- cubrid_send_glo
- stream_is_local
- preg_last_error
- ifxus_tell_slob
- stream_register_wrapper
- is_float
Site Search Results
-
Beware that all the solutions given in the comments below for emulating register_global being off are bogus, because they can destroy predefined variables you should not unset. For example, suppose that you have
-
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 ...
-
stream_register_wrapper - Manualstream_register_wrapper() 允许用户实现自定义的协议处理器和流,用于所有其它的文件系统函数中 ... stream_wrapper_register ('global', 'GlobalStream') or die('Failed to register protocol global://'); $myvar =
-
Description of core php.ini directives - Manualregister_globals boolean Whether or not to register the EGPCS (Environment, GET, POST, Cookie, Server) variables as global variables. As of » PHP 4.2.0, this directive defaults to off.
-
register_globals, magic_quotes_gpc and others. ]]] Many settings, although they do get set, have no influence in your script.... like upload_max_filesize will get set but uploaded files are already passed to your PHP script before the settings are changed.
-
stream_wrapper_register - Manualstream_wrapper_register ('global', 'GlobalStream') or die('Failed to register protocol global://'); $myvar = ""; $fp = fopen ("global://myvar", "r+"); fwrite ($fp, "line1\n"); fwrite ($fp, "line2\n"); fwrite ($fp, "line3\n");
-
In PHP 4.2.0 and later, the default value for the PHP directive register_globals is off. This is a major change in PHP. Having register_globals off affects the set of predefined variables available in the global scope.
-
$_SESSION ['v1'][1] = 'cake'; // works?> I imagine this is an internal limitation having to do with the legacy function session_register(), where the registered global var must similarly have a valid name.
-
Description An associative array containing references to all variables which are currently defined in the global scope of the script. The variable names are the keys of the array.
-
register_shutdown_function - ManualMultiple calls to register_shutdown_function() can be made, and each will be called in the same order as they were registered. ... All you need to do is to create a global variable such as: $IamaChild = [TRUE | FALSE]; and have your shutdown function check the ...

Other forms of search
To search the string "register_global" using other options, try searching:
- Only the documentation
- Only this mirror
- The entire php.net domain
- pear.php.net
- pecl.php.net
- The Bug DB
- php-general mailing list
- Internals mailing list
- Documentation mailing list
For a quick overview over all documented PHP functions, click here.
