Re[2]: [PHP-DOC] cvs: phpdoc /dsssl html-common.dsl
||*()*|| Hi, Jakub. JV What about moving pcre.pattern.* to ref.pcre page? It will be long but JV still shorter than ref.mbstring :-). It consists of changing JV refentry to section and moving links to these two files to JV partintro (I already tested it). I don't think it is a good idea. It seems to me that PCRE reference has got many links from internet, and this part of manual perhaps even the most often visited at least by me. It will take a time to get accustomed to new reference position. This regexps reference is good not only for PHP users, but for many, who regexps more than PHP, but finds PHP manual more clear than MAN PCRE. Mixed with various specific PHP issues pcre.pattern will not be as clear and hence less useful. t --
Re[2]: [PHP-DOC] cvs: phpdoc /dsssl html-common.dsl
On Fri, 8 Apr 2005, anatoly techtonik wrote: This regexps reference is good not only for PHP users, but for many, who regexps more than PHP, but finds PHP manual more clear than MAN PCRE. Our man page is an exact copy of man pcrepattern - albeit an older version... Derick -- Derick Rethans http://derickrethans.nl | http://ez.no | http://xdebug.org
[PHP-DOC] cvs: phpdoc /en/reference/pdo reference.xml /en/reference/pdo/functions PDOStatement-nextRowset.xml
dbs Sat Apr 9 11:57:10 2005 EDT Added files: /phpdoc/en/reference/pdo/functions PDOStatement-nextRowset.xml Modified files: /phpdoc/en/reference/pdoreference.xml Log: Document PDOStatement::nextRowset so I don't forget about it again http://cvs.php.net/diff.php/phpdoc/en/reference/pdo/reference.xml?r1=1.21r2=1.22ty=u Index: phpdoc/en/reference/pdo/reference.xml diff -u phpdoc/en/reference/pdo/reference.xml:1.21 phpdoc/en/reference/pdo/reference.xml:1.22 --- phpdoc/en/reference/pdo/reference.xml:1.21 Thu Feb 10 14:58:02 2005 +++ phpdoc/en/reference/pdo/reference.xml Sat Apr 9 11:57:09 2005 @@ -1,5 +1,5 @@ ?xml version='1.0' encoding='iso-8859-1'? -!-- $Revision: 1.21 $ -- +!-- $Revision: 1.22 $ -- !-- Generated by xml_proto.php v2.1. Found in /scripts directory of phpdoc. -- reference id=ref.pdo titlePDO Functions/title @@ -380,6 +380,12 @@ /listitem listitem para + link linkend='function.PDOStatement-nextRowset'nextRowset/link + - retrieves the next rowset (result set) +/para + /listitem + listitem +para link linkend='function.PDOStatement-rowCount'rowCount/link - returns the number of rows that were affected by the execution of an SQL statement http://cvs.php.net/co.php/phpdoc/en/reference/pdo/functions/PDOStatement-nextRowset.xml?r=1.1p=1 Index: phpdoc/en/reference/pdo/functions/PDOStatement-nextRowset.xml +++ phpdoc/en/reference/pdo/functions/PDOStatement-nextRowset.xml ?xml version=1.0 encoding=iso-8859-1? !-- $Revision: 1.1 $ -- !-- Generated by xml_proto.php v2.2. Found in /scripts directory of phpdoc. -- refentry id=function.PDOStatement-nextRowset refnamediv refnamePDOStatement::nextRowset/refname refpurpose Advances to the next rowset in a multi-rowset statement handle /refpurpose /refnamediv refsect1 role=description reftitle.description; methodsynopsis typebool/typemethodnamePDOStatement::nextRowset/methodname void/ /methodsynopsis warn.experimental.func; para Some database servers support stored procedures that return more than one rowset (also known as a result set). functionPDOStatement::nextRowSet/function enables you to access the second and subsequent rowsets associated with a PDOStatement object. Each rowset can have a different set of columns from the preceding rowset. /para /refsect1 refsect1 role=returnvalues reftitle.returnvalues; para return.success; /para /refsect1 refsect1 role=examples reftitle.examples; para example titleFetching multiple rowsets returned from a stored procedure/title para The following example shows how to call a stored procedure, MULTIPLE_RESULTS, that returns three rowsets. We use a do / while loop to loop over the functionPDOStatement::nextRowset/function method, which returns false and terminates the loop when no more rowsets can be returned. /para programlisting role=php ![CDATA[ ?php $sql = 'CALL multiple_rowsets()'; $stmt = $conn-query($sql); $i = 1; do { $rowset = $stmt-fetchAll(PDO_FETCH_NUM); if ($rowset) { printResultSet($rowset, $i); } $i++; } while ($stmt-nextRowset()); function printResultSet($rowset, $i) { print Result set $i:\n; foreach ($rowset as $row) { foreach ($row as $col) { print $col . \t; } print \n; } print \n; } ? ]] /programlisting example.outputs; screen ![CDATA[ Result set 1: applered banana yellow Result set 2: orange orange150 banana yellow175 Result set 3: lime green applered banana yellow ]] /screen /example /para /refsect1 refsect1 role=seealso reftitle.seealso; para simplelist memberfunctionPDOStatement::columnCount/function/member memberfunctionPDOStatement::execute/function/member memberfunctionPDOStatement::getColumnMeta/function/member memberfunctionPDOStatement::query/function/member /simplelist /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 --
Re: [PHP-DOC] cvs: phpdoc /dsssl html-common.dsl
anatoly techtonik wrote: I don't think it is a good idea. It seems to me that PCRE reference has got many links from internet, and this part of manual perhaps even the most often visited at least by me. It will take a time to get accustomed to new reference position. This regexps reference is good not only for PHP users, but for many, who regexps more than PHP, but finds PHP manual more clear than MAN PCRE. Mixed with various specific PHP issues pcre.pattern will not be as clear and hence less useful. I agree but we need to find a solution to hide meaningless no version information from these two pages. I offered moving them to appendix (they can still live in reference/pcre directory and can retain their ids thus URLs AFAIK) but it was rejected. Jakub Vrana
[PHP-DOC] #32650 [NEW]: Example 1 too slim on mktime()
From: [EMAIL PROTECTED] Operating system: N/A PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: Example 1 too slim on mktime() Description: On the mktime() function - www.php.net/mktime - the first example box is very slim so the code is on multiple lines. Each echo really only needs to be on 1 line rather than split. I would fix this myself now but it is 2:34am and I want to go to bed. I'll fix this in the morning :) -- Edit bug report at http://bugs.php.net/?id=32650edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32650r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32650r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32650r=trysnapshot51 Fixed in CVS:http://bugs.php.net/fix.php?id=32650r=fixedcvs Fixed in release:http://bugs.php.net/fix.php?id=32650r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=32650r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=32650r=needscript Try newer version: http://bugs.php.net/fix.php?id=32650r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=32650r=support Expected behavior: http://bugs.php.net/fix.php?id=32650r=notwrong Not enough info: http://bugs.php.net/fix.php?id=32650r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=32650r=submittedtwice register_globals:http://bugs.php.net/fix.php?id=32650r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32650r=php3 Daylight Savings:http://bugs.php.net/fix.php?id=32650r=dst IIS Stability: http://bugs.php.net/fix.php?id=32650r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=32650r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=32650r=float No Zend Extensions: http://bugs.php.net/fix.php?id=32650r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=32650r=mysqlcfg
[PHP-DOC] #32650 [Opn-Ver]: Example 1 too slim on mktime()
ID: 32650 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Verified Bug Type: Documentation problem Operating System: N/A PHP Version: Irrelevant -Assigned To: +Assigned To: dmytton Previous Comments: [2005-04-10 03:34:57] [EMAIL PROTECTED] Description: On the mktime() function - www.php.net/mktime - the first example box is very slim so the code is on multiple lines. Each echo really only needs to be on 1 line rather than split. I would fix this myself now but it is 2:34am and I want to go to bed. I'll fix this in the morning :) -- Edit this bug report at http://bugs.php.net/?id=32650edit=1
[PHP-DOC] #32651 [NEW]: [DOC] French : Error in array
From: jsgoupil at lookstrike dot com Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: [DOC] French : Error in array Description: fr/reference/array/functions/array.xml $Revision: 1.17 $ =? remplacer par = http://jsgoupil.homelinux.com/phpdoc/diff20050409_1.txt -- Edit bug report at http://bugs.php.net/?id=32651edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32651r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32651r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32651r=trysnapshot51 Fixed in CVS:http://bugs.php.net/fix.php?id=32651r=fixedcvs Fixed in release:http://bugs.php.net/fix.php?id=32651r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=32651r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=32651r=needscript Try newer version: http://bugs.php.net/fix.php?id=32651r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=32651r=support Expected behavior: http://bugs.php.net/fix.php?id=32651r=notwrong Not enough info: http://bugs.php.net/fix.php?id=32651r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=32651r=submittedtwice register_globals:http://bugs.php.net/fix.php?id=32651r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32651r=php3 Daylight Savings:http://bugs.php.net/fix.php?id=32651r=dst IIS Stability: http://bugs.php.net/fix.php?id=32651r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=32651r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=32651r=float No Zend Extensions: http://bugs.php.net/fix.php?id=32651r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=32651r=mysqlcfg
[PHP-DOC] #32652 [NEW]: [DOC] French : split
From: jsgoupil at lookstrike dot com Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: [DOC] French : split Description: fr/reference/regex/functions/split.xml $Revision: 1.14 $ puissant - puissance http://jsgoupil.homelinux.com/phpdoc/diff20050410_1.txt -- Edit bug report at http://bugs.php.net/?id=32652edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32652r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32652r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32652r=trysnapshot51 Fixed in CVS:http://bugs.php.net/fix.php?id=32652r=fixedcvs Fixed in release:http://bugs.php.net/fix.php?id=32652r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=32652r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=32652r=needscript Try newer version: http://bugs.php.net/fix.php?id=32652r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=32652r=support Expected behavior: http://bugs.php.net/fix.php?id=32652r=notwrong Not enough info: http://bugs.php.net/fix.php?id=32652r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=32652r=submittedtwice register_globals:http://bugs.php.net/fix.php?id=32652r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32652r=php3 Daylight Savings:http://bugs.php.net/fix.php?id=32652r=dst IIS Stability: http://bugs.php.net/fix.php?id=32652r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=32652r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=32652r=float No Zend Extensions: http://bugs.php.net/fix.php?id=32652r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=32652r=mysqlcfg