Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

apc_load_constants(3) [php man page]

APC_LOAD_CONSTANTS(3)							 1						     APC_LOAD_CONSTANTS(3)

apc_load_constants - Loads a set of constants from the cache

SYNOPSIS
bool apc_load_constants (string $key, [bool $case_sensitive = true]) DESCRIPTION
Loads a set of constants from the cache. PARAMETERS
o $key - The name of the constant set (that was stored with apc_define_constants(3)) to be retrieved. o $case_sensitive - The default behaviour for constants is to be declared case-sensitive; i.e. CONSTANT and Constant represent different values. If this parameter evaluates to FALSE the constants will be declared as case-insensitive symbols. RETURN VALUES
Returns TRUE on success or FALSE on failure. EXAMPLES
Example #1 apc_load_constants(3) example <?php $constants = array( 'ONE' => 1, 'TWO' => 2, 'THREE' => 3, ); apc_define_constants('numbers', $constants); apc_load_constants('numbers'); echo ONE, TWO, THREE; ?> The above example will output: 123 SEE ALSO
apc_define_constants(3), define(3), constant(3), Or the PHP constants reference. PHP Documentation Group APC_LOAD_CONSTANTS(3)

Check Out this Related Man Page

SVN_AUTH_SET_PARAMETER(3)						 1						 SVN_AUTH_SET_PARAMETER(3)

svn_auth_set_parameter - Sets an authentication parameter

SYNOPSIS
void svn_auth_set_parameter (string $key, string $value) DESCRIPTION
Sets authentication parameter at $key to $value. For a list of valid keys and their meanings, consult the authentication constants list. PARAMETERS
o $key - String key name. Use the authentication constants defined by this extension to specify a key. o $value - String value to set to parameter at key. Format of value varies with the parameter. RETURN VALUES
No value is returned. NOTES
Warning This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk. EXAMPLES
Example #1 Default authentication example This example configures SVN so that the default username to use is 'Bob' and the default password is 'abc123': <?php svn_auth_set_parameter(SVN_AUTH_PARAM_DEFAULT_USERNAME, 'Bob'); svn_auth_set_parameter(SVN_AUTH_PARAM_DEFAULT_PASSWORD, 'abc123'); ?> SEE ALSO
svn_auth_get_parameter(3), Authentication constants. PHP Documentation Group SVN_AUTH_SET_PARAMETER(3)
Man Page