From da8700c6b5c335941e2b837033da479beb52bc6a Mon Sep 17 00:00:00 2001 From: Sean Coates Date: Sat, 3 Mar 2007 02:10:26 +0000 Subject: [PATCH] concede and link to hidef git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@231055 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/apc/functions/apc-define-constants.xml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) 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; ?> ]]>