Re: cvs: phpdoc /en/functions cpdf.xml dba.xml /en/language functions.xml references.xml types.xml /en/reference/array/functions
array-udiff-assoc.xml array-udiff-uassoc.xml array-udiff.xml /en/reference/dba reference.xml /en/reference/fdf/functions fdf-open-string.xml
fdf-open.xml /en/reference/ftp/functions ftp-alloc.xml ftp-nb-get.xml /en/reference/hwapi/functions hwapi-object.xml /en/reference/ifx/functions
ifx-affected-rows.xml ifx-close.xml ifx-fetch-row.xml ifx-fieldproperties.xml ifx-fieldtypes.xml ifx-getsqlca.xml ifx-htmltbl-result.xml ifx-query.xml
/en/reference/image/functions imagegif.xml /en/reference/ingres-ii/functions ingres-fetch-array.xml /en/reference/ming/functions swfaction.xml
/en/reference/mysql/functions mysql-list-fields.xml mysql-result.xml /en/reference/mysqli/functions mysqli-affected-rows.xml mysqli-bind-param.xml
mysqli-data-seek.xml /en/reference/ncurses/functions ncurses-getmouse.xml /en/reference/nis/functions yp-next.xml /en/reference/objaggregation
reference.xml /en/reference/oci8/functions ocistatementtype.xml /en/reference/openssl/functions openssl-pkcs7-sign.xml
/en/reference/ovrimos/functions ovrimos-result-all.xml /en/reference/sesam/functions sesam-affected-rows.xml sesam-connect.xml sesam-disconnect.xml
sesam-fetch-array.xml sesam-fetch-row.xml sesam-query.xml /en/reference/sqlite/functions sqlite-create-aggregate.xml sqlite-udf-decode-binary.xml
/en/reference/stream/functions stream-select.xml /en/reference/strings/functions soundex.xml /en/reference/yaz/functions yaz-ccl-parse.xml

From: Date: Thu, 11 Dec 2003 16:39:00 +0000
Subject: Re: cvs: phpdoc /en/functions cpdf.xml dba.xml /en/language functions.xml references.xml types.xml /en/reference/array/functions
array-udiff-assoc.xml array-udiff-uassoc.xml array-udiff.xml /en/reference/dba reference.xml /en/reference/fdf/functions fdf-open-string.xml
fdf-open.xml /en/reference/ftp/functions ftp-alloc.xml ftp-nb-get.xml /en/reference/hwapi/functions hwapi-object.xml /en/reference/ifx/functions
ifx-affected-rows.xml ifx-close.xml ifx-fetch-row.xml ifx-fieldproperties.xml ifx-fieldtypes.xml ifx-getsqlca.xml ifx-htmltbl-result.xml ifx-query.xml
/en/reference/image/functions imagegif.xml /en/reference/ingres-ii/functions ingres-fetch-array.xml /en/reference/ming/functions swfaction.xml
/en/reference/mysql/functions mysql-list-fields.xml mysql-result.xml /en/reference/mysqli/functions mysqli-affected-rows.xml mysqli-bind-param.xml
mysqli-data-seek.xml /en/reference/ncurses/functions ncurses-getmouse.xml /en/reference/nis/functions yp-next.xml /en/reference/objaggregation
reference.xml /en/reference/oci8/functions ocistatementtype.xml /en/reference/openssl/functions openssl-pkcs7-sign.xml
/en/reference/ovrimos/functions ovrimos-result-all.xml /en/reference/sesam/functions sesam-affected-rows.xml sesam-connect.xml sesam-disconnect.xml
sesam-fetch-array.xml sesam-fetch-row.xml sesam-query.xml /en/reference/sqlite/functions sqlite-create-aggregate.xml sqlite-udf-decode-binary.xml
/en/reference/stream/functions stream-select.xml /en/reference/strings/functions soundex.xml /en/reference/yaz/functions yaz-ccl-parse.xml
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969357380@lists.php.net to get a copy of this message
<!-- splitted from ./en/functions/array.xml, last change in rev 1.14 --> <refentry id="function.array-udiff-assoc">
    <refnamediv>
@@ -33,11 +33,11 @@ <![CDATA[ <?php class cr {
-    private $priv_member;
-        function cr($val) {
+    var $priv_member;
+    function cr($val) {
         $this->priv_member = $val;
     }
-    static function comp_func_cr($a, $b) {
+    function comp_func_cr($a, $b) {
         if ($a->priv_member === $b->priv_member) return 0;
         return ($a->priv_member > $b->priv_member)? 1:-1;
     }
Seems like you have reused your syntax highlighter script to check the syntax of examples, and corrected many errors. The above fix (and some other similar fixes) have not been neccessary however, since these functions will only be available with PHP 5 (AFAIK). So the examples are valid PHP 5 examples... Other corrections seem to be fine... Goba

« previous php.doc (#969357380) next »