cvs: peardoc /en/package/database/db-dataobject intro-purpose.xml
| From: | Alan Knowles | Date: | Wed, 10 Dec 2003 01:43:14 +0000 |
| Subject: | cvs: peardoc /en/package/database/db-dataobject intro-purpose.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-2026@lists.php.net to get a copy of this message | ||
alan_k Tue Dec 9 20:43:14 2003 EDT
Modified files:
/peardoc/en/package/database/db-dataobject intro-purpose.xml
Log:
add warning about pass by reference
Index: peardoc/en/package/database/db-dataobject/intro-purpose.xml
diff -u peardoc/en/package/database/db-dataobject/intro-purpose.xml:1.8
peardoc/en/package/database/db-dataobject/intro-purpose.xml:1.9
--- peardoc/en/package/database/db-dataobject/intro-purpose.xml:1.8 Tue Nov 11 09:30:12 2003
+++ peardoc/en/package/database/db-dataobject/intro-purpose.xml Tue Dec 9 20:43:14 2003
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.9 $ -->
<refentry id="package.database.db-dataobject.intro-purpose">
<refnamediv>
<refname>Introduction</refname>
@@ -11,10 +11,12 @@
<warning>
<para>
- If you are using the Zend Optimizer, due to a bug in the optimizer,
- you will have to either reduce the
+ Zend Optimizer: due to a bug in the optimizer, you will have to either reduce the
optimization level, or define the constant DB_DATAOBJECT_NO_OVERLOAD = 0
otherwise PHP may segfault
+ </para> <para>
+ Pass by Reference, due to a unfixable bug in PHP4, you can not use overload with
pass-by-reference arguments
+ (It works OK in PHP5), If you need pass-by-reference, define the constant
DB_DATAOBJECT_NO_OVERLOAD = 0
</para>
</warning>