[PHP-DOC] cvs: phpdoc /en/reference/sqlite/functions sqlite-has-prev.xml sqlite-prev.xml
philip Sat Jul 24 02:09:04 2004 EDT Added files: /phpdoc/en/reference/sqlite/functions sqlite-has-prev.xml sqlite-prev.xml Log: Initial documentation. http://cvs.php.net/co.php/phpdoc/en/reference/sqlite/functions/sqlite-has-prev.xml?r=1.1p=1 Index: phpdoc/en/reference/sqlite/functions/sqlite-has-prev.xml +++ phpdoc/en/reference/sqlite/functions/sqlite-has-prev.xml ?xml version=1.0 encoding=iso-8859-1? !-- $Revision: 1.1 $ -- refentry id=function.sqlite-has-prev refnamediv refnamesqlite_has_prev/refname refpurposeReturns whether or not a previous row is available/refpurpose /refnamediv refsect1 titleDescription/title methodsynopsis typebool/typemethodnamesqlite_has_prev/methodname methodparamtyperesource/typeparameterresult/parameter/methodparam /methodsynopsis para functionsqlite_has_prev/function returns true; if there are more previous rows available from the parameterresult/parameter handle, or false; otherwise; /para sqlite.no-unbuffered; para See also functionsqlite_prev/function, functionsqlite_has_more/function, and functionsqlite_num_rows/function. /para /refsect1 /refentry !-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:../../manual.ced sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -- http://cvs.php.net/co.php/phpdoc/en/reference/sqlite/functions/sqlite-prev.xml?r=1.1p=1 Index: phpdoc/en/reference/sqlite/functions/sqlite-prev.xml +++ phpdoc/en/reference/sqlite/functions/sqlite-prev.xml ?xml version=1.0 encoding=iso-8859-1? !-- $Revision: 1.1 $ -- refentry id=function.sqlite-prev refnamediv refnamesqlite_prev/refname refpurposeSeek to the previous row number of a result set/refpurpose /refnamediv refsect1 titleDescription/title methodsynopsis typebool/typemethodnamesqlite_prev/methodname methodparamtyperesource/typeparameterresult/parameter/methodparam /methodsynopsis para functionsqlite_prev/function seeks back the parameterresult/parameter handle to the previous row. Returns false; if there are no more rows, true; otherwise. /para sqlite.no-unbuffered; para See also functionsqlite_has_prev/function, functionsqlite_rewind/function, and functionsqlite_next/function. /para /refsect1 /refentry !-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:../../manual.ced sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --
[PHP-DOC] cvs: phpdoc /en language-snippets.ent /en/reference/sqlite/functions sqlite-current.xml sqlite-next.xml sqlite-num-rows.xml sqlite-rewind.xml sqlite-seek.xml
philip Sat Jul 24 02:11:36 2004 EDT Modified files: /phpdoc/en language-snippets.ent /phpdoc/en/reference/sqlite/functions sqlite-current.xml sqlite-next.xml sqlite-num-rows.xml sqlite-rewind.xml sqlite-seek.xml Log: Implement entity sqlite.no-unbuffered. http://cvs.php.net/diff.php/phpdoc/en/language-snippets.ent?r1=1.108r2=1.109ty=u Index: phpdoc/en/language-snippets.ent diff -u phpdoc/en/language-snippets.ent:1.108 phpdoc/en/language-snippets.ent:1.109 --- phpdoc/en/language-snippets.ent:1.108 Wed Jul 21 06:13:51 2004 +++ phpdoc/en/language-snippets.ent Sat Jul 24 02:11:35 2004 @@ -1,4 +1,4 @@ -!-- $Revision: 1.108 $ -- +!-- $Revision: 1.109 $ -- !-- Keep 'em sorted -- @@ -310,6 +310,10 @@ !ENTITY simplexml.iteration 'notesimparaSimpleXML has made a rule of adding iterative properties to most methods. They cannot be viewed using functionvar_dump/function or anything else which can examine objects./simpara/note' + +!-- SQLite Notes -- +!ENTITY sqlite.no-unbuffered 'noteparaThis function cannot be used with +unbuffered result handles./para/note' !-- Database Notes -- !ENTITY database.field-case 'notesimparaField names returned by this function http://cvs.php.net/diff.php/phpdoc/en/reference/sqlite/functions/sqlite-current.xml?r1=1.4r2=1.5ty=u Index: phpdoc/en/reference/sqlite/functions/sqlite-current.xml diff -u phpdoc/en/reference/sqlite/functions/sqlite-current.xml:1.4 phpdoc/en/reference/sqlite/functions/sqlite-current.xml:1.5 --- phpdoc/en/reference/sqlite/functions/sqlite-current.xml:1.4 Sun Jul 6 00:43:08 2003 +++ phpdoc/en/reference/sqlite/functions/sqlite-current.xml Sat Jul 24 02:11:35 2004 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.4 $ -- +!-- $Revision: 1.5 $ -- refentry id=function.sqlite-current refnamediv refnamesqlite_current/refname @@ -23,11 +23,9 @@ If the current position is beyond the final row, this function returns false; /para - note - para -This function will not work on unbuffered result handles. - /para - /note + + sqlite.no-unbuffered; + para See also functionsqlite_seek/function, functionsqlite_next/function, and http://cvs.php.net/diff.php/phpdoc/en/reference/sqlite/functions/sqlite-next.xml?r1=1.4r2=1.5ty=u Index: phpdoc/en/reference/sqlite/functions/sqlite-next.xml diff -u phpdoc/en/reference/sqlite/functions/sqlite-next.xml:1.4 phpdoc/en/reference/sqlite/functions/sqlite-next.xml:1.5 --- phpdoc/en/reference/sqlite/functions/sqlite-next.xml:1.4Sun Jul 6 00:43:08 2003 +++ phpdoc/en/reference/sqlite/functions/sqlite-next.xmlSat Jul 24 02:11:35 2004 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.4 $ -- +!-- $Revision: 1.5 $ -- refentry id=function.sqlite-next refnamediv refnamesqlite_next/refname @@ -16,11 +16,9 @@ parameterresult/parameter to the next row. Returns false; if there are no more rows, true; otherwise. /para - note - para -This function cannot be used with unbuffered result handles. - /para - /note + + sqlite.no-unbuffered; + para See also functionsqlite_seek/function, functionsqlite_current/function and http://cvs.php.net/diff.php/phpdoc/en/reference/sqlite/functions/sqlite-num-rows.xml?r1=1.3r2=1.4ty=u Index: phpdoc/en/reference/sqlite/functions/sqlite-num-rows.xml diff -u phpdoc/en/reference/sqlite/functions/sqlite-num-rows.xml:1.3 phpdoc/en/reference/sqlite/functions/sqlite-num-rows.xml:1.4 --- phpdoc/en/reference/sqlite/functions/sqlite-num-rows.xml:1.3Sun Jul 6 00:43:08 2003 +++ phpdoc/en/reference/sqlite/functions/sqlite-num-rows.xmlSat Jul 24 02:11:35 2004 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.3 $ -- +!-- $Revision: 1.4 $ -- refentry id=function.sqlite-num-rows refnamediv refnamesqlite_num_rows/refname @@ -15,11 +15,9 @@ Returns the number of rows in the buffered parameterresult/parameter set. /para - note - para -This function cannot be used with unbuffered result sets. - /para - /note + + sqlite.no-unbuffered; + para See also functionsqlite_changes/function and functionsqlite_query/function. http://cvs.php.net/diff.php/phpdoc/en/reference/sqlite/functions/sqlite-rewind.xml?r1=1.4r2=1.5ty=u Index: phpdoc/en/reference/sqlite/functions/sqlite-rewind.xml diff -u phpdoc/en/reference/sqlite/functions/sqlite-rewind.xml:1.4 phpdoc/en/reference/sqlite/functions/sqlite-rewind.xml:1.5 --- phpdoc/en/reference/sqlite/functions/sqlite-rewind.xml:1.4 Sun Jul 6 00:43:08 2003 +++ phpdoc/en/reference/sqlite/functions/sqlite-rewind.xml Sat Jul 24 02:11:36 2004 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.4 $ -- +!--
[PHP-DOC] cvs: phpdoc /en/reference/errorfunc/functions restore-exception-handler.xml set-exception-handler.xml
philip Sat Jul 24 02:35:11 2004 EDT Added files: /phpdoc/en/reference/errorfunc/functions restore-exception-handler.xml set-exception-handler.xml Log: Initial documentation (set_exception_handler remains warn.undocumented.func;). http://cvs.php.net/co.php/phpdoc/en/reference/errorfunc/functions/restore-exception-handler.xml?r=1.1p=1 Index: phpdoc/en/reference/errorfunc/functions/restore-exception-handler.xml +++ phpdoc/en/reference/errorfunc/functions/restore-exception-handler.xml ?xml version=1.0 encoding=iso-8859-1? !-- $Revision: 1.1 $ -- refentry id=function.restore-exception-handler refnamediv refnamerestore_exception_handler/refname refpurpose Restores the previously defined exception handler function /refpurpose /refnamediv refsect1 titleDescription/title methodsynopsis typevoid/typemethodnamerestore_exception_handler/methodname void/ /methodsynopsis para Used after changing the exception handler function using functionset_exception_handler/function, to revert to the previous exception handler (which could be the built-in or a user defined function) /para para See also functionset_exception_handler/function, functionset_error_handler/function, and functionerror_reporting/function /para /refsect1 /refentry !-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:../../../../manual.ced sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -- http://cvs.php.net/co.php/phpdoc/en/reference/errorfunc/functions/set-exception-handler.xml?r=1.1p=1 Index: phpdoc/en/reference/errorfunc/functions/set-exception-handler.xml +++ phpdoc/en/reference/errorfunc/functions/set-exception-handler.xml ?xml version=1.0 encoding=iso-8859-1? !-- $Revision: 1.1 $ -- refentry id=function.set-exception-handler refnamediv refnameset_exception_handler/refname refpurpose Sets a user-defined exception handler function /refpurpose /refnamediv refsect1 titleDescription/title methodsynopsis typestring/typemethodnameset_exception_handler/methodname methodparamtypecallback/typeparameterexception_handler/parameter/methodparam /methodsynopsis para Returns the previously defined exception handler, or false; on error. /para warn.undocumented.func; para See also functionrestore_exception_handler/function, functionrestore_error_handler/function, and functionerror_reporting/function. /para /refsect1 /refentry !-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:../../../../manual.ced sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --
[PHP-DOC] cvs: phpdoc /en/reference/ircg/functions ircg-eval-ecmascript-params.xml ircg-names.xml
philip Sat Jul 24 03:07:23 2004 EDT Added files: /phpdoc/en/reference/ircg/functions ircg-names.xml ircg-eval-ecmascript-params.xml Log: Initial check-in (remains undocumented). http://cvs.php.net/co.php/phpdoc/en/reference/ircg/functions/ircg-names.xml?r=1.1p=1 Index: phpdoc/en/reference/ircg/functions/ircg-names.xml +++ phpdoc/en/reference/ircg/functions/ircg-names.xml ?xml version=1.0 encoding=iso-8859-1? !-- $Revision: 1.1 $ -- refentry id=function.ircg-names refnamediv refnameircg_names/refname refpurposeQuery visible usernames/refpurpose /refnamediv refsect1 titleDescription/title methodsynopsis typebool/typemethodnameircg_names/methodname methodparamtypeint/typeparameterconnection/parameter/methodparam methodparamtypestring/typeparameterchannel/parameter/methodparam methodparam choice=opttypestring/typeparametertarget/parameter/methodparam /methodsynopsis para warn.undocumented.func; /para para See also functionircg_get_username/function and functionircg_lusers/function. /para /refsect1 /refentry !-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:../../../../manual.ced sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -- http://cvs.php.net/co.php/phpdoc/en/reference/ircg/functions/ircg-eval-ecmascript-params.xml?r=1.1p=1 Index: phpdoc/en/reference/ircg/functions/ircg-eval-ecmascript-params.xml +++ phpdoc/en/reference/ircg/functions/ircg-eval-ecmascript-params.xml ?xml version=1.0 encoding=iso-8859-1? !-- $Revision: 1.1 $ -- refentry id=function.ircg-eval-ecmascript-params refnamediv refnameircg_eval_ecmascript_params/refname refpurposeDecodes a list of JS-encoded parameters/refpurpose /refnamediv refsect1 titleDescription/title methodsynopsis typearray/typemethodnameircg_eval_ecmascript_params/methodname methodparamtypestring/typeparameterparams/parameter/methodparam /methodsynopsis warn.undocumented.func; screen From the ircg_eval_ecmascript_params source file: /* * State 0: Looking for ' or digit * State 1: Assembling parameter inside '..' * State 2: After escape sign: Copies single char verbatim, go to 1 * State 3: Assembling numeric para, no quotation * State 4: Looking for ,, skipping whitespace */ /screen para See also functionircg_lookup_format_messages/function. /para /refsect1 /refentry !-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:../../../../manual.ced sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --
[PHP-DOC] cvs: phpdoc /en/reference/fdf/functions fdf-set-on-import-javascript.xml
philip Sat Jul 24 13:07:15 2004 EDT Added files: /phpdoc/en/reference/fdf/functions fdf-set-on-import-javascript.xml Log: Initial check-in (still needs more documentation) http://cvs.php.net/co.php/phpdoc/en/reference/fdf/functions/fdf-set-on-import-javascript.xml?r=1.1p=1 Index: phpdoc/en/reference/fdf/functions/fdf-set-on-import-javascript.xml +++ phpdoc/en/reference/fdf/functions/fdf-set-on-import-javascript.xml ?xml version=1.0 encoding=iso-8859-1? !-- $Revision: 1.1 $ -- refentry id='function.fdf-set-on-import-javascript' refnamediv refnamefdf_set_on_import_javascript/refname refpurposeAdds javascript code to be executed when Acrobat opens the FDF/refpurpose /refnamediv refsect1 titleDescription/title methodsynopsis typebool/typemethodnamefdf_set_on_import_javascript/methodname methodparamtyperesource/typeparameterfdfdoc/parameter/methodparam methodparamtypestring/typeparameterscript/parameter/methodparam methodparam choice='opt'typebool/typeparameterbefore_data_import/parameter/methodparam /methodsynopsis warn.undocumented.func; para See also functionfdf_add_doc_javascript/functionlistendand; functionfdf_set_javascript_action/function. /para /refsect1 /refentry !-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:../../../../manual.ced sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --
[PHP-DOC] cvs: phpdoc /en/reference/xslt/functions xslt-set-sax-handlers.xml
didou Sat Jul 24 13:11:31 2004 EDT Modified files: /phpdoc/en/reference/xslt/functions xslt-set-sax-handlers.xml Log: document xslt_set_sax_handlers # work based on user note and Sterling Hughes notes in php-src http://cvs.php.net/diff.php/phpdoc/en/reference/xslt/functions/xslt-set-sax-handlers.xml?r1=1.2r2=1.3ty=u Index: phpdoc/en/reference/xslt/functions/xslt-set-sax-handlers.xml diff -u phpdoc/en/reference/xslt/functions/xslt-set-sax-handlers.xml:1.2 phpdoc/en/reference/xslt/functions/xslt-set-sax-handlers.xml:1.3 --- phpdoc/en/reference/xslt/functions/xslt-set-sax-handlers.xml:1.2Wed Apr 17 02:45:25 2002 +++ phpdoc/en/reference/xslt/functions/xslt-set-sax-handlers.xmlSat Jul 24 13:11:30 2004 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.2 $ -- +!-- $Revision: 1.3 $ -- !-- splitted from ./en/functions/xslt.xml, last change in rev 1.29 -- refentry id='function.xslt-set-sax-handlers' refnamediv @@ -16,7 +16,316 @@ methodparamtypearray/typeparameterhandlers/parameter/methodparam /methodsynopsis para - warn.undocumented.func; + functionxslt_set_sax_handlers/function registers the SAX + parameterhandlers/parameter for the document, given a XSLT + parameterprocessor/parameter resource. +/para +para + parameterhandlers/parameter should be an array in the following format: + informalexample + programlisting role=php +![CDATA[ +?php + +$handlers = array( + + document = array( +start_doc, +end_doc), + + element = array( +start_element, +end_element), + + namespace = array( +start_namespace, +end_namespace), + + comment = comment, + + pi= pi, + + character = characters + +); +? +]] + /programlisting + /informalexample + Where the functions follow the syntax described for the scheme handler + functions. +/para +note + para + The given array does not need to contain all of the different sax + handler elements (although it can), but it only needs to conform to + handler = function format described above. + /para +/note +para + Each of the individual SAX handler functions are in the format below: + itemizedlist + listitem + simpara +methodsynopsis + methodnamereplaceablestart_doc/replaceable/methodname + methodparamtyperesource/typeparameterprocessor/parameter/methodparam +/methodsynopsis + /simpara + /listitem + listitem + simpara +methodsynopsis + methodnamereplaceableend_doc/replaceable/methodname + methodparamtyperesource/typeparameterprocessor/parameter/methodparam +/methodsynopsis + /simpara + /listitem + listitem + simpara +methodsynopsis + methodnamereplaceablestart_element/replaceable/methodname + methodparamtyperesource/typeparameterprocessor/parameter/methodparam + methodparamtypestring/typeparametername/parameter/methodparam + methodparamtypearray/typeparameterattributes/parameter/methodparam +/methodsynopsis + /simpara + /listitem + listitem + simpara +methodsynopsis + methodnamereplaceableend_element/replaceable/methodname + methodparamtyperesource/typeparameterprocessor/parameter/methodparam + methodparamtypestring/typeparametername/parameter/methodparam +/methodsynopsis + /simpara + /listitem + listitem + simpara +methodsynopsis + methodnamereplaceablestart_namespace/replaceable/methodname + methodparamtyperesource/typeparameterprocessor/parameter/methodparam + methodparamtypestring/typeparameterprefix/parameter/methodparam + methodparamtypestring/typeparameteruri/parameter/methodparam +/methodsynopsis + /simpara + /listitem + listitem + simpara +methodsynopsis + methodnamereplaceableend_namespace/replaceable/methodname + methodparamtyperesource/typeparameterprocessor/parameter/methodparam + methodparamtypestring/typeparameterprefix/parameter/methodparam +/methodsynopsis + /simpara + /listitem + listitem + simpara +methodsynopsis + methodnamereplaceablecomment/replaceable/methodname + methodparamtyperesource/typeparameterprocessor/parameter/methodparam + methodparamtypestring/typeparametercontents/parameter/methodparam +/methodsynopsis + /simpara + /listitem + listitem + simpara +methodsynopsis + methodnamereplaceablepi/replaceable/methodname + methodparamtyperesource/typeparameterprocessor/parameter/methodparam + methodparamtypestring/typeparametertarget/parameter/methodparam + methodparamtypestring/typeparametercontents/parameter/methodparam +
[PHP-DOC] cvs: phpdoc /en/reference/xslt/functions xslt-set-sax-handlers.xml
didou Sat Jul 24 13:55:38 2004 EDT Modified files: /phpdoc/en/reference/xslt/functions xslt-set-sax-handlers.xml Log: fix the OO example to make it do the same thing as the previous one # copied my personnal work by mistake http://cvs.php.net/diff.php/phpdoc/en/reference/xslt/functions/xslt-set-sax-handlers.xml?r1=1.3r2=1.4ty=u Index: phpdoc/en/reference/xslt/functions/xslt-set-sax-handlers.xml diff -u phpdoc/en/reference/xslt/functions/xslt-set-sax-handlers.xml:1.3 phpdoc/en/reference/xslt/functions/xslt-set-sax-handlers.xml:1.4 --- phpdoc/en/reference/xslt/functions/xslt-set-sax-handlers.xml:1.3Sat Jul 24 13:11:30 2004 +++ phpdoc/en/reference/xslt/functions/xslt-set-sax-handlers.xmlSat Jul 24 13:55:38 2004 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.3 $ -- +!-- $Revision: 1.4 $ -- !-- splitted from ./en/functions/xslt.xml, last change in rev 1.29 -- refentry id='function.xslt-set-sax-handlers' refnamediv @@ -203,21 +203,21 @@ function start_element($parser, $name, $attributes) { global $result,$tag; - $result .= .$name.; + $result .= . $name . ; $tag = $name; } function end_element($parser, $name) { global $result; - $result .= /.$name.; + $result .= / . $name . ; } function characters($parser, $data) { global $result,$tag; - if($tag==auteur) { -$data=strtoupper($data); + if ($tag == auteur ) { +$data = strtoupper($data); } $result .= $data; } @@ -261,22 +261,22 @@ // complete reading the document } - function start_element($parser, $tagname, $attributes) { -$this-tag = $tagname; + function start_element($parser, $name, $attributes) { +$this-tag = $name; +$this-buffer .= . $name . ; $this-attrs = $attributes; } - function end_element($parser, $tagname) + function end_element($parser, $name) { $this-tag = ''; +$this-buffer .= / . $name . ; } function characters($parser, $data) { -// Are we calling a PHP function ? -if ($this-tag == 'php') { - $function = $this-attrs['function']; - $data = $function($data); +if ($this-tag == 'auteur') { + $data = strtoupper($data); } $this-buffer .= $data; }
[PHP-DOC] cvs: phpdoc /en/reference/strings/functions strcspn.xml strspn.xml
philip Sat Jul 24 14:47:21 2004 EDT Modified files: /phpdoc/en/reference/strings/functions strcspn.xml strspn.xml Log: Mention that the optional start and length parameters became available in PHP 4.3.0 #info provided by rioter http://cvs.php.net/diff.php/phpdoc/en/reference/strings/functions/strcspn.xml?r1=1.4r2=1.5ty=u Index: phpdoc/en/reference/strings/functions/strcspn.xml diff -u phpdoc/en/reference/strings/functions/strcspn.xml:1.4 phpdoc/en/reference/strings/functions/strcspn.xml:1.5 --- phpdoc/en/reference/strings/functions/strcspn.xml:1.4 Thu Jul 22 18:51:12 2004 +++ phpdoc/en/reference/strings/functions/strcspn.xml Sat Jul 24 14:47:20 2004 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.4 $ -- +!-- $Revision: 1.5 $ -- !-- splitted from ./en/functions/strings.xml, last change in rev 1.2 -- refentry id=function.strcspn refnamediv @@ -23,9 +23,10 @@ contain any of the characters in parameterstr2/parameter. /simpara simpara - Additionally it accepts two optional integer - parameters that can be used to define the starting position - and the length of the string to examine. + As of PHP 4.3.0, functionstrcspn/function accepts two optional + typeinteger/type parameters that can be used to define the + parameterstart/parameter position and the + parameterlength/parameter of the string to examine. /simpara note.bin-safe; http://cvs.php.net/diff.php/phpdoc/en/reference/strings/functions/strspn.xml?r1=1.5r2=1.6ty=u Index: phpdoc/en/reference/strings/functions/strspn.xml diff -u phpdoc/en/reference/strings/functions/strspn.xml:1.5 phpdoc/en/reference/strings/functions/strspn.xml:1.6 --- phpdoc/en/reference/strings/functions/strspn.xml:1.5Thu Jul 22 18:51:12 2004 +++ phpdoc/en/reference/strings/functions/strspn.xmlSat Jul 24 14:47:20 2004 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.5 $ -- +!-- $Revision: 1.6 $ -- !-- splitted from ./en/functions/strings.xml, last change in rev 1.2 -- refentry id=function.strspn refnamediv @@ -36,10 +36,13 @@ will assign 2 to varname$var/varname, because the string 42 will be the longest segment containing characters from 1234567890. /para +simpara + As of PHP 4.3.0, functionstrspn/function accepts two optional + typeinteger/type parameters that can be used to define the + parameterstart/parameter position and the + parameterlength/parameter of the string to examine. +/simpara para - Additionally it accepts two optional integer - parameters that can be used to define the starting position - and the length of the string to examine. informalexample programlisting role=php ![CDATA[
[PHP-DOC] #29367 [NEW]: mysqli_init
From: jsgoupil at lookstrike dot com Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: mysqli_init Description: In the page http://ca3.php.net/manual/fr/function.mysqli-stmt-init.php We can see mysqli_stmt-init and lower in the page, we can see mysqli_stmt_init. (I think it is in all languages and also in the list of the functions on the left, and also in the last list of function on http://ca3.php.net/manual/en/ref.mysqli.php) We can also see on http://ca3.php.net/manual/en/ref.mysqli.php stmt_initInitializes a statement for use with mysqli_stmt_prepare (There is no dash to seperate the function and explanation) English Only Expected result: Supposed to be mysqli_stmt_init() ? -- Edit bug report at http://bugs.php.net/?id=29367edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29367r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29367r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=29367r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=29367r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=29367r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=29367r=needscript Try newer version: http://bugs.php.net/fix.php?id=29367r=oldversion Not developer issue:http://bugs.php.net/fix.php?id=29367r=support Expected behavior: http://bugs.php.net/fix.php?id=29367r=notwrong Not enough info:http://bugs.php.net/fix.php?id=29367r=notenoughinfo Submitted twice:http://bugs.php.net/fix.php?id=29367r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=29367r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29367r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=29367r=dst IIS Stability: http://bugs.php.net/fix.php?id=29367r=isapi Install GNU Sed:http://bugs.php.net/fix.php?id=29367r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=29367r=float
[PHP-DOC] #29367 [Opn-Csd]: mysqli_stmt_init() typo
ID: 29367 Updated by: [EMAIL PROTECTED] -Summary: mysqli_init Reported By: jsgoupil at lookstrike dot com -Status: Open +Status: Closed Bug Type:Documentation problem PHP Version: Irrelevant New Comment: What's funny is I fixed this about an hour ago :) It'll show up when the manual is next built, here's the diff: http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-stmt-init.xml?r1=1.3r2=1.4 Thanks for the report! Previous Comments: [2004-07-24 21:29:33] jsgoupil at lookstrike dot com Description: In the page http://ca3.php.net/manual/fr/function.mysqli-stmt-init.php We can see mysqli_stmt-init and lower in the page, we can see mysqli_stmt_init. (I think it is in all languages and also in the list of the functions on the left, and also in the last list of function on http://ca3.php.net/manual/en/ref.mysqli.php) We can also see on http://ca3.php.net/manual/en/ref.mysqli.php stmt_initInitializes a statement for use with mysqli_stmt_prepare (There is no dash to seperate the function and explanation) English Only Expected result: Supposed to be mysqli_stmt_init() ? -- Edit this bug report at http://bugs.php.net/?id=29367edit=1
[PHP-DOC] #27202 [Bgs-Opn]: document all curl constants
ID: 27202 Updated by: [EMAIL PROTECTED] -Summary: CURLOPT_POSTFIELDS and CURLOPT_POST don't work properly Reported By: leander2 at berwers dot com -Status: Bogus +Status: Open -Bug Type: cURL related +Bug Type: Documentation problem Operating System: Linux PHP Version: Irrelevant New Comment: Marking this as a documentation problem and rewriting the summary as 'document all curl constants'. All curl constants should be documented (or perhaps mention that all are not, at least until they are), here is a complete list: http://lxr.php.net/source/php-src/ext/curl/interface.c#130 Wow, there sure are a lot of curl constants! :) List of constants go here: http://cvs.php.net/phpdoc/en/reference/curl/constants.xml Docs (with useful information) goes here: http://cvs.php.net/phpdoc/en/reference/curl/functions/curl-setopt.xml Previous Comments: [2004-07-24 23:11:04] fido at list dot pl Sorry to bother You, but could You point me to a place in manual where this option is described?? I searched it a few times (with and without Ctrl+F) and couldn't find it. Maybe this feature is not yet documented? I've lost a few hours today fighting with this.. and gave up. I did it by reinitiating CURL. [2004-02-10 11:14:43] [EMAIL PROTECTED] Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php You need to set curl_setopt($ch, CURLOPT_HTTPGET, 1); for the 2nd request, the curl_setopt($ch, CURLOPT_URL,http://second;); curl_setopt($ch, CURLOPT_POST, 0); are not needed for request #2. [2004-02-10 04:46:46] leander2 at berwers dot com Description: CURLOPT_POST = 0 and/or CURLOPT_POSTFIELDS = null does actually do a POST while a GET is required Reproduce code: --- $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,http://first;); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $b); $x = curl_exec($ch); curl_setopt($ch, CURLOPT_URL,http://second;); curl_setopt($ch, CURLOPT_POST, 0); curl_setopt($ch, CURLOPT_POSTFIELDS, null); curl_close($ch); Expected result: The first request should be a POST and the second request should be a GET. Actual result: -- The first request is a POST (which is ok), but the second request is also a POST. -- Edit this bug report at http://bugs.php.net/?id=27202edit=1