sean Sat Mar 3 02:10:26 2007 UTC
Modified files:
/phpdoc/en/reference/apc/functions apc-define-constants.xml
Log:
concede and link to hidef
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/apc/functions/apc-define-constants.xml?r1=1.2&r2=1.3&diff_format=u
Index: phpdoc/en/reference/apc/functions/apc-define-constants.xml
diff -u phpdoc/en/reference/apc/functions/apc-define-constants.xml:1.2
phpdoc/en/reference/apc/functions/apc-define-constants.xml:1.3
--- phpdoc/en/reference/apc/functions/apc-define-constants.xml:1.2 Fri Aug
19 15:11:25 2005
+++ phpdoc/en/reference/apc/functions/apc-define-constants.xml Sat Mar 3
02:10:26 2007
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<refentry id="function.apc-define-constants">
<refnamediv>
<refname>apc_define_constants</refname>
<refpurpose>
- Defines a set of constants for later retrieval and mass-definition
+ Defines a set of constants for retrieval and mass-definition
</refpurpose>
</refnamediv>
<refsect1 role="description">
@@ -19,7 +19,13 @@
<para>
<function>define</function> 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.
+ </para>
+
+ <para>
+ For a better-performing solution, try the
+ <ulink url="&url.pecl.package;hidef">hidef</ulink> extension from PECL.
</para>
<note>
@@ -92,7 +98,6 @@
'THREE' => 3,
);
apc_define_constants('numbers', $constants);
-apc_load_constants('numbers');
echo ONE, TWO, THREE;
?>
]]>