|
apc_define_constantsDefines a set of constants for retrieval and mass-definition Beschreibung
bool apc_define_constants
( string
$key
, array $constants
[, bool $case_sensitive = true
] )define is notoriously slow. Since the main benefit of APC is to increase the performance of scripts/applications, this mechanism is provided to streamline the process of mass constant definition. However, this function does not perform as well as anticipated. For a better-performing solution, try the » hidef extension from PECL.
Parameter-Liste
Rückgabewerte
Gibt bei Erfolg Beispiele
Beispiel #1 apc_define_constants example
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe: 123 |