vrana Thu Dec 11 10:42:11 2003 EDT
Modified files: /phpdoc/en/reference/array/functions array-udiff-assoc.xml array-udiff-uassoc.xml array-udiff.xml /phpdoc/en/functions cpdf.xml dba.xml /phpdoc/en/reference/strings/functions soundex.xml /phpdoc/en/reference/fdf/functions fdf-open-string.xml fdf-open.xml /phpdoc/en/reference/ftp/functions ftp-alloc.xml ftp-nb-get.xml /phpdoc/en/language functions.xml references.xml types.xml /phpdoc/en/reference/hwapi/functions hwapi-object.xml /phpdoc/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 /phpdoc/en/reference/image/functions imagegif.xml /phpdoc/en/reference/ingres-ii/functions ingres-fetch-array.xml /phpdoc/en/reference/mysql/functions mysql-list-fields.xml mysql-result.xml /phpdoc/en/reference/mysqli/functions mysqli-affected-rows.xml mysqli-bind-param.xml mysqli-data-seek.xml /phpdoc/en/reference/ncurses/functions ncurses-getmouse.xml /phpdoc/en/reference/oci8/functions ocistatementtype.xml /phpdoc/en/reference/openssl/functions openssl-pkcs7-sign.xml /phpdoc/en/reference/ovrimos/functions ovrimos-result-all.xml /phpdoc/en/reference/dba reference.xml /phpdoc/en/reference/objaggregation reference.xml /phpdoc/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 /phpdoc/en/reference/sqlite/functions sqlite-create-aggregate.xml sqlite-udf-decode-binary.xml /phpdoc/en/reference/stream/functions stream-select.xml /phpdoc/en/reference/ming/functions swfaction.xml /phpdoc/en/reference/yaz/functions yaz-ccl-parse.xml /phpdoc/en/reference/nis/functions yp-next.xml Log: All syntax errors in examples hunted except those clearly stated as invalid
Index: phpdoc/en/reference/array/functions/array-udiff-assoc.xml diff -u phpdoc/en/reference/array/functions/array-udiff-assoc.xml:1.2 phpdoc/en/reference/array/functions/array-udiff-assoc.xml:1.3 --- phpdoc/en/reference/array/functions/array-udiff-assoc.xml:1.2 Mon Nov 3 09:05:07 2003 +++ phpdoc/en/reference/array/functions/array-udiff-assoc.xml Thu Dec 11 10:41:53 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <!-- 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; } Index: phpdoc/en/reference/array/functions/array-udiff-uassoc.xml diff -u phpdoc/en/reference/array/functions/array-udiff-uassoc.xml:1.5 phpdoc/en/reference/array/functions/array-udiff-uassoc.xml:1.6 --- phpdoc/en/reference/array/functions/array-udiff-uassoc.xml:1.5 Tue Nov 4 12:28:10 2003 +++ phpdoc/en/reference/array/functions/array-udiff-uassoc.xml Thu Dec 11 10:41:53 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/array.xml, last change in rev 1.14 --> <refentry id="function.array-udiff-uassoc"> <refnamediv> @@ -38,15 +38,15 @@ <![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; } - static function comp_func_key($a, $b) { + function comp_func_key($a, $b) { if ($a === $b) return 0; return ($a > $b)? 1:-1; } Index: phpdoc/en/reference/array/functions/array-udiff.xml diff -u phpdoc/en/reference/array/functions/array-udiff.xml:1.2 phpdoc/en/reference/array/functions/array-udiff.xml:1.3 --- phpdoc/en/reference/array/functions/array-udiff.xml:1.2 Mon Nov 3 09:05:07 2003 +++ phpdoc/en/reference/array/functions/array-udiff.xml Thu Dec 11 10:41:53 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <!-- splitted from ./en/functions/array.xml, last change in rev 1.14 --> <refentry id="function.array-udiff"> <refnamediv> @@ -20,7 +20,7 @@ containing all the values of <parameter>array1</parameter> that are not present in any of the other arguments. Note that keys are preserved. For the comparison of the data - <parameter>data_compare_function</parameter> is used. + <parameter>data_compare_func</parameter> is used. It must return an integer less than, equal to, or greater than zero if the first argument is considered to be respectively less than, equal to, or greater than the @@ -34,11 +34,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; } Index: phpdoc/en/functions/cpdf.xml diff -u phpdoc/en/functions/cpdf.xml:1.41 phpdoc/en/functions/cpdf.xml:1.42 --- phpdoc/en/functions/cpdf.xml:1.41 Wed Apr 17 15:58:42 2002 +++ phpdoc/en/functions/cpdf.xml Thu Dec 11 10:41:54 2003 @@ -8,7 +8,7 @@ instead --> <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.41 $ --> +<!-- $Revision: 1.42 $ --> <reference id="ref.cpdf"> <title>ClibPDF functions</title> <titleabbrev>ClibPDF</titleabbrev> @@ -122,7 +122,7 @@ /* minute strokes */ cpdf_setlinewidth($pdf, 2.0); - for ($alpha = 0; $alpha < 360; $alpha += 6) + for ($alpha = 0; $alpha < 360; $alpha += 6) { cpdf_rotate($pdf, 6.0); cpdf_moveto($pdf, $radius, 0.0); @@ -135,7 +135,7 @@ /* 5 minute strokes */ cpdf_setlinewidth($pdf, 3.0); - for ($alpha = 0; $alpha < 360; $alpha += 30) + for ($alpha = 0; $alpha < 360; $alpha += 30) { cpdf_rotate($pdf, 30.0); cpdf_moveto($pdf, $radius, 0.0); Index: phpdoc/en/functions/dba.xml diff -u phpdoc/en/functions/dba.xml:1.20 phpdoc/en/functions/dba.xml:1.21 --- phpdoc/en/functions/dba.xml:1.20 Wed Apr 17 15:58:42 2002 +++ phpdoc/en/functions/dba.xml Thu Dec 11 10:41:54 2003 @@ -8,7 +8,7 @@ instead --> <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.20 $ --> +<!-- $Revision: 1.21 $ --> <reference id="ref.dba"> <title>Database (dbm-style) abstraction layer functions</title> <titleabbrev>dba</titleabbrev> @@ -166,7 +166,7 @@ $key = dba_firstkey ($id); while ($key != false) { - if (...) { # remember the key to perform some action later + if (true) { # remember the key to perform some action later $handle_later[] = $key; } $key = dba_nextkey ($id); Index: phpdoc/en/reference/strings/functions/soundex.xml diff -u phpdoc/en/reference/strings/functions/soundex.xml:1.3 phpdoc/en/reference/strings/functions/soundex.xml:1.4 --- phpdoc/en/reference/strings/functions/soundex.xml:1.3 Fri May 30 12:47:59 2003 +++ phpdoc/en/reference/strings/functions/soundex.xml Thu Dec 11 10:41:55 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 --> <refentry id="function.soundex"> <refnamediv> @@ -33,12 +33,12 @@ <programlisting role="php"> <![CDATA[ <?php -soundex("Euler") == soundex("Ellery") == 'E460'; -soundex("Gauss") == soundex("Ghosh") == 'G200'; -soundex("Hilbert") == soundex("Heilbronn") == 'H416'; -soundex("Knuth") == soundex("Kant") == 'K530'; -soundex("Lloyd") == soundex("Ladd") == 'L300'; -soundex("Lukasiewicz") == soundex("Lissajous") == 'L222'; +soundex("Euler") == soundex("Ellery"); // E460 +soundex("Gauss") == soundex("Ghosh"); // G200 +soundex("Hilbert") == soundex("Heilbronn"); // H416 +soundex("Knuth") == soundex("Kant"); // K530 +soundex("Lloyd") == soundex("Ladd"); // L300 +soundex("Lukasiewicz") == soundex("Lissajous"); // L222 ?> ]]> </programlisting> Index: phpdoc/en/reference/fdf/functions/fdf-open-string.xml diff -u phpdoc/en/reference/fdf/functions/fdf-open-string.xml:1.3 phpdoc/en/reference/fdf/functions/fdf-open-string.xml:1.4 --- phpdoc/en/reference/fdf/functions/fdf-open-string.xml:1.3 Sat Aug 16 13:06:53 2003 +++ phpdoc/en/reference/fdf/functions/fdf-open-string.xml Thu Dec 11 10:41:56 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <refentry id="function.fdf-open-string"> <refnamediv> <refname>fdf_open_string</refname> @@ -29,7 +29,7 @@ <![CDATA[ <?php $fdf = fdf_open_string($HTTP_FDF_DATA); -... +/* ... */ fdf_close($fdf); ?> ]]> Index: phpdoc/en/reference/fdf/functions/fdf-open.xml diff -u phpdoc/en/reference/fdf/functions/fdf-open.xml:1.5 phpdoc/en/reference/fdf/functions/fdf-open.xml:1.6 --- phpdoc/en/reference/fdf/functions/fdf-open.xml:1.5 Tue Sep 30 04:33:31 2003 +++ phpdoc/en/reference/fdf/functions/fdf-open.xml Thu Dec 11 10:41:56 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/fdf.xml, last change in rev 1.2 --> <refentry id="function.fdf-open"> <refnamediv> @@ -38,7 +38,7 @@ // Open temp file and evaluate data $fdf = fdf_open("test.fdf"); -... +/* ... */ fdf_close($fdf); ?> ]]> Index: phpdoc/en/reference/ftp/functions/ftp-alloc.xml diff -u phpdoc/en/reference/ftp/functions/ftp-alloc.xml:1.1 phpdoc/en/reference/ftp/functions/ftp-alloc.xml:1.2 --- phpdoc/en/reference/ftp/functions/ftp-alloc.xml:1.1 Fri Sep 19 00:51:06 2003 +++ phpdoc/en/reference/ftp/functions/ftp-alloc.xml Thu Dec 11 10:41:57 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="function.ftp-alloc"> <refnamediv> <refname>ftp_alloc</refname> @@ -40,7 +40,7 @@ $file = "/home/user/myfile"; /* connect to the server */ -$conn_id = ftp_connect('ftp.example.com); +$conn_id = ftp_connect('ftp.example.com'); $login_result = ftp_login($conn_id, 'anonymous', '[EMAIL PROTECTED]'); if (ftp_alloc($conn_id, filesize($file), $result)) { Index: phpdoc/en/reference/ftp/functions/ftp-nb-get.xml diff -u phpdoc/en/reference/ftp/functions/ftp-nb-get.xml:1.6 phpdoc/en/reference/ftp/functions/ftp-nb-get.xml:1.7 --- phpdoc/en/reference/ftp/functions/ftp-nb-get.xml:1.6 Sun Sep 14 20:41:59 2003 +++ phpdoc/en/reference/ftp/functions/ftp-nb-get.xml Thu Dec 11 10:41:57 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <refentry id="function.ftp-nb-get"> <refnamediv> <refname>ftp_nb_get</refname> @@ -97,7 +97,7 @@ $ret = ftp_nb_get ($my_connection, "newfile", "README", FTP_BINARY, 100); while ($ret == FTP_MOREDATA) { - ... + /* ... */ // Continue downloading... $ret = ftp_nb_continue ($my_connection); Index: phpdoc/en/language/functions.xml diff -u phpdoc/en/language/functions.xml:1.42 phpdoc/en/language/functions.xml:1.43 --- phpdoc/en/language/functions.xml:1.42 Sat Nov 22 20:05:07 2003 +++ phpdoc/en/language/functions.xml Thu Dec 11 10:41:57 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.42 $ --> +<!-- $Revision: 1.43 $ --> <chapter id="functions"> <title>Functions</title> @@ -15,7 +15,7 @@ <programlisting role="php"> <![CDATA[ <?php -function foo ($arg_1, $arg_2, ..., $arg_n) +function foo ($arg_1, $arg_2, /* ..., */ $arg_n) { echo "Example function.\n"; return $retval; @@ -479,7 +479,7 @@ <?php class Foo { - function Var() + function Variable() { $name = 'Bar'; $this->$name(); // This calls the Bar() method @@ -492,8 +492,8 @@ } $foo = new Foo(); -$funcname = "Var"; -$foo->$funcname(); // This calls $foo->Var() +$funcname = "Variable"; +$foo->$funcname(); // This calls $foo->Variable() ?> ]]> Index: phpdoc/en/language/references.xml diff -u phpdoc/en/language/references.xml:1.25 phpdoc/en/language/references.xml:1.26 --- phpdoc/en/language/references.xml:1.25 Mon Jun 9 15:28:28 2003 +++ phpdoc/en/language/references.xml Thu Dec 11 10:41:58 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.25 $ --> +<!-- $Revision: 1.26 $ --> <chapter id="language.references"> <title>References Explained</title> @@ -215,8 +215,8 @@ } foo(bar()); -foo($a = 5) // Expression, not variable -foo(5) // Constant, not variable +foo($a = 5); // Expression, not variable +foo(5); // Constant, not variable ?> ]]> </programlisting> @@ -237,7 +237,7 @@ <?php function &find_var ($param) { - ...code... + /* ...code... */ return $found_var; } Index: phpdoc/en/language/types.xml diff -u phpdoc/en/language/types.xml:1.128 phpdoc/en/language/types.xml:1.129 --- phpdoc/en/language/types.xml:1.128 Tue Nov 25 17:07:25 2003 +++ phpdoc/en/language/types.xml Thu Dec 11 10:41:58 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.128 $ --> +<!-- $Revision: 1.129 $ --> <chapter id="language.types"> <title>Types</title> @@ -1514,7 +1514,7 @@ */ $b = array_values($a); -// Now b is array(1 => 'one', 2 =>'three') +// Now $b is array(0 => 'one', 1 =>'three') ?> ]]> </programlisting> Index: phpdoc/en/reference/hwapi/functions/hwapi-object.xml diff -u phpdoc/en/reference/hwapi/functions/hwapi-object.xml:1.4 phpdoc/en/reference/hwapi/functions/hwapi-object.xml:1.5 --- phpdoc/en/reference/hwapi/functions/hwapi-object.xml:1.4 Mon Jun 2 13:00:51 2003 +++ phpdoc/en/reference/hwapi/functions/hwapi-object.xml Thu Dec 11 10:41:58 2003 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding='iso-8859-1' ?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./en/functions/hwapi.xml, last change in rev 1.1 --> <refentry id="function.hwapi-object"> <refnamediv> @@ -60,7 +60,7 @@ } $hwapi = hwapi_hgcsp($g_config[HOSTNAME]); -$parms = array("objectIdentifier"=>"rootcollection, "attributeSelector"=>array("Title", "Name", "DocumentType")); +$parms = array("objectIdentifier"=>"rootcollection", "attributeSelector"=>array("Title", "Name", "DocumentType")); $root = $hwapi->object($parms); if(get_class($root) == "HW_API_Error") { handle_error($root); Index: phpdoc/en/reference/ifx/functions/ifx-affected-rows.xml diff -u phpdoc/en/reference/ifx/functions/ifx-affected-rows.xml:1.3 phpdoc/en/reference/ifx/functions/ifx-affected-rows.xml:1.4 --- phpdoc/en/reference/ifx/functions/ifx-affected-rows.xml:1.3 Wed Jul 16 13:13:19 2003 +++ phpdoc/en/reference/ifx/functions/ifx-affected-rows.xml Thu Dec 11 10:41:59 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/ifx.xml, last change in rev 1.2 --> <refentry id="function.ifx-affected-rows"> <refnamediv> @@ -43,7 +43,7 @@ $rid = ifx_prepare ("select * from emp where name like " . $name, $connid); if (! $rid) { - ... error ... + /* ... error ... */ } $rowcount = ifx_affected_rows ($rid); if ($rowcount > 1000) { Index: phpdoc/en/reference/ifx/functions/ifx-close.xml diff -u phpdoc/en/reference/ifx/functions/ifx-close.xml:1.3 phpdoc/en/reference/ifx/functions/ifx-close.xml:1.4 --- phpdoc/en/reference/ifx/functions/ifx-close.xml:1.3 Wed Jul 16 13:13:19 2003 +++ phpdoc/en/reference/ifx/functions/ifx-close.xml Thu Dec 11 10:41:59 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/ifx.xml, last change in rev 1.2 --> <refentry id="function.ifx-close"> <refnamediv> @@ -37,7 +37,7 @@ <![CDATA[ <?php $conn_id = ifx_connect ("[EMAIL PROTECTED]", "itsme", "mypassword"); -... some queries and stuff ... +/* ... some queries and stuff ... */ ifx_close($conn_id); ?> ]]> Index: phpdoc/en/reference/ifx/functions/ifx-fetch-row.xml diff -u phpdoc/en/reference/ifx/functions/ifx-fetch-row.xml:1.3 phpdoc/en/reference/ifx/functions/ifx-fetch-row.xml:1.4 --- phpdoc/en/reference/ifx/functions/ifx-fetch-row.xml:1.3 Wed Jul 16 13:13:19 2003 +++ phpdoc/en/reference/ifx/functions/ifx-fetch-row.xml Thu Dec 11 10:41:59 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/ifx.xml, last change in rev 1.2 --> <refentry id="function.ifx-fetch-row"> <refnamediv> @@ -55,7 +55,7 @@ $rid = ifx_prepare ("select * from emp where name like " . $name, $connid, IFX_SCROLL); if (! $rid) { - ... error ... + /* ... error ... */ } $rowcount = ifx_affected_rows($rid); if ($rowcount > 1000) { @@ -63,7 +63,7 @@ die ("Please restrict your query<br>\n"); } if (! ifx_do ($rid)) { - ... error ... + /* ... error ... */ } $row = ifx_fetch_row ($rid, "NEXT"); while (is_array($row)) { Index: phpdoc/en/reference/ifx/functions/ifx-fieldproperties.xml diff -u phpdoc/en/reference/ifx/functions/ifx-fieldproperties.xml:1.3 phpdoc/en/reference/ifx/functions/ifx-fieldproperties.xml:1.4 --- phpdoc/en/reference/ifx/functions/ifx-fieldproperties.xml:1.3 Wed Jul 16 13:13:19 2003 +++ phpdoc/en/reference/ifx/functions/ifx-fieldproperties.xml Thu Dec 11 10:41:59 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/ifx.xml, last change in rev 1.2 --> <refentry id="function.ifx-fieldproperties"> <refnamediv> @@ -31,7 +31,7 @@ <?php $properties = ifx_fieldproperties ($resultid); if (! isset($properties)) { - ... error ... + /* ... error ... */ } for ($i = 0; $i < count($properties); $i++) { $fname = key ($properties); Index: phpdoc/en/reference/ifx/functions/ifx-fieldtypes.xml diff -u phpdoc/en/reference/ifx/functions/ifx-fieldtypes.xml:1.3 phpdoc/en/reference/ifx/functions/ifx-fieldtypes.xml:1.4 --- phpdoc/en/reference/ifx/functions/ifx-fieldtypes.xml:1.3 Wed Jul 16 13:13:19 2003 +++ phpdoc/en/reference/ifx/functions/ifx-fieldtypes.xml Thu Dec 11 10:41:59 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/ifx.xml, last change in rev 1.2 --> <refentry id="function.ifx-fieldtypes"> <refnamediv> @@ -25,7 +25,7 @@ <?php $types = ifx_fieldtypes ($resultid); if (! isset ($types)) { - ... error ... + /* ... error ... */ } for ($i = 0; $i < count($types); $i++) { $fname = key($types); Index: phpdoc/en/reference/ifx/functions/ifx-getsqlca.xml diff -u phpdoc/en/reference/ifx/functions/ifx-getsqlca.xml:1.3 phpdoc/en/reference/ifx/functions/ifx-getsqlca.xml:1.4 --- phpdoc/en/reference/ifx/functions/ifx-getsqlca.xml:1.3 Wed Jul 16 13:13:19 2003 +++ phpdoc/en/reference/ifx/functions/ifx-getsqlca.xml Thu Dec 11 10:41:59 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/ifx.xml, last change in rev 1.2 --> <refentry id="function.ifx-getsqlca"> <refnamediv> @@ -45,11 +45,11 @@ $qid = ifx_query("insert into sometable values (0, '2nd column', 'another column') ", $connid); if (! $qid) { - ... error ... + /* ... error ... */ } $sqlca = ifx_getsqlca ($qid); $serial_value = $sqlca["sqlerrd1"]; -echo "The serial value of the inserted row is : " . $serial_value<br />\n"; +echo "The serial value of the inserted row is : $serial_value<br />\n"; ?> ]]> </programlisting> Index: phpdoc/en/reference/ifx/functions/ifx-htmltbl-result.xml diff -u phpdoc/en/reference/ifx/functions/ifx-htmltbl-result.xml:1.3 phpdoc/en/reference/ifx/functions/ifx-htmltbl-result.xml:1.4 --- phpdoc/en/reference/ifx/functions/ifx-htmltbl-result.xml:1.3 Wed Jul 16 13:13:19 2003 +++ phpdoc/en/reference/ifx/functions/ifx-htmltbl-result.xml Thu Dec 11 10:41:59 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/ifx.xml, last change in rev 1.2 --> <refentry id="function.ifx-htmltbl-result"> <refnamediv> @@ -32,15 +32,15 @@ $rid = ifx_prepare ("select * from emp where name like " . $name, $connid, IFX_SCROLL); if (! $rid) { - ... error ... + /* ... error ... */ } $rowcount = ifx_affected_rows ($rid); if ($rowcount > 1000) { printf ("Too many rows in result set (%d)\n<br>", $rowcount); die ("Please restrict your query<br>\n"); } -if (! ifx_do($rid) { - ... error ... +if (! ifx_do($rid)) { + /* ... error ... */ } ifx_htmltbl_result ($rid, "border=\"2\""); Index: phpdoc/en/reference/ifx/functions/ifx-query.xml diff -u phpdoc/en/reference/ifx/functions/ifx-query.xml:1.4 phpdoc/en/reference/ifx/functions/ifx-query.xml:1.5 --- phpdoc/en/reference/ifx/functions/ifx-query.xml:1.4 Wed Jul 16 13:13:19 2003 +++ phpdoc/en/reference/ifx/functions/ifx-query.xml Thu Dec 11 10:41:59 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./en/functions/ifx.xml, last change in rev 1.2 --> <refentry id="function.ifx-query"> <refnamediv> @@ -108,7 +108,7 @@ "cat_descr,cat_picture) values(1,'HRO',?,?)"; $res_id = ifx_query($query, $conn_id, $blobidarray); if (! $res_id) { - ... error ... + /* ... error ... */ } // free result id Index: phpdoc/en/reference/image/functions/imagegif.xml diff -u phpdoc/en/reference/image/functions/imagegif.xml:1.5 phpdoc/en/reference/image/functions/imagegif.xml:1.6 --- phpdoc/en/reference/image/functions/imagegif.xml:1.5 Wed Jul 16 13:14:17 2003 +++ phpdoc/en/reference/image/functions/imagegif.xml Thu Dec 11 10:42:00 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/image.xml, last change in rev 1.3 --> <refentry id="function.imagegif"> <refnamediv> @@ -89,7 +89,8 @@ imagegif ($im); } elseif (imagetypes() & IMG_JPG) { - ... etc. + /* ... etc. */ +} ?> ]]> </programlisting> Index: phpdoc/en/reference/ingres-ii/functions/ingres-fetch-array.xml diff -u phpdoc/en/reference/ingres-ii/functions/ingres-fetch-array.xml:1.3 phpdoc/en/reference/ingres-ii/functions/ingres-fetch-array.xml:1.4 --- phpdoc/en/reference/ingres-ii/functions/ingres-fetch-array.xml:1.3 Sat Aug 16 13:35:22 2003 +++ phpdoc/en/reference/ingres-ii/functions/ingres-fetch-array.xml Thu Dec 11 10:42:00 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/ingres_ii.xml, last change in rev 1.1 --> <refentry id="function.ingres-fetch-array"> <refnamediv> @@ -36,7 +36,7 @@ <![CDATA[ <?php -ingres_query(select t1.f1 as foo t2.f1 as bar from t1, t2); +ingres_query("select t1.f1 as foo t2.f1 as bar from t1, t2"); $result = ingres_fetch_array(); $foo = $result["foo"]; $bar = $result["bar"]; Index: phpdoc/en/reference/mysql/functions/mysql-list-fields.xml diff -u phpdoc/en/reference/mysql/functions/mysql-list-fields.xml:1.6 phpdoc/en/reference/mysql/functions/mysql-list-fields.xml:1.7 --- phpdoc/en/reference/mysql/functions/mysql-list-fields.xml:1.6 Wed Sep 10 03:51:13 2003 +++ phpdoc/en/reference/mysql/functions/mysql-list-fields.xml Thu Dec 11 10:42:01 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 --> <refentry id="function.mysql-list-fields"> <refnamediv> @@ -39,6 +39,7 @@ for ($i = 0; $i < $columns; $i++) { echo mysql_field_name($fields, $i) . "\n"; } +?> ]]> </programlisting> <para> Index: phpdoc/en/reference/mysql/functions/mysql-result.xml diff -u phpdoc/en/reference/mysql/functions/mysql-result.xml:1.3 phpdoc/en/reference/mysql/functions/mysql-result.xml:1.4 --- phpdoc/en/reference/mysql/functions/mysql-result.xml:1.3 Wed Jul 9 11:07:29 2003 +++ phpdoc/en/reference/mysql/functions/mysql-result.xml Thu Dec 11 10:42:01 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 --> <refentry id="function.mysql-result"> <refnamediv> @@ -47,7 +47,7 @@ or die("Could not connect: " . mysql_error()); $result = mysql_query("SELECT name FROM work.employee") - or die("Could not query: . mysql_error()); + or die("Could not query:" . mysql_error()); echo mysql_result($result,2); // outputs third employee's name Index: phpdoc/en/reference/mysqli/functions/mysqli-affected-rows.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-affected-rows.xml:1.9 phpdoc/en/reference/mysqli/functions/mysqli-affected-rows.xml:1.10 --- phpdoc/en/reference/mysqli/functions/mysqli-affected-rows.xml:1.9 Sat Aug 23 11:49:43 2003 +++ phpdoc/en/reference/mysqli/functions/mysqli-affected-rows.xml Thu Dec 11 10:42:02 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> <refentry id="function.mysqli-affected-rows"> <refnamediv> <refname>mysqli_affected_rows</refname> @@ -114,7 +114,7 @@ printf ("Updated records: %d\n", $mysql->affected_rows($link)); /* close connection */ - mysql->close($link); + $mysql->close($link); ?> ]]> </programlisting> Index: phpdoc/en/reference/mysqli/functions/mysqli-bind-param.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-bind-param.xml:1.2 phpdoc/en/reference/mysqli/functions/mysqli-bind-param.xml:1.3 --- phpdoc/en/reference/mysqli/functions/mysqli-bind-param.xml:1.2 Fri Aug 22 08:13:16 2003 +++ phpdoc/en/reference/mysqli/functions/mysqli-bind-param.xml Thu Dec 11 10:42:02 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <refentry id="function.mysqli-bind-param"> <refnamediv> <refname>mysqli_bind_param</refname> @@ -77,7 +77,7 @@ $mysql->query("CREATE TABLE mytable (a int, b int, c varchar(30))"); /* prepare statement and bind parameters */ - $stmt = mysql->prepare("INSERT INTO mytable VALUES (?, ?, ?)"); + $stmt = $mysql->prepare("INSERT INTO mytable VALUES (?, ?, ?)"); $stmt->bind_param(array(MYSQLI_BIND_INT, MYSQLI_BIND_INT, MYSQLI_BIND_STRING), $a, $b, $c); Index: phpdoc/en/reference/mysqli/functions/mysqli-data-seek.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-data-seek.xml:1.6 phpdoc/en/reference/mysqli/functions/mysqli-data-seek.xml:1.7 --- phpdoc/en/reference/mysqli/functions/mysqli-data-seek.xml:1.6 Sun May 25 15:27:11 2003 +++ phpdoc/en/reference/mysqli/functions/mysqli-data-seek.xml Thu Dec 11 10:42:02 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <refentry id="function.mysqli-data-seek"> <refnamediv> <refname>mysqli_data_seek</refname> @@ -37,7 +37,7 @@ /* Get some rows and store them */ $query = "SELECT DINSTINCT name FROM employee ORDER BY name"; - $result = mysqli_query($query) or die(mysqli_error()): + $result = mysqli_query($query) or die(mysqli_error()); $rows = mysqli_store_result($result); Index: phpdoc/en/reference/ncurses/functions/ncurses-getmouse.xml diff -u phpdoc/en/reference/ncurses/functions/ncurses-getmouse.xml:1.3 phpdoc/en/reference/ncurses/functions/ncurses-getmouse.xml:1.4 --- phpdoc/en/reference/ncurses/functions/ncurses-getmouse.xml:1.3 Wed Jul 16 13:16:57 2003 +++ phpdoc/en/reference/ncurses/functions/ncurses-getmouse.xml Thu Dec 11 10:42:03 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/ncurses.xml, last change in rev 1.5 --> <refentry id="function.ncurses-getmouse"> <refnamediv> @@ -40,7 +40,7 @@ <programlisting role="php"> <![CDATA[ <?php -switch (ncurses_getch){ +switch (ncurses_getch()){ case NCURSES_KEY_MOUSE: if (!ncurses_getmouse(&$mevent)){ if ($mevent["mmask"] & NCURSES_MOUSE_BUTTON1_PRESSED){ @@ -51,7 +51,7 @@ break; default: - .... + /* .... */ } ?> ]]> Index: phpdoc/en/reference/oci8/functions/ocistatementtype.xml diff -u phpdoc/en/reference/oci8/functions/ocistatementtype.xml:1.5 phpdoc/en/reference/oci8/functions/ocistatementtype.xml:1.6 --- phpdoc/en/reference/oci8/functions/ocistatementtype.xml:1.5 Sat Aug 16 12:59:40 2003 +++ phpdoc/en/reference/oci8/functions/ocistatementtype.xml Thu Dec 11 10:42:04 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/oci8.xml, last change in rev 1.2 --> <refentry id="function.ocistatementtype"> <refnamediv> @@ -39,7 +39,7 @@ $stmt = OCIParse($conn,$sql); if ( OCIStatementType($stmt) == "DELETE" ) { - die "You are not allowed to delete from this table<BR>"; + die("You are not allowed to delete from this table<BR>"); } OCILogoff($conn); Index: phpdoc/en/reference/openssl/functions/openssl-pkcs7-sign.xml diff -u phpdoc/en/reference/openssl/functions/openssl-pkcs7-sign.xml:1.8 phpdoc/en/reference/openssl/functions/openssl-pkcs7-sign.xml:1.9 --- phpdoc/en/reference/openssl/functions/openssl-pkcs7-sign.xml:1.8 Mon Oct 27 06:36:15 2003 +++ phpdoc/en/reference/openssl/functions/openssl-pkcs7-sign.xml Thu Dec 11 10:42:04 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <!-- splitted from ./en/functions/openssl.xml, last change in rev 1.4 --> <refentry id="function.openssl-pkcs7-sign"> <refnamediv> @@ -63,7 +63,8 @@ array("mycert.pem", "mypassphrase"), array("To" => "[EMAIL PROTECTED]", // keyed syntax "From" => "HQ <[EMAIL PROTECTED]>", // indexed syntax - "Subject" => "Eyes only")) + "Subject" => "Eyes only") + )) { // message signed - send it! exec(ini_get("sendmail_path") . " < signed.txt"); Index: phpdoc/en/reference/ovrimos/functions/ovrimos-result-all.xml diff -u phpdoc/en/reference/ovrimos/functions/ovrimos-result-all.xml:1.3 phpdoc/en/reference/ovrimos/functions/ovrimos-result-all.xml:1.4 --- phpdoc/en/reference/ovrimos/functions/ovrimos-result-all.xml:1.3 Tue Aug 12 05:54:55 2003 +++ phpdoc/en/reference/ovrimos/functions/ovrimos-result-all.xml Thu Dec 11 10:42:05 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/ovrimos.xml, last change in rev 1.1 --> <refentry id="function.ovrimos-result-all"> <refnamediv> @@ -62,7 +62,7 @@ if ($conn != 0) { echo "Connection ok!"; $res = ovrimos_exec ($conn, "select table_id, table_name - from sys.tables where table_id = 1") + from sys.tables where table_id = 1"); if ($res != 0) { echo "Statement ok! cursor=".ovrimos_cursor ($res)."\n"; $colnb = ovrimos_num_fields ($res); Index: phpdoc/en/reference/dba/reference.xml diff -u phpdoc/en/reference/dba/reference.xml:1.13 phpdoc/en/reference/dba/reference.xml:1.14 --- phpdoc/en/reference/dba/reference.xml:1.13 Tue Nov 25 13:15:51 2003 +++ phpdoc/en/reference/dba/reference.xml Thu Dec 11 10:42:06 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.13 $ --> +<!-- $Revision: 1.14 $ --> <reference id="ref.dba"> <title>Database (dbm-style) abstraction layer functions</title> <titleabbrev>dba</titleabbrev> @@ -227,7 +227,7 @@ $key = dba_firstkey ($id); while ($key != false) { - if (...) { // remember the key to perform some action later + if (true) { // remember the key to perform some action later $handle_later[] = $key; } $key = dba_nextkey ($id); Index: phpdoc/en/reference/objaggregation/reference.xml diff -u phpdoc/en/reference/objaggregation/reference.xml:1.9 phpdoc/en/reference/objaggregation/reference.xml:1.10 --- phpdoc/en/reference/objaggregation/reference.xml:1.9 Wed Jul 16 13:17:20 2003 +++ phpdoc/en/reference/objaggregation/reference.xml Thu Dec 11 10:42:06 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> <reference id="ref.objaggregation"> <title>Object Aggregation/Composition Functions</title> <titleabbrev>Object Aggregation</titleabbrev> @@ -41,10 +41,11 @@ } class Report { - var $_dt = new DateTime(); + var $_dt; // more properties ... function Report() { + $this->_dt = new DateTime(); // initialization code ... } Index: phpdoc/en/reference/sesam/functions/sesam-affected-rows.xml diff -u phpdoc/en/reference/sesam/functions/sesam-affected-rows.xml:1.3 phpdoc/en/reference/sesam/functions/sesam-affected-rows.xml:1.4 --- phpdoc/en/reference/sesam/functions/sesam-affected-rows.xml:1.3 Wed Jul 16 13:20:56 2003 +++ phpdoc/en/reference/sesam/functions/sesam-affected-rows.xml Thu Dec 11 10:42:07 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/sesam.xml, last change in rev 1.1 --> <refentry id="function.sesam-affected-rows"> <refnamediv> @@ -39,7 +39,7 @@ <?php $result = sesam_execimm ("DELETE FROM PHONE WHERE LASTNAME = '".strtoupper ($name)."'"); if (!$result) { - ... error ... + /* ... error ... */ } print sesam_affected_rows ($result). " entries with last name ".$name." deleted.\n"; Index: phpdoc/en/reference/sesam/functions/sesam-connect.xml diff -u phpdoc/en/reference/sesam/functions/sesam-connect.xml:1.2 phpdoc/en/reference/sesam/functions/sesam-connect.xml:1.3 --- phpdoc/en/reference/sesam/functions/sesam-connect.xml:1.2 Wed Apr 17 02:43:53 2002 +++ phpdoc/en/reference/sesam/functions/sesam-connect.xml Thu Dec 11 10:42:07 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <!-- splitted from ./en/functions/sesam.xml, last change in rev 1.1 --> <refentry id="function.sesam-connect"> <refnamediv> @@ -52,8 +52,9 @@ <programlisting role="php"> <![CDATA[ <?php -if (!sesam_connect ("mycatalog", "myschema", "otto") +if (!sesam_connect ("mycatalog", "myschema", "otto")) { die("Unable to connect to SESAM"); +} ?> ]]> </programlisting> Index: phpdoc/en/reference/sesam/functions/sesam-disconnect.xml diff -u phpdoc/en/reference/sesam/functions/sesam-disconnect.xml:1.3 phpdoc/en/reference/sesam/functions/sesam-disconnect.xml:1.4 --- phpdoc/en/reference/sesam/functions/sesam-disconnect.xml:1.3 Wed Jul 16 13:20:56 2003 +++ phpdoc/en/reference/sesam/functions/sesam-disconnect.xml Thu Dec 11 10:42:07 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/sesam.xml, last change in rev 1.1 --> <refentry id="function.sesam-disconnect"> <refnamediv> @@ -41,7 +41,7 @@ <![CDATA[ <?php if (sesam_connect ("mycatalog", "myschema", "otto")) { - ... some queries and stuff ... + /* ... some queries and stuff ... */ sesam_disconnect(); } ?> Index: phpdoc/en/reference/sesam/functions/sesam-fetch-array.xml diff -u phpdoc/en/reference/sesam/functions/sesam-fetch-array.xml:1.2 phpdoc/en/reference/sesam/functions/sesam-fetch-array.xml:1.3 --- phpdoc/en/reference/sesam/functions/sesam-fetch-array.xml:1.2 Wed Apr 17 02:43:54 2002 +++ phpdoc/en/reference/sesam/functions/sesam-fetch-array.xml Thu Dec 11 10:42:07 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <!-- splitted from ./en/functions/sesam.xml, last change in rev 1.1 --> <refentry id="function.sesam-fetch-array"> <refnamediv> @@ -93,7 +93,7 @@ " WHERE LASTNAME='".strtoupper($name)."'\n". " ORDER BY FIRSTNAME", 1); if (!$result) { - ... error ... + /* ... error ... */ } // print the table: print "<TABLE BORDER>\n"; Index: phpdoc/en/reference/sesam/functions/sesam-fetch-row.xml diff -u phpdoc/en/reference/sesam/functions/sesam-fetch-row.xml:1.2 phpdoc/en/reference/sesam/functions/sesam-fetch-row.xml:1.3 --- phpdoc/en/reference/sesam/functions/sesam-fetch-row.xml:1.2 Wed Apr 17 02:43:54 2002 +++ phpdoc/en/reference/sesam/functions/sesam-fetch-row.xml Thu Dec 11 10:42:07 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <!-- splitted from ./en/functions/sesam.xml, last change in rev 1.1 --> <refentry id="function.sesam-fetch-row"> <refnamediv> @@ -146,7 +146,7 @@ " WHERE LASTNAME='".strtoupper($name)."'\n". " ORDER BY FIRSTNAME", 1); if (!$result) { - ... error ... + /* ... error ... */ } // print the table in backward order print "<TABLE BORDER>\n"; Index: phpdoc/en/reference/sesam/functions/sesam-query.xml diff -u phpdoc/en/reference/sesam/functions/sesam-query.xml:1.2 phpdoc/en/reference/sesam/functions/sesam-query.xml:1.3 --- phpdoc/en/reference/sesam/functions/sesam-query.xml:1.2 Wed Apr 17 02:43:55 2002 +++ phpdoc/en/reference/sesam/functions/sesam-query.xml Thu Dec 11 10:42:07 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <!-- splitted from ./en/functions/sesam.xml, last change in rev 1.1 --> <refentry id="function.sesam-query"> <refnamediv> @@ -90,7 +90,7 @@ for ($row=0; $row < $ok["rows"]; ++$row) { echo " <TR>\n"; for ($col = 0; $col < $ok["cols"]; ++$col) { - if (isset($ok[$col][$row])) + if (isset($ok[$col][$row])) { echo " <TD>" . $ok[$col][$row] . "</TD>\n"; } else { echo " <TD>-empty-</TD>\n"; @@ -98,10 +98,9 @@ } echo " </TR>\n"; } -} -while ($ok["truncated"]) { // while there may be more data - echo "</TABLE>\n"; -} +} while ($ok["truncated"]); // while there may be more data + +echo "</TABLE>\n"; // free result id sesam_free_result($result); ?> Index: phpdoc/en/reference/sqlite/functions/sqlite-create-aggregate.xml diff -u phpdoc/en/reference/sqlite/functions/sqlite-create-aggregate.xml:1.3 phpdoc/en/reference/sqlite/functions/sqlite-create-aggregate.xml:1.4 --- phpdoc/en/reference/sqlite/functions/sqlite-create-aggregate.xml:1.3 Mon Jul 21 12:44:20 2003 +++ phpdoc/en/reference/sqlite/functions/sqlite-create-aggregate.xml Thu Dec 11 10:42:08 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <refentry id="function.sqlite-create-aggregate"> <refnamediv> <refname>sqlite_create_aggregate</refname> @@ -41,13 +41,13 @@ 'one', 'two', 'three', - 'four' - 'five' + 'four', + 'five', 'six', 'seven', 'eight', - 'nine' - 'ten' + 'nine', + 'ten', ); $dbhandle = sqlite_open(':memory:'); sqlite_query($dbhandle, "CREATE TABLE strings(a)"); Index: phpdoc/en/reference/sqlite/functions/sqlite-udf-decode-binary.xml diff -u phpdoc/en/reference/sqlite/functions/sqlite-udf-decode-binary.xml:1.2 phpdoc/en/reference/sqlite/functions/sqlite-udf-decode-binary.xml:1.3 --- phpdoc/en/reference/sqlite/functions/sqlite-udf-decode-binary.xml:1.2 Sun Jul 6 00:43:08 2003 +++ phpdoc/en/reference/sqlite/functions/sqlite-udf-decode-binary.xml Thu Dec 11 10:42:08 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <refentry id="function.sqlite-udf-decode-binary"> <refnamediv> <refname>sqlite_udf_decode_binary</refname> @@ -36,13 +36,13 @@ 'one', 'two', 'three', - 'four' - 'five' + 'four', + 'five', 'six', 'seven', 'eight', - 'nine' - 'ten' + 'nine', + 'ten', ); $db = sqlite_open(':memory:'); sqlite_query($db, "CREATE TABLE strings(a)"); Index: phpdoc/en/reference/stream/functions/stream-select.xml diff -u phpdoc/en/reference/stream/functions/stream-select.xml:1.5 phpdoc/en/reference/stream/functions/stream-select.xml:1.6 --- phpdoc/en/reference/stream/functions/stream-select.xml:1.5 Wed Jul 16 13:21:38 2003 +++ phpdoc/en/reference/stream/functions/stream-select.xml Thu Dec 11 10:42:08 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <refentry id="function.stream-select"> <refnamediv> <refname>stream_select</refname> @@ -106,7 +106,7 @@ if (false === ($num_changed_streams = stream_select($read, $write = NULL, $except = NULL, 0))) { /* Error handling */ -else if ($num_changed_streams > 0) { +} elseif ($num_changed_streams > 0) { /* At least on one of the streams something interesting happened */ } ?> Index: phpdoc/en/reference/ming/functions/swfaction.xml diff -u phpdoc/en/reference/ming/functions/swfaction.xml:1.2 phpdoc/en/reference/ming/functions/swfaction.xml:1.3 --- phpdoc/en/reference/ming/functions/swfaction.xml:1.2 Wed Apr 17 02:40:25 2002 +++ phpdoc/en/reference/ming/functions/swfaction.xml Thu Dec 11 10:42:09 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <!-- splitted from ./en/functions/ming.xml, last change in rev 1.24 --> <refentry id="function.swfaction"> <refnamediv> @@ -408,7 +408,7 @@ <programlisting role="php"> <![CDATA[ <?php - $s = new SWFShape(); + $s = new SWFShape(); $f = $s->addFill(0xff, 0, 0); $s->setRightFill($f); @@ -698,6 +698,7 @@ </programlisting> </example> </para> + <!-- Serious syntax errors in example <para> This simple example will handles keyboard actions. (You'll probably have to click in the window to give it focus. @@ -715,9 +716,9 @@ $p = new SWFSprite(); $p->add(new SWFAction("stop();")); - $chars = "abcdefghijklmnopqrstuvwxyz". - "ABCDEFGHIJKLMNOPQRSTUVWXYZ". - "[EMAIL PROTECTED]&/*()_+-=/[]{}|;:,.<>?`~"; + $chars = 'abcdefghijklmnopqrstuvwxyz'. + 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'. + '[EMAIL PROTECTED]&/*()_+-=/[]{}|;:,.<>?`~'; $f = new SWFFont("_sans"); @@ -770,7 +771,8 @@ ]]> </programlisting> </example> - </para> + </para> + --> </refsect1> </refentry> Index: phpdoc/en/reference/yaz/functions/yaz-ccl-parse.xml diff -u phpdoc/en/reference/yaz/functions/yaz-ccl-parse.xml:1.5 phpdoc/en/reference/yaz/functions/yaz-ccl-parse.xml:1.6 --- phpdoc/en/reference/yaz/functions/yaz-ccl-parse.xml:1.5 Sat Aug 16 13:15:07 2003 +++ phpdoc/en/reference/yaz/functions/yaz-ccl-parse.xml Thu Dec 11 10:42:10 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/yaz.xml, last change in rev 1.1 --> <refentry id="function.yaz-ccl-parse"> <refnamediv> @@ -41,7 +41,7 @@ <![CDATA[ <?php yaz_ccl_conf($id,$fields); // see example for yaz_ccl_conf -if (!yaz_ccl_parse($id, $ccl, &$cclresult) { +if (!yaz_ccl_parse($id, $ccl, &$cclresult)) { echo 'Error: ' . $cclresult["errorstring"]; } else { $rpn = $cclresult["rpn"]; Index: phpdoc/en/reference/nis/functions/yp-next.xml diff -u phpdoc/en/reference/nis/functions/yp-next.xml:1.3 phpdoc/en/reference/nis/functions/yp-next.xml:1.4 --- phpdoc/en/reference/nis/functions/yp-next.xml:1.3 Tue Nov 18 08:05:34 2003 +++ phpdoc/en/reference/nis/functions/yp-next.xml Thu Dec 11 10:42:10 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/nis.xml, last change in rev 1.2 --> <refentry id="function.yp-next"> <refnamediv> @@ -29,7 +29,7 @@ if (!$entry) { echo "No more entries found\n"; - <!-- echo yp_errno() . ": " . yp_err_string(); --> + echo "<!--" . yp_errno() . ": " . yp_err_string() . "-->"; } $key = key ($entry);