diff --git a/reference/apc/functions/apc-define-constants.xml b/reference/apc/functions/apc-define-constants.xml index ccee7f1040..30b459ca38 100644 --- a/reference/apc/functions/apc-define-constants.xml +++ b/reference/apc/functions/apc-define-constants.xml @@ -1,10 +1,10 @@ - + apc_define_constants - Defines a set of constants for later retrieval and mass-definition + Defines a set of constants for retrieval and mass-definition @@ -19,7 +19,13 @@ 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. + 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. @@ -92,7 +98,6 @@ $constants = array( 'THREE' => 3, ); apc_define_constants('numbers', $constants); -apc_load_constants('numbers'); echo ONE, TWO, THREE; ?> ]]>