Von professionellen Übersetzern, Unternehmen, Websites und kostenlos verfügbaren Übersetzungsdatenbanken.
例 33-1creating variables with different scopes.
this is because it' s not imported into the local scope using global $global_variable; in the php source.
Letzte Aktualisierung: 2011-10-24
Nutzungshäufigkeit: 1
Qualität:
例 1a stream for reading/writing global variables
a stream for reading / writing global variables
Letzte Aktualisierung: 2011-10-24
Nutzungshäufigkeit: 1
Qualität:
an associative array of variables passed to the current script via http cookies. automatically global in any scope.
an associative array of variables passed to the current script via http cookies.
Letzte Aktualisierung: 2011-10-24
Nutzungshäufigkeit: 1
Qualität:
an associative array containing session variables available to the current script. see the session functions documentation for more information on how this is used.
an associative array containing session variables available to the current script.
Letzte Aktualisierung: 2011-10-24
Nutzungshäufigkeit: 1
Qualität:
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.
the variable names are the keys of the array.
Letzte Aktualisierung: 2011-10-24
Nutzungshäufigkeit: 1
Qualität:
when exchanging data from your own extensions with php scripts, one of the most important issues is the creation of variables. this section shows you how to deal with the variable types that php supports.
this section shows you how to deal with the variable types that php supports.
Letzte Aktualisierung: 2011-10-24
Nutzungshäufigkeit: 1
Qualität:
the variables generated with the snippet above will always be of local scope, so they reside in the context in which the function has been called. to create new variables in the global scope, use the same method but refer to another symbol table:
if you need to optimize for speed and don' t care about optimal memory usage, you can omit the check for an existing variable with the same value and instead force insertion into the symbol table by using zend_hash_update():
Letzte Aktualisierung: 2011-10-24
Nutzungshäufigkeit: 1
Qualität:
$http_cookie_vars contains the same initial information, but is not an autoglobal. (note that http_cookie_vars and $_cookie are different variables and that php handles them as such)
you don' t need to do a global $_cookie; to access it within functions or methods, as you do with $http_cookie_vars.
Letzte Aktualisierung: 2011-10-24
Nutzungshäufigkeit: 1
Qualität: