Re: [PHP-DOC] cvs: phpdoc /en/reference/curl/functions curl-multi-add-handle.xml curl-multi-close.xml curl-multi-exec.xml curl-multi-init.xml

2007-06-07 Thread Dave Barr

Hannes Magnusson wrote:


On 6/7/07, Logan Buesching [EMAIL PROTECTED] wrote:

+++ phpdoc/en/reference/curl/functions/curl-multi-add-handle.xmlThu Jun 
 7
+$running=null;
 //execute the handles
-curl_multi_exec($mh);
+do {
+curl_multi_exec($mh);
+} while($running  0);


This doesn't look right...

-Hannes


It should be curl_multi_exec($mh, $running); I believe.

Dave


Re: [PHP-DOC] a request to become editor

2007-05-21 Thread Dave Barr

Philip Olson wrote:

We again could use an editor that is responsible for tackling our  
administrative tasks. It's been well over a year since Gabor stepped  
down and having a replacement to continue his legacy feels like a  
good idea. We've accomplished a lot since but are missing the other  
things being done. I humbly request taking over as editor and would  
be sure (and required) to complete the following tasks:


+1, of course.


Regards,
Philip Olson


Dave


[PHP-DOC] ./configure - configure.php

2007-05-12 Thread Dave Barr

Hi

Is there a reason that we rely on tools such as autoconf? Reducing the 
reliance on external tools would help the barrier of entry for newcomers 
to PHPDoc. configure is basically a shell script, and as we all know, 
PHP does a great job as a shell script replacement. :)


Therefore:

http://davephp.net/configure.php.txt
http://davephp.net/configure.phps

Ideas?

Dave


Re: [PHP-DOC] Problematic build of phpdoc-bg

2006-12-29 Thread Dave Barr

Kouber Saparev wrote:

[snip]



Then, an error that dsssl/catalog is a directory and not a file 
followed, and then some HTML output to the console started. The end was:




You will need to use: cvs update -dP

Dave


[PHP-DOC] cvs: phpdoc /en/faq installation.xml

2006-12-15 Thread Dave Barr
daveFri Dec 15 09:53:44 2006 UTC

  Modified files:  
/phpdoc/en/faq  installation.xml 
  Log:
  - ant  at, fixes Bug #39792.
  
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/faq/installation.xml?r1=1.46r2=1.47diff_format=u
Index: phpdoc/en/faq/installation.xml
diff -u phpdoc/en/faq/installation.xml:1.46 phpdoc/en/faq/installation.xml:1.47
--- phpdoc/en/faq/installation.xml:1.46 Sat Feb 11 20:31:33 2006
+++ phpdoc/en/faq/installation.xml  Fri Dec 15 09:53:44 2006
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.46 $ --
+!-- $Revision: 1.47 $ --
  chapter id=faq.installation
   titleInstallation FAQ/title
   titleabbrevInstallation/titleabbrev
@@ -539,7 +539,7 @@
 Double click on the Path entry
/para/listitem
listitempara
-Enter your PHP directory ant the end, including ';' before (e.g.
+Enter your PHP directory at the end, including ';' before (e.g.
 literal;C:\php/literal)
/para/listitem
listitempara


Re: [PHP-DOC] Proposal to remove void from protos

2006-11-21 Thread Dave Barr

Jakub Vrana wrote:


Hello!

Would you agree with removal of the word void in methodsynpsis both
from return type and parameters list?

I propose to change the return type to null which it really is and
remove it completely from parameters list as it is the way to declare
that function doesn't accept any parameters in user-defined functions.

New synopsis would be: null debug_print_backtrace()
instead of: void debug_print_backtrace(void)


Can't we add void to http://php.net/language.pseudo-types instead?


Jakub Vrana


Dave


[PHP-DOC] cvs: phpdoc /en/reference/ctype/functions ctype-cntrl.xml

2006-11-04 Thread Dave Barr
daveSat Nov  4 09:17:45 2006 UTC

  Modified files:  
/phpdoc/en/reference/ctype/functionsctype-cntrl.xml 
  Log:
  - Fix #39238.
  
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/ctype/functions/ctype-cntrl.xml?r1=1.7r2=1.8diff_format=u
Index: phpdoc/en/reference/ctype/functions/ctype-cntrl.xml
diff -u phpdoc/en/reference/ctype/functions/ctype-cntrl.xml:1.7 
phpdoc/en/reference/ctype/functions/ctype-cntrl.xml:1.8
--- phpdoc/en/reference/ctype/functions/ctype-cntrl.xml:1.7 Thu Feb 16 
08:32:06 2006
+++ phpdoc/en/reference/ctype/functions/ctype-cntrl.xml Sat Nov  4 09:17:45 2006
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.7 $ --
+!-- $Revision: 1.8 $ --
 !-- splitted from ./en/functions/ctype.xml, last change in rev 1.1 --
 refentry id=function.ctype-cntrl
  refnamediv
@@ -40,7 +40,7 @@
   reftitle.returnvalues;
   para
Returns true; if every character in parametertext/parameter is 
-   a letter from the current locale, false; otherwise.
+   a control character from the current locale, false; otherwise.
   /para
  /refsect1
 


[PHP-DOC] cvs: phpdoc /en/internals/zendapi calling-user-functions.xml variables.xml /en/reference/datetime/functions date.xml /en/reference/hw/functions hw-new-document.xml /en/reference/ibase con

2006-10-14 Thread Dave Barr
daveSun Oct 15 03:40:28 2006 UTC

  Modified files:  
/phpdoc/en/internals/zendapicalling-user-functions.xml 
variables.xml 
/phpdoc/en/reference/datetime/functions date.xml 
/phpdoc/en/reference/hw/functions   hw-new-document.xml 
/phpdoc/en/reference/ibase  constants.xml 
/phpdoc/en/reference/imap/functions imap-fetchstructure.xml 
/phpdoc/en/reference/mnogosearchconfigure.xml 
/phpdoc/en/reference/mnogosearch/functions  udm-cat-list.xml 
udm-load-ispell-data.xml 
/phpdoc/en/reference/oci8/functions oci-bind-array-by-name.xml 
oci-bind-by-name.xml 
oci-field-size.xml 
/phpdoc/en/reference/pdf/functions  pdf-get-fontsize.xml 
/phpdoc/en/reference/sesam/functionssesam-fetch-array.xml 
  Log:
  - WS (#39109).
  
  http://cvs.php.net/viewvc.cgi/phpdoc/en/internals/zendapi/calling-user-functions.xml?r1=1.2r2=1.3diff_format=u
Index: phpdoc/en/internals/zendapi/calling-user-functions.xml
diff -u phpdoc/en/internals/zendapi/calling-user-functions.xml:1.2 
phpdoc/en/internals/zendapi/calling-user-functions.xml:1.3
--- phpdoc/en/internals/zendapi/calling-user-functions.xml:1.2  Sun Jan 22 
23:31:08 2006
+++ phpdoc/en/internals/zendapi/calling-user-functions.xml  Sun Oct 15 
03:40:27 2006
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=ISO-8859-1 ?
- !-- $Revision: 1.2 $ --
+ !-- $Revision: 1.3 $ --
  sect1 id=zend.calling-user-functions 
   titleCalling User Functions/title 
   para
@@ -25,7 +25,7 @@
envarfunction_table/envar  and envarobject/envar; either
will do. If you want to call a method, you have to supply the
object that contains this method, in which case
-   functioncall_user_function/functionautomatically sets the
+   functioncall_user_function/function automatically sets the
function table to this object's function table. Otherwise, you only
need to specify envarfunction_table/envar and can set
envarobject/envar to literalNULL/literal.
http://cvs.php.net/viewvc.cgi/phpdoc/en/internals/zendapi/variables.xml?r1=1.4r2=1.5diff_format=u
Index: phpdoc/en/internals/zendapi/variables.xml
diff -u phpdoc/en/internals/zendapi/variables.xml:1.4 
phpdoc/en/internals/zendapi/variables.xml:1.5
--- phpdoc/en/internals/zendapi/variables.xml:1.4   Fri Sep  1 22:59:45 2006
+++ phpdoc/en/internals/zendapi/variables.xml   Sun Oct 15 03:40:27 2006
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=ISO-8859-1 ?
- !-- $Revision: 1.4 $ --
+ !-- $Revision: 1.5 $ --
  sect1 id=zend.variables 
   titleCreating Variables/title
   para
@@ -999,7 +999,7 @@
row
 entry colname=col1literalrsrc_id/literal/entry
 entry colname=col2This is the address of the
- literalzval */literalcontainer the user passed to
+ literalzval */literal container the user passed to
  your function, e.g. literalamp;z_resource/literal if
  literalzval *z_resource/literal is given./entry
/row
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/datetime/functions/date.xml?r1=1.33r2=1.34diff_format=u
Index: phpdoc/en/reference/datetime/functions/date.xml
diff -u phpdoc/en/reference/datetime/functions/date.xml:1.33 
phpdoc/en/reference/datetime/functions/date.xml:1.34
--- phpdoc/en/reference/datetime/functions/date.xml:1.33Tue Oct 10 
12:29:19 2006
+++ phpdoc/en/reference/datetime/functions/date.xml Sun Oct 15 03:40:27 2006
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.33 $ --
+!-- $Revision: 1.34 $ --
 refentry id=function.date
  refnamediv
   refnamedate/refname
@@ -395,7 +395,7 @@
functionmktime/function together to find dates in the future
or the past.
example
-titlefunctiondate/function and 
functionmktime/functionexample/title
+titlefunctiondate/function and functionmktime/function 
example/title
 programlisting role=php
 ![CDATA[
 ?php
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/hw/functions/hw-new-document.xml?r1=1.3r2=1.4diff_format=u
Index: phpdoc/en/reference/hw/functions/hw-new-document.xml
diff -u phpdoc/en/reference/hw/functions/hw-new-document.xml:1.3 
phpdoc/en/reference/hw/functions/hw-new-document.xml:1.4
--- phpdoc/en/reference/hw/functions/hw-new-document.xml:1.3Thu Aug 19 
12:14:46 2004
+++ phpdoc/en/reference/hw/functions/hw-new-document.xmlSun Oct 15 
03:40:27 2006
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.3 $ --
+!-- $Revision: 1.4 $ --
 !-- splitted from ./en/functions/hw.xml, last change in rev 1.2 --
   refentry id=function.hw-new-document
refnamediv
@@ -19,7 +19,7 @@
  parameterdocument_data/parameter and object record set to
  parameterobject_record/parameter. The length of the 
  parameterdocument_data/parameter has to passed in
- parameterdocument_size/parameterThis 

[PHP-DOC] cvs: phpdoc /en/features safe-mode.xml /en/install/unix sun.xml /en/internals/zendapi arguments.xml calling-user-functions.xml variables.xml /en/reference/datetime/functions date.xml /en

2006-10-14 Thread Dave Barr
daveSun Oct 15 03:44:38 2006 UTC

  Modified files:  
/phpdoc/en/features safe-mode.xml 
/phpdoc/en/install/unix sun.xml 
/phpdoc/en/internals/zendapiarguments.xml 
calling-user-functions.xml 
variables.xml 
/phpdoc/en/reference/datetime/functions date.xml 
/phpdoc/en/reference/http/functions/parsers http-parse-message.xml 
/phpdoc/en/reference/hw/functions   hw-new-document.xml 
/phpdoc/en/reference/ibase  constants.xml 
/phpdoc/en/reference/imap/functions imap-fetchstructure.xml 
/phpdoc/en/reference/mnogosearchconfigure.xml 
/phpdoc/en/reference/mnogosearch/functions  udm-cat-list.xml 
udm-load-ispell-data.xml 
/phpdoc/en/reference/ncurses/functions  ncurses-napms.xml 
/phpdoc/en/reference/oci8/functions oci-bind-array-by-name.xml 
oci-bind-by-name.xml 
oci-field-size.xml 
/phpdoc/en/reference/pdf/functions  pdf-get-fontsize.xml 
/phpdoc/en/reference/sesam/functionssesam-fetch-array.xml 
/phpdoc/en/reference/swf/functions  swf-defineline.xml 
swf-lookat.xml 
  Log:
  - WS (#39109).
  
  http://cvs.php.net/viewvc.cgi/phpdoc/en/features/safe-mode.xml?r1=1.65r2=1.66diff_format=u
Index: phpdoc/en/features/safe-mode.xml
diff -u phpdoc/en/features/safe-mode.xml:1.65 
phpdoc/en/features/safe-mode.xml:1.66
--- phpdoc/en/features/safe-mode.xml:1.65   Sun Feb 19 13:19:42 2006
+++ phpdoc/en/features/safe-mode.xmlSun Oct 15 03:44:37 2006
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.65 $ --
+!-- $Revision: 1.66 $ --
  chapter id=features.safe-mode
   titleSafe Mode/title
 
@@ -552,7 +552,7 @@
 entryfunctioncopy/function/entry
 entrysm.uidcheck; sm.uidcheck.dir; (on 
 parametersource/parameter and 
-parametertarget/parameter) /entry
+parametertarget/parameter)/entry
/row
row
 entryfunctionchgrp/function/entry
http://cvs.php.net/viewvc.cgi/phpdoc/en/install/unix/sun.xml?r1=1.2r2=1.3diff_format=u
Index: phpdoc/en/install/unix/sun.xml
diff -u phpdoc/en/install/unix/sun.xml:1.2 phpdoc/en/install/unix/sun.xml:1.3
--- phpdoc/en/install/unix/sun.xml:1.2  Tue Aug 10 13:01:07 2004
+++ phpdoc/en/install/unix/sun.xml  Sun Oct 15 03:44:37 2006
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.2 $ --
+!-- $Revision: 1.3 $ --
sect1 id=install.unix.sun
 titleSun, iPlanet and Netscape servers on Sun Solaris/title
 para
@@ -72,7 +72,7 @@
   listitem
simpara
 Change to your extracted PHP directory:
-userinputcd ../php-x.x.x /userinput
+userinputcd ../php-x.x.x/userinput
/simpara
   /listitem
   listitem
http://cvs.php.net/viewvc.cgi/phpdoc/en/internals/zendapi/arguments.xml?r1=1.3r2=1.4diff_format=u
Index: phpdoc/en/internals/zendapi/arguments.xml
diff -u phpdoc/en/internals/zendapi/arguments.xml:1.3 
phpdoc/en/internals/zendapi/arguments.xml:1.4
--- phpdoc/en/internals/zendapi/arguments.xml:1.3   Sun Jan 22 23:18:08 2006
+++ phpdoc/en/internals/zendapi/arguments.xml   Sun Oct 15 03:44:37 2006
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=ISO-8859-1 ?
- !-- $Revision: 1.3 $ --
+ !-- $Revision: 1.4 $ --
  sect1 id=zend.arguments 
   titleAccepting Arguments/title 
   para
@@ -145,31 +145,31 @@
 Here is the full list of type specifiers:
 itemizedlist
  listitem
-  paraliterall - /literallong/para
+  paraliterall/literal - long/para
  /listitem
  listitem
-  paraliterald - /literaldouble/para
+  paraliterald/literal - double/para
  /listitem
  listitem
-  paraliterals - /literalstring (with possible null bytes) and its 
length/para
+  paraliterals/literal - string (with possible null bytes) and its 
length/para
  /listitem
  listitem
-  paraliteralb - /literalboolean/para
+  paraliteralb/literal - boolean/para
  /listitem
  listitem
-  paraliteralr - /literalresource, stored in 
literalzval*/literal/para
+  paraliteralr/literal - resource, stored in 
literalzval*/literal/para
  /listitem
  listitem
-  paraliterala - /literalarray, stored in 
literalzval*/literal/para
+  paraliterala/literal - array, stored in 
literalzval*/literal/para
  /listitem
  listitem
-  paraliteralo - /literalobject (of any class), stored in 
literalzval*/literal/para
+  paraliteralo/literal - object (of any class), stored in 
literalzval*/literal/para
  /listitem
  listitem
-  paraliteralO - /literalobject (of class specified by class entry), 
stored in literalzval*/literal/para
+  paraliteralO/literal - object (of class specified by class entry), 
stored in literalzval*/literal/para
   

[PHP-DOC] cvs: phpdoc /en/reference/sem/functions ftok.xml

2006-10-14 Thread Dave Barr
daveSun Oct 15 04:17:56 2006 UTC

  Modified files:  
/phpdoc/en/reference/sem/functions  ftok.xml 
  Log:
  - should=must (Fixes #38896).
  
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/sem/functions/ftok.xml?r1=1.4r2=1.5diff_format=u
Index: phpdoc/en/reference/sem/functions/ftok.xml
diff -u phpdoc/en/reference/sem/functions/ftok.xml:1.4 
phpdoc/en/reference/sem/functions/ftok.xml:1.5
--- phpdoc/en/reference/sem/functions/ftok.xml:1.4  Mon Jun  9 19:13:07 2003
+++ phpdoc/en/reference/sem/functions/ftok.xml  Sun Oct 15 04:17:56 2006
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.4 $ --
+!-- $Revision: 1.5 $ --
 !-- splitted from ./en/functions/sem.xml, last change in rev 1.2 --
   refentry id='function.ftok'
refnamediv
@@ -21,7 +21,7 @@
  into a
  literalinteger/literal for use with for example
  functionshmop_open/function and other System V IPC keys. The
- parameterproj/parameter parameter should be a one character string.
+ parameterproj/parameter parameter must be a one character string.
 /para
 para
  On success the return value will be the created key value, otherwise 


[PHP-DOC] cvs: phpdoc /en/reference/mysql/functions mysql-list-tables.xml

2006-10-14 Thread Dave Barr
daveSun Oct 15 04:41:43 2006 UTC

  Modified files:  
/phpdoc/en/reference/mysql/functionsmysql-list-tables.xml 
  Log:
  - Document when function became deprecated (Bug #38448).
  
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mysql/functions/mysql-list-tables.xml?r1=1.17r2=1.18diff_format=u
Index: phpdoc/en/reference/mysql/functions/mysql-list-tables.xml
diff -u phpdoc/en/reference/mysql/functions/mysql-list-tables.xml:1.17 
phpdoc/en/reference/mysql/functions/mysql-list-tables.xml:1.18
--- phpdoc/en/reference/mysql/functions/mysql-list-tables.xml:1.17  Sat Jul 
 2 11:48:16 2005
+++ phpdoc/en/reference/mysql/functions/mysql-list-tables.xml   Sun Oct 15 
04:41:43 2006
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.17 $ --
+!-- $Revision: 1.18 $ --
 refentry id=function.mysql-list-tables
  refnamediv
   refnamemysql_list_tables/refname
@@ -17,7 +17,7 @@
Retrieves a list of table names from a MySQL database.
   /para
   para
-   This function deprecated. It is preferable to use 
+   This function is deprecated. It is preferable to use 
functionmysql_query/function to issue a SQL literalSHOW TABLES 
[FROM db_name] [LIKE 'pattern']/literal statement instead.
   /para
@@ -52,6 +52,30 @@
   /para
  /refsect1
 
+ refsect1 role=changelog
+  reftitle.changelog;
+  para
+   informaltable
+tgroup cols=2
+ thead
+  row
+   entryVersion;/entry
+   entryDescription;/entry
+  /row
+ /thead
+ tbody
+  row
+   entry4.3.7/entry
+   entry
+This function became deprecated.
+   /entry
+  /row
+ /tbody
+/tgroup
+   /informaltable
+  /para
+ /refsect1
+
  refsect1 role=examples
   reftitle.examples;
   para


[PHP-DOC] cvs: phpdoc /en/reference/strings/functions str-replace.xml

2006-10-14 Thread Dave Barr
daveSun Oct 15 05:06:13 2006 UTC

  Modified files:  
/phpdoc/en/reference/strings/functions  str-replace.xml 
  Log:
  - Document order of replacement (ie. first to last) when search/replace
parameters are arrays. Fixes #38463.
  
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/strings/functions/str-replace.xml?r1=1.19r2=1.20diff_format=u
Index: phpdoc/en/reference/strings/functions/str-replace.xml
diff -u phpdoc/en/reference/strings/functions/str-replace.xml:1.19 
phpdoc/en/reference/strings/functions/str-replace.xml:1.20
--- phpdoc/en/reference/strings/functions/str-replace.xml:1.19  Fri Aug 11 
17:15:27 2006
+++ phpdoc/en/reference/strings/functions/str-replace.xml   Sun Oct 15 
05:06:12 2006
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.19 $ --
+!-- $Revision: 1.20 $ --
 !-- splitted from ./en/functions/strings.xml, last change in rev 1.2 --
   refentry id=function.str-replace
refnamediv
@@ -59,7 +59,11 @@
  is an array and parameterreplace/parameter is a string, then
  this replacement string is used for every value of
  parametersearch/parameter. The converse would not make sense,
- though. 
+ though.
+/para
+para
+ If parametersearch/parameter or parameterreplace/parameter
+ are arrays, their elements are processed first to last.
 /para
 para
  example
@@ -84,6 +88,14 @@
 // Use of the count parameter is available as of PHP 5.0.0
 $str = str_replace(ll, , good golly miss molly!, $count);
 echo $count; // 2
+
+// Order of replacement 
+$str = Line 1\nLine 2\rLine 3\r\nLine 4\n;
+$order   = array(\r\n, \n, \r);
+$replace = 'br /';
+// Processes \r\n's first so they aren't converted twice. 
+$newstr = str_replace($order, $replace, $str);
+
 ?
 ]]
   /programlisting


[PHP-DOC] cvs: phpdoc /en/reference/array/functions array-slice.xml

2006-10-14 Thread Dave Barr
daveSun Oct 15 05:12:35 2006 UTC

  Modified files:  
/phpdoc/en/reference/array/functionsarray-slice.xml 
  Log:
  - Only numeric keys are reset by default (Fixes #38076).
  
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/array/functions/array-slice.xml?r1=1.11r2=1.12diff_format=u
Index: phpdoc/en/reference/array/functions/array-slice.xml
diff -u phpdoc/en/reference/array/functions/array-slice.xml:1.11 
phpdoc/en/reference/array/functions/array-slice.xml:1.12
--- phpdoc/en/reference/array/functions/array-slice.xml:1.11Thu Mar 31 
15:50:05 2005
+++ phpdoc/en/reference/array/functions/array-slice.xml Sun Oct 15 05:12:35 2006
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.11 $ --
+!-- $Revision: 1.12 $ --
 !-- splitted from ./en/functions/array.xml, last change in rev 1.2 --
   refentry id=function.array-slice
refnamediv
@@ -37,9 +37,9 @@
  parameterarray/parameter.
 /para
 para
- Note that functionarray_slice/function will reset the array keys by
- default. Since PHP 5.0.2, you can change this behaviour by setting
- parameterpreserve_keys/parameter to true;.
+ Note that functionarray_slice/function will reset numeric array
+ keys by default. Since PHP 5.0.2, you can change this behaviour by
+ setting parameterpreserve_keys/parameter to true;.
 /para
 para
  example


[PHP-DOC] cvs: phpdoc /en/reference/image/functions imagecreatefromstring.xml

2006-09-08 Thread Dave Barr
daveFri Sep  8 11:17:38 2006 UTC

  Modified files:  
/phpdoc/en/reference/image/functionsimagecreatefromstring.xml 
  Log:
  - Typo.
  
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/functions/imagecreatefromstring.xml?r1=1.7r2=1.8diff_format=u
Index: phpdoc/en/reference/image/functions/imagecreatefromstring.xml
diff -u phpdoc/en/reference/image/functions/imagecreatefromstring.xml:1.7 
phpdoc/en/reference/image/functions/imagecreatefromstring.xml:1.8
--- phpdoc/en/reference/image/functions/imagecreatefromstring.xml:1.7   Tue Sep 
 6 19:58:57 2005
+++ phpdoc/en/reference/image/functions/imagecreatefromstring.xml   Fri Sep 
 8 11:17:38 2006
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.7 $ --
+!-- $Revision: 1.8 $ --
 !-- splitted from ./en/functions/image.xml, last change in rev 1.31 --
 refentry id=function.imagecreatefromstring
  refnamediv
@@ -49,7 +49,7 @@
 imagepng($im);
 }
 else {
-echo 'An error occured.';
+echo 'An error occurred.';
 }
 ?
 ]]


[PHP-DOC] cvs: phpdoc /en/reference/maxdb/functions maxdb-stmt-bind-param.xml /en/reference/mysqli/functions mysqli-stmt-bind-param.xml

2006-05-26 Thread Dave Barr
daveFri May 26 22:12:39 2006 UTC

  Modified files:  
/phpdoc/en/reference/maxdb/functionsmaxdb-stmt-bind-param.xml 
/phpdoc/en/reference/mysqli/functions   mysqli-stmt-bind-param.xml 
  Log:
  - Typos. (#37608)
  
  
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/maxdb/functions/maxdb-stmt-bind-param.xml?r1=1.5r2=1.6diff_format=u
Index: phpdoc/en/reference/maxdb/functions/maxdb-stmt-bind-param.xml
diff -u phpdoc/en/reference/maxdb/functions/maxdb-stmt-bind-param.xml:1.5 
phpdoc/en/reference/maxdb/functions/maxdb-stmt-bind-param.xml:1.6
--- phpdoc/en/reference/maxdb/functions/maxdb-stmt-bind-param.xml:1.5   Wed Oct 
26 15:27:30 2005
+++ phpdoc/en/reference/maxdb/functions/maxdb-stmt-bind-param.xml   Fri May 
26 22:12:39 2006
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.5 $ --
+!-- $Revision: 1.6 $ --
   refentry id=function.maxdb-stmt-bind-param
refnamediv
 refnamemaxdb_stmt_bind_param/refname
@@ -97,7 +97,7 @@
 /row
 row
  entryb/entry
- entrycorresponding variable is a blob and will be send in 
packages/entry
+ entrycorresponding variable is a blob and will be sent in 
packages/entry
 /row
/tbody
   /tgroup
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/mysqli/functions/mysqli-stmt-bind-param.xml?r1=1.12r2=1.13diff_format=u
Index: phpdoc/en/reference/mysqli/functions/mysqli-stmt-bind-param.xml
diff -u phpdoc/en/reference/mysqli/functions/mysqli-stmt-bind-param.xml:1.12 
phpdoc/en/reference/mysqli/functions/mysqli-stmt-bind-param.xml:1.13
--- phpdoc/en/reference/mysqli/functions/mysqli-stmt-bind-param.xml:1.12
Thu May 18 18:33:54 2006
+++ phpdoc/en/reference/mysqli/functions/mysqli-stmt-bind-param.xml Fri May 
26 22:12:39 2006
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.12 $ --
+!-- $Revision: 1.13 $ --
 refentry id=function.mysqli-stmt-bind-param
  refnamediv
   refnamemysqli_stmt_bind_param/refname
@@ -56,7 +56,7 @@
   /row
   row
entryb/entry
-   entrycorresponding variable is a blob and will be send in 
packets/entry
+   entrycorresponding variable is a blob and will be sent in 
packets/entry
   /row
  /tbody
 /tgroup


[PHP-DOC] cvs: phpdoc /en/reference/filter ini.xml

2006-05-10 Thread Dave Barr
daveWed May 10 08:09:02 2006 UTC

  Modified files:  
/phpdoc/en/reference/filter ini.xml 
  Log:
  - Revert changelog.
  
  
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/filter/ini.xml?r1=1.4r2=1.5diff_format=u
Index: phpdoc/en/reference/filter/ini.xml
diff -u phpdoc/en/reference/filter/ini.xml:1.4 
phpdoc/en/reference/filter/ini.xml:1.5
--- phpdoc/en/reference/filter/ini.xml:1.4  Tue May  9 23:58:06 2006
+++ phpdoc/en/reference/filter/ini.xml  Wed May 10 08:09:02 2006
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.4 $ --
+!-- $Revision: 1.5 $ --
 section id=filter.configuration
  reftitle.runtime;
  extension.runtime;
@@ -20,19 +20,13 @@
   entryfilter.default/entry
   entryunsafe_raw/entry
   entryPHP_INI_PERDIR/entry
-  entry
-   Before Filter 0.9.5, default was literalstring/literal and
-   changeable was constantPHP_INI_SYSTEM/constant.
- /entry
+  entry/entry
  /row
  row
   entryfilter.default_flags/entry
   entry/entry
   entryPHP_INI_PERDIR/entry
-  entry
-   Before Filter 0.9.5, changeable was
-   constantPHP_INI_SYSTEM/constant.
-  /entry
+  entry/entry
  /row
 /tbody
/tgroup


[PHP-DOC] cvs: phpdoc /en/reference/filter ini.xml

2006-05-09 Thread Dave Barr
daveTue May  9 23:58:06 2006 UTC

  Modified files:  
/phpdoc/en/reference/filter ini.xml 
  Log:
  - INI entry changelog.
  
  
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/filter/ini.xml?r1=1.3r2=1.4diff_format=u
Index: phpdoc/en/reference/filter/ini.xml
diff -u phpdoc/en/reference/filter/ini.xml:1.3 
phpdoc/en/reference/filter/ini.xml:1.4
--- phpdoc/en/reference/filter/ini.xml:1.3  Tue May  9 02:07:12 2006
+++ phpdoc/en/reference/filter/ini.xml  Tue May  9 23:58:06 2006
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.3 $ --
+!-- $Revision: 1.4 $ --
 section id=filter.configuration
  reftitle.runtime;
  extension.runtime;
@@ -20,13 +20,19 @@
   entryfilter.default/entry
   entryunsafe_raw/entry
   entryPHP_INI_PERDIR/entry
-  entry/entry
+  entry
+   Before Filter 0.9.5, default was literalstring/literal and
+   changeable was constantPHP_INI_SYSTEM/constant.
+ /entry
  /row
  row
   entryfilter.default_flags/entry
   entry/entry
   entryPHP_INI_PERDIR/entry
-  entry/entry
+  entry
+   Before Filter 0.9.5, changeable was
+   constantPHP_INI_SYSTEM/constant.
+  /entry
  /row
 /tbody
/tgroup


[PHP-DOC] cvs: phpdoc /en/reference/filter constants.xml ini.xml /en/reference/filter/functions input-get-args.xml

2006-05-08 Thread Dave Barr
daveTue May  9 02:07:13 2006 UTC

  Added files: 
/phpdoc/en/reference/filter/functions   input-get-args.xml 

  Modified files:  
/phpdoc/en/reference/filter constants.xml ini.xml 
  Log:
  - Document input_get_args() and new constants.
  - Change default filter type from string to unsafe_raw.
  - INI settings are now PERDIR and not SYSTEM.
  
  http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/filter/constants.xml?r1=1.1r2=1.2diff_format=u
Index: phpdoc/en/reference/filter/constants.xml
diff -u phpdoc/en/reference/filter/constants.xml:1.1 
phpdoc/en/reference/filter/constants.xml:1.2
--- phpdoc/en/reference/filter/constants.xml:1.1Sat Mar 11 21:19:27 2006
+++ phpdoc/en/reference/filter/constants.xmlTue May  9 02:07:12 2006
@@ -1,5 +1,5 @@
 ?xml version='1.0' encoding='iso-8859-1'?
-!-- $Revision: 1.1 $ --
+!-- $Revision: 1.2 $ --
 !-- Generated by xml_proto.php v2.4. Found in /scripts directory of phpdoc. 
--
 section id=filter.constants
  reftitle.constants;
@@ -73,6 +73,17 @@
   /varlistentry
   varlistentry
term
+constantINPUT_DATA/constant
+ (typeinteger/type)
+   /term
+   listitem
+simpara
+ User-defined set of variables.
+/simpara
+   /listitem
+  /varlistentry
+  varlistentry
+   term
 constantFILTER_FLAG_NONE/constant
  (typeinteger/type)
/term
@@ -293,6 +304,30 @@
   /varlistentry
   varlistentry
term
+constantFILTER_FLAG_SCALAR/constant
+ (typeinteger/type)
+   /term
+   listitem
+simpara
+ Allow scalar types (non-typearray/type) only in filter.
+ Currently used by functioninput_get_args/function.
+/simpara
+   /listitem
+  /varlistentry
+  varlistentry
+   term
+constantFILTER_FLAG_ARRAY/constant
+ (typeinteger/type)
+   /term
+   listitem
+simpara
+ Only allow typearray/type type in filter.
+ Currently used by functioninput_get_args/function.
+/simpara
+   /listitem
+  /varlistentry
+  varlistentry
+   term
 constantFILTER_FLAG_ALLOW_OCTAL/constant
  (typeinteger/type)
/term
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/filter/ini.xml?r1=1.2r2=1.3diff_format=u
Index: phpdoc/en/reference/filter/ini.xml
diff -u phpdoc/en/reference/filter/ini.xml:1.2 
phpdoc/en/reference/filter/ini.xml:1.3
--- phpdoc/en/reference/filter/ini.xml:1.2  Sun Mar 12 08:53:46 2006
+++ phpdoc/en/reference/filter/ini.xml  Tue May  9 02:07:12 2006
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.2 $ --
+!-- $Revision: 1.3 $ --
 section id=filter.configuration
  reftitle.runtime;
  extension.runtime;
@@ -18,14 +18,14 @@
 tbody
  row
   entryfilter.default/entry
-  entrystring/entry
-  entryPHP_INI_SYSTEM/entry
+  entryunsafe_raw/entry
+  entryPHP_INI_PERDIR/entry
   entry/entry
  /row
  row
   entryfilter.default_flags/entry
   entry/entry
-  entryPHP_INI_SYSTEM/entry
+  entryPHP_INI_PERDIR/entry
   entry/entry
  /row
 /tbody

http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/filter/functions/input-get-args.xml?view=markuprev=1.1
Index: phpdoc/en/reference/filter/functions/input-get-args.xml
+++ phpdoc/en/reference/filter/functions/input-get-args.xml
?xml version=1.0 encoding=iso-8859-1?
!-- $Revision: 1.1 $ --
refentry id=function.input-get-args
 refnamediv
  refnameinput_get_args/refname
  refpurposeGets multiple variables from outside PHP and optionally filters 
them/refpurpose
 /refnamediv
 refsect1 role=description
  reftitle.description;
  methodsynopsis
   typemixed/typemethodnameinput_get_args/methodname
   
methodparamtypearray/typeparameterdefinition/parameter/methodparam
   methodparamtypeint/typeparametertype/parameter/methodparam
   methodparam 
choice=opttypearray/typeparameterdata/parameter/methodparam
  /methodsynopsis
  warn.experimental.func;
  para
   This function is useful for retrieving a large amount of values without
   repetitively calling functioninput_get/function.
  /para
 /refsect1
 refsect1 role=parameters
  reftitle.parameters;
  para
   variablelist
varlistentry
 termparameterdefinition/parameter/term
 listitem
  para
   An array defining the arguments. A valid key is a typestring/type
   containing a variable name and a valid value is either a filter type,
   or an typearray/type optionally specifying the filter, flags and
   options. If the value is an array, valid keys are
   literalfilter/literal which specifies the filter type,
   literalflags/literal which specifies any flags that apply to the
   filter, and literaloptions/literal which specifies any options
   that apply to the filter. See the example below for a better
   understanding.
  /para
 /listitem
/varlistentry
varlistentry
 termparametertype/parameter/term
 listitem
  para
   One of constantINPUT_GET/constant, constantINPUT_POST/constant,
   constantINPUT_COOKIE/constant, 

[PHP-DOC] cvs: phpdoc /en/reference/filter reference.xml

2006-05-08 Thread Dave Barr
daveTue May  9 03:37:24 2006 UTC

  Modified files:  
/phpdoc/en/reference/filter reference.xml 
  Log:
  - Mention regexp filter uses PCRE.
  
  
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/filter/reference.xml?r1=1.4r2=1.5diff_format=u
Index: phpdoc/en/reference/filter/reference.xml
diff -u phpdoc/en/reference/filter/reference.xml:1.4 
phpdoc/en/reference/filter/reference.xml:1.5
--- phpdoc/en/reference/filter/reference.xml:1.4Mon Mar 13 10:02:41 2006
+++ phpdoc/en/reference/filter/reference.xmlTue May  9 03:37:24 2006
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.4 $ --
+!-- $Revision: 1.5 $ --
 !-- Purpose: basic.vartype --
 !-- Membership: pecl --
 !-- State: experimental --
@@ -70,7 +70,10 @@
  parameterregexp/parameter
 /entry
 entry/entry
-entryValidates value against regexp./entry
+entry
+ Validates value against parameterregexp/parameter, a
+ link linkend=ref.pcrePerl-compatible/link regular expression.
+/entry
/row
row
 entryconstantFILTER_VALIDATE_URL/constant/entry


[PHP-DOC] cvs: phpdoc /en/reference/filesystem/functions lchgrp.xml lchown.xml

2006-05-01 Thread Dave Barr
daveTue May  2 02:57:46 2006 UTC

  Added files: 
/phpdoc/en/reference/filesystem/functions   lchgrp.xml lchown.xml 
  Log:
  - Add lchgrp() and lchown().
  
  

http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/filesystem/functions/lchgrp.xml?view=markuprev=1.1
Index: phpdoc/en/reference/filesystem/functions/lchgrp.xml
+++ phpdoc/en/reference/filesystem/functions/lchgrp.xml
?xml version=1.0 encoding=iso-8859-1?
!-- $Revision: 1.1 $ --
  refentry id=function.lchgrp
   refnamediv
refnamelchgrp/refname
refpurposeChanges group ownership of symlink/refpurpose
   /refnamediv
   refsect1
titleDescription/title
 methodsynopsis
  typebool/typemethodnamelchgrp/methodname
  
methodparamtypestring/typeparameterfilename/parameter/methodparam
  methodparamtypemixed/typeparametergroup/parameter/methodparam
 /methodsynopsis
para
 Attempts to change the group of the symlink parameterfilename/parameter
 to parametergroup/parameter (specified by name or number). Only the
 superuser may change the group of a symlink arbitrarily; other users may
 change the group of a symlink to any group of which that user is a member.
/para
para
 return.success;
/para
note.no-remote;
note.sm.uidcheck;
para
 See also functionchgrp/function,
 functionlchown/function
 functionchown/functionlistendand;
 functionchmod/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/viewcvs.cgi/phpdoc/en/reference/filesystem/functions/lchown.xml?view=markuprev=1.1
Index: phpdoc/en/reference/filesystem/functions/lchown.xml
+++ phpdoc/en/reference/filesystem/functions/lchown.xml
?xml version=1.0 encoding=iso-8859-1?
!-- $Revision: 1.1 $ --
  refentry id=function.lchown
   refnamediv
refnamelchown/refname
refpurposeChanges user ownership of symlink/refpurpose
   /refnamediv
   refsect1
titleDescription/title
 methodsynopsis
  typebool/typemethodnamelchown/methodname
  
methodparamtypestring/typeparameterfilename/parameter/methodparam
  methodparamtypemixed/typeparameteruser/parameter/methodparam
 /methodsynopsis
para
 Attempts to change the owner of the symlink parameterfilename/parameter
 to user parameteruser/parameter (specified by name or number).  Only
 the superuser may change the owner of a symlink.
/para
para
 return.success;
/para
note.no-remote;
note.sm.uidcheck;
para
 See also functionchown/function,
 functionlchgrp/function,
 functionchgrp/functionlistendand;
 functionchmod/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/curl/functions curl-setopt-array.xml

2006-04-25 Thread Dave Barr
daveWed Apr 26 03:18:46 2006 UTC

  Added files: 
/phpdoc/en/reference/curl/functions curl-setopt-array.xml 
  Log:
  - Add new function (been in HEAD for 8 months).
  
  

http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/curl/functions/curl-setopt-array.xml?view=markuprev=1.1
Index: phpdoc/en/reference/curl/functions/curl-setopt-array.xml
+++ phpdoc/en/reference/curl/functions/curl-setopt-array.xml
?xml version=1.0 encoding=iso-8859-1?
!-- $Revision: 1.1 $ --
refentry id=function.curl-setopt-array
 refnamediv
  refnamecurl_setopt_array/refname
  refpurposeSet multiple options for a CURL transfer/refpurpose
 /refnamediv
 refsect1 role=description
  reftitle.description;
  methodsynopsis
   typebool/typemethodnamecurl_setopt_array/methodname
   methodparamtyperesource/typeparameterch/parameter/methodparam
   methodparamtypearray/typeparameteroptions/parameter/methodparam
  /methodsynopsis
  para
   Sets multiple options for a CURL session. This function is
   useful for setting a large amount of CURL options without repetitively
   calling functioncurl_setopt/function.
  /para
 /refsect1
 refsect1 role=parameters
  reftitle.parameters;
  para
   variablelist
varlistentry
 termparameterch/parameter/term
 listitem
  para
   The CURL session the options should be set for.
  /para
 /listitem
/varlistentry
varlistentry
 termparameteroptions/parameter/term
 listitem
  para
   An typearray/type specifying which options to set and their values.
   The keys should be valid functioncurl_setopt/function constants or
   their integer equivalents.
  /para
 /listitem
/varlistentry
   /variablelist
  /para
 /refsect1
 refsect1 role=returnvalues
  reftitle.returnvalues;
  para
   Returns true; if all options were successfully set. If an option could
   not be successfully set, false; is immediately returned, ignoring any
   future options in the parameteroptions/parameter array.
  /para
 /refsect1
 refsect1 role=examples
  reftitle.examples;
  para
   example
title
 Initializing a new CURL session and fetching a webpage
/title
programlisting role=php
![CDATA[
?php
// create a new CURL resource
$ch = curl_init();

// set URL and other appropriate options
$options = array(CURLOPT_URL = 'http://www.example.com/',
 CURLOPT_HEADER = false
);

curl_setopt_array($ch, $options);

// grab URL and pass it to the browser
curl_exec($ch);

// close CURL resource, and free up system resources
curl_close($ch);
?
]]
/programlisting
   /example
  /para
 /refsect1
 refsect1 role=seealso
  reftitle.seealso;
  para
   simplelist
memberfunctioncurl_setopt/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
--


[PHP-DOC] cvs: phpdoc /en/internals/zendapi/macros ZEND_MOD_REQUIRED.xml ZEND_NUM_ARGS.xml /en/reference/filter/functions filter-data.xml /en/reference/outcontrol/functions output-add-rewrite-var.xm

2006-04-18 Thread Dave Barr
daveWed Apr 19 03:04:12 2006 UTC

  Modified files:  
/phpdoc/en/internals/zendapi/macros ZEND_MOD_REQUIRED.xml 
ZEND_NUM_ARGS.xml 
/phpdoc/en/reference/filter/functions   filter-data.xml 
/phpdoc/en/reference/outcontrol/functions   
output-add-rewrite-var.xml 
/phpdoc/en/reference/paradoxreference.xml 
/phpdoc/en/reference/paradox/functions  px-create-fp.xml 
px-insert-record.xml 
px-timestamp2string.xml 
/phpdoc/en/reference/pcre   reference.xml 
/phpdoc/en/reference/ps/functions   ps-arc.xml ps-arcn.xml 
ps-circle.xml ps-close.xml 
ps-show-xy.xml 
  Log:
  - Typos.
  
  http://cvs.php.net/viewcvs.cgi/phpdoc/en/internals/zendapi/macros/ZEND_MOD_REQUIRED.xml?r1=1.6r2=1.7diff_format=u
Index: phpdoc/en/internals/zendapi/macros/ZEND_MOD_REQUIRED.xml
diff -u phpdoc/en/internals/zendapi/macros/ZEND_MOD_REQUIRED.xml:1.6 
phpdoc/en/internals/zendapi/macros/ZEND_MOD_REQUIRED.xml:1.7
--- phpdoc/en/internals/zendapi/macros/ZEND_MOD_REQUIRED.xml:1.6Sun Jan 
22 14:57:49 2006
+++ phpdoc/en/internals/zendapi/macros/ZEND_MOD_REQUIRED.xmlWed Apr 19 
03:04:12 2006
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.6 $ --
+!-- $Revision: 1.7 $ --
 refentry id=zend-macro.zend-mod-required
  refnamediv
   refnameZEND_MOD_REQUIRED/refname
@@ -30,7 +30,7 @@
  termparameterext_name/parameter/term
  listitem
   para
-   The name of a reqiured extension
+   The name of a required extension
   /para
  /listitem
 /varlistentry
http://cvs.php.net/viewcvs.cgi/phpdoc/en/internals/zendapi/macros/ZEND_NUM_ARGS.xml?r1=1.6r2=1.7diff_format=u
Index: phpdoc/en/internals/zendapi/macros/ZEND_NUM_ARGS.xml
diff -u phpdoc/en/internals/zendapi/macros/ZEND_NUM_ARGS.xml:1.6 
phpdoc/en/internals/zendapi/macros/ZEND_NUM_ARGS.xml:1.7
--- phpdoc/en/internals/zendapi/macros/ZEND_NUM_ARGS.xml:1.6Sat Jan 21 
19:33:56 2006
+++ phpdoc/en/internals/zendapi/macros/ZEND_NUM_ARGS.xmlWed Apr 19 
03:04:12 2006
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.6 $ --
+!-- $Revision: 1.7 $ --
 refentry id=zend-macro.zend-num-args
  refnamediv
   refnameZEND_NUM_ARGS/refname
@@ -21,7 +21,7 @@
  refsect1 role=returnvalues
   reftitle.returnvalues;
   para
-   Number of argunemts passed to the current PHP function.
+   Number of arguments passed to the current PHP function.
   /para
  /refsect1
 
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/filter/functions/filter-data.xml?r1=1.1r2=1.2diff_format=u
Index: phpdoc/en/reference/filter/functions/filter-data.xml
diff -u phpdoc/en/reference/filter/functions/filter-data.xml:1.1 
phpdoc/en/reference/filter/functions/filter-data.xml:1.2
--- phpdoc/en/reference/filter/functions/filter-data.xml:1.1Sat Mar 11 
21:19:27 2006
+++ phpdoc/en/reference/filter/functions/filter-data.xmlWed Apr 19 
03:04:12 2006
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.1 $ --
+!-- $Revision: 1.2 $ --
 !-- Generated by xml_proto.php v2.4. Found in /scripts directory of phpdoc. 
--
 refentry id=function.filter-data
  refnamediv
@@ -27,7 +27,7 @@
  termparametervariable/parameter/term
  listitem
   para
-   Value to filter, arrays are filtered resursivelly.
+   Value to filter, arrays are filtered recursively.
   /para
  /listitem
 /varlistentry
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/outcontrol/functions/output-add-rewrite-var.xml?r1=1.7r2=1.8diff_format=u
Index: phpdoc/en/reference/outcontrol/functions/output-add-rewrite-var.xml
diff -u phpdoc/en/reference/outcontrol/functions/output-add-rewrite-var.xml:1.7 
phpdoc/en/reference/outcontrol/functions/output-add-rewrite-var.xml:1.8
--- phpdoc/en/reference/outcontrol/functions/output-add-rewrite-var.xml:1.7 
Tue Dec 27 15:27:47 2005
+++ phpdoc/en/reference/outcontrol/functions/output-add-rewrite-var.xml Wed Apr 
19 03:04:12 2006
@@ -1,5 +1,5 @@
 ?xml version='1.0' encoding='iso-8859-1'?
-!-- $Revision: 1.7 $ --
+!-- $Revision: 1.8 $ --
   refentry id=function.output-add-rewrite-var
refnamediv
 refnameoutput_add_rewrite_var/refname
@@ -22,7 +22,7 @@
   linkend=ini.session.use-trans-sidsession.use_trans_sid/link.
 /para
 para
- This functions behavior is controled by the link
+ This functions behavior is controlled by the link
   linkend=ini.url-rewriter.tagsurl_rewriter.tags/link php.ini;
  parameter.
 /para
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/paradox/reference.xml?r1=1.7r2=1.8diff_format=u
Index: phpdoc/en/reference/paradox/reference.xml
diff -u phpdoc/en/reference/paradox/reference.xml:1.7 

[PHP-DOC] cvs: phpdoc /en/reference/curl/functions curl-setopt.xml

2005-12-09 Thread Dave Barr
daveFri Dec  9 16:52:02 2005 EDT

  Modified files:  
/phpdoc/en/reference/curl/functions curl-setopt.xml 
  Log:
  - Response code errors are =400, not 300. Fixes #35616.
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/curl/functions/curl-setopt.xml?r1=1.20r2=1.21ty=u
Index: phpdoc/en/reference/curl/functions/curl-setopt.xml
diff -u phpdoc/en/reference/curl/functions/curl-setopt.xml:1.20 
phpdoc/en/reference/curl/functions/curl-setopt.xml:1.21
--- phpdoc/en/reference/curl/functions/curl-setopt.xml:1.20 Sun Jul 17 
11:44:49 2005
+++ phpdoc/en/reference/curl/functions/curl-setopt.xml  Fri Dec  9 16:51:59 2005
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.20 $ --
+!-- $Revision: 1.21 $ --
 !-- splitted from ./en/functions/curl.xml, last change in rev 1.1 --
   refentry id=function.curl-setopt
refnamediv
@@ -88,8 +88,8 @@
  entryconstantCURLOPT_FAILONERROR/constant/entry
  entry
   true; to fail silently if the HTTP code returned
-  is greater than 300. The default behavior is to return the page
-  normally, ignoring the code.
+  is greater than or equal to 400. The default behavior is to return
+  the page normally, ignoring the code.
  /entry
  entry
  /entry


[PHP-DOC] cvs: phpdoc /en/appendices migration5.xml /en/install/windows building.xml /en/internals/pdo implementing.xml preparation.xml /en/internals/zendapi arguments.xml variables.xml /en/langua

2005-12-08 Thread Dave Barr
daveThu Dec  8 07:10:55 2005 EDT

  Modified files:  
/phpdoc/en/appendices   migration5.xml 
/phpdoc/en/install/windows  building.xml 
/phpdoc/en/internals/pdoimplementing.xml preparation.xml 
/phpdoc/en/internals/zendapiarguments.xml variables.xml 
/phpdoc/en/language/oop5decon.xml 
/phpdoc/en/reference/apcini.xml 
/phpdoc/en/reference/gnupg  reference.xml 
/phpdoc/en/reference/gnupg/functionsgnupg-geterror.xml 
gnupg-keyinfo.xml 
gnupg-setarmor.xml 
/phpdoc/en/reference/image/functionsimagecreatetruecolor.xml 
/phpdoc/en/reference/pdoreference.xml 
/phpdoc/en/reference/ssh2/functions ssh2-publickey-list.xml 
/phpdoc/en/reference/stats/functionsstats-cdf-beta.xml 
/phpdoc/en/reference/xmlreader/functions
xmlreader-movetoelement.xml 
  Log:
  - Typos.
  
  http://cvs.php.net/diff.php/phpdoc/en/appendices/migration5.xml?r1=1.43r2=1.44ty=u
Index: phpdoc/en/appendices/migration5.xml
diff -u phpdoc/en/appendices/migration5.xml:1.43 
phpdoc/en/appendices/migration5.xml:1.44
--- phpdoc/en/appendices/migration5.xml:1.43Thu Dec  1 00:20:05 2005
+++ phpdoc/en/appendices/migration5.xml Thu Dec  8 07:10:46 2005
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.43 $ --
+!-- $Revision: 1.44 $ --
  appendix id=migration5
   titleMigrating from PHP 4 to PHP 5/title
 
@@ -128,7 +128,7 @@
 listitem
  simpara
   If there are functions defined in the included file, they will be defined
-  in the main file, wether they are before or after the 
+  in the main file, whether they are before or after the 
   functionreturn/function instruction. If the file is included twice, 
   PHP 5 issues fatal error because functions were already declared, while 
   PHP 4 doesn't complain about it.
http://cvs.php.net/diff.php/phpdoc/en/install/windows/building.xml?r1=1.9r2=1.10ty=u
Index: phpdoc/en/install/windows/building.xml
diff -u phpdoc/en/install/windows/building.xml:1.9 
phpdoc/en/install/windows/building.xml:1.10
--- phpdoc/en/install/windows/building.xml:1.9  Wed Nov 30 18:50:13 2005
+++ phpdoc/en/install/windows/building.xml  Thu Dec  8 07:10:50 2005
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.9 $ --
+!-- $Revision: 1.10 $ --
 sect1 id=install.windows.building
  titleBuilding from source/title
  para
@@ -239,7 +239,7 @@
module.
   /para
   para
-   The last step is compilling. To achieve this just issue the command
+   The last step is compiling. To achieve this just issue the command
commandnmake/command. The generated files (e.g. .exe and .dll) will be
placed in either filename class=directoryRelease_TS/filename or
filename class=directoryDebug_TS/filename directories (if built with
@@ -255,7 +255,7 @@
clean/command command.
   /para
   para
-   A very usefull configure option to build snapshots is
+   A very useful configure option to build snapshots is
literal--enable-snapshot-build/literal, which add a new compiling mode
(commandnmake build-snap/command). This tries to build every extension
available (as shared, by default), but it will ignore build errors in
http://cvs.php.net/diff.php/phpdoc/en/internals/pdo/implementing.xml?r1=1.1r2=1.2ty=u
Index: phpdoc/en/internals/pdo/implementing.xml
diff -u phpdoc/en/internals/pdo/implementing.xml:1.1 
phpdoc/en/internals/pdo/implementing.xml:1.2
--- phpdoc/en/internals/pdo/implementing.xml:1.1Mon Oct  3 18:02:14 2005
+++ phpdoc/en/internals/pdo/implementing.xmlThu Dec  8 07:10:51 2005
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.1 $ --
+!-- $Revision: 1.2 $ --
 sect1 id=internals.pdo.implementing
  titleFleshing out your skeleton/title
  sect2
@@ -1042,7 +1042,7 @@
 of the parameters.
/para
para
-For all other events, PDO may call you multple times as the script issues
+For all other events, PDO may call you multiple times as the script issues
 functionPDOStatement::execute/function and
 functionPDOStatement::fetch/function calls.
/para
http://cvs.php.net/diff.php/phpdoc/en/internals/pdo/preparation.xml?r1=1.1r2=1.2ty=u
Index: phpdoc/en/internals/pdo/preparation.xml
diff -u phpdoc/en/internals/pdo/preparation.xml:1.1 
phpdoc/en/internals/pdo/preparation.xml:1.2
--- phpdoc/en/internals/pdo/preparation.xml:1.1 Mon Oct  3 18:02:16 2005
+++ phpdoc/en/internals/pdo/preparation.xml Thu Dec  8 07:10:51 2005
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.1 $ --
+!-- $Revision: 1.2 $ --
 sect1 id=internals.pdo.preparation
  titlePreparation and Housekeeping/title
  sect2
@@ -162,7 +162,7 @@
   para
This header file typically contains type definitions and function
declarations 

[PHP-DOC] cvs: phpdoc /en/reference/datetime/functions date.xml

2005-08-18 Thread Dave Barr
daveThu Aug 18 04:09:42 2005 EDT

  Modified files:  
/phpdoc/en/reference/datetime/functions date.xml 
  Log:
  - Typo.
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/datetime/functions/date.xml?r1=1.20r2=1.21ty=u
Index: phpdoc/en/reference/datetime/functions/date.xml
diff -u phpdoc/en/reference/datetime/functions/date.xml:1.20 
phpdoc/en/reference/datetime/functions/date.xml:1.21
--- phpdoc/en/reference/datetime/functions/date.xml:1.20Mon Aug 15 
12:01:08 2005
+++ phpdoc/en/reference/datetime/functions/date.xml Thu Aug 18 04:09:38 2005
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.20 $ --
+!-- $Revision: 1.21 $ --
 !-- splitted from ./en/functions/datetime.xml, last change in rev 1.2 --
 refentry id=function.date
  refnamediv
@@ -21,7 +21,7 @@
   /para
   tip
para
-Since PHP 5.1.0 there are a couple of usefull link
+Since PHP 5.1.0 there are a couple of useful link
 linkend=datetime.constantsconstants/link of standard date/time
 formats that can be used to specify the parameterformat/parameter
 parameter.


Re: [PHP-DOC] RE: [PHP-NOTES] note 55930 added to function.date

2005-08-18 Thread Dave Barr

Victor Boivie wrote:

Someone with access to the CVS right now (I'm at work) could probably
do this very quick


Done!


// V


Dave


-- Forwarded message --
From: php-general@lists.php.net php-general@lists.php.net
Date: Aug 18, 2005 7:04 AM
Subject: [PHP-NOTES] note 55930 added to function.date
To: [EMAIL PROTECTED]


useful is misspelled in the Tip box.

Manual Page -- http://www.php.net/manual/en/function.date.php
Edit-- http://master.php.net/manage/user-notes.php?action=edit+55930
Delete: added to the manual --
http://master.php.net/manage/user-notes.php?action=delete+55930report=yesreason=added+to+the+manual
Delete: bad code--
http://master.php.net/manage/user-notes.php?action=delete+55930report=yesreason=bad+code
Delete: spam--
http://master.php.net/manage/user-notes.php?action=delete+55930report=yesreason=spam
Delete: useless --
http://master.php.net/manage/user-notes.php?action=delete+55930report=yesreason=useless
Delete: non-english --
http://master.php.net/manage/user-notes.php?action=delete+55930report=yesreason=non-english
Delete: other reasons   --
http://master.php.net/manage/user-notes.php?action=delete+55930report=yes
Reject  -- 
http://master.php.net/manage/user-notes.php?action=reject+55930report=yes
Search  -- http://master.php.net/manage/user-notes.php

--
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DOC] manual.xml.in

2005-08-14 Thread Dave Barr

Sean Coates wrote:

Do we still need to edit manual.xml.in when we add sections?
For some reason I was under the impression that this is done 
automatically, now..


?


You don't need to edit it. Extensions are kept in 
entities/builtin-extensions.xml, which is generated by 
scripts/file-entities.php, which is run by ./configure



S



Dave


Re: [PHP-DOC] cvs: phpdoc /en/install/unix debian.xml index.xml

2005-07-06 Thread Dave Barr

Guillaume Plessis wrote:

Debian packages of PHP5. Then the steps given below will install PHP4.


Nice commit! However, the preferred method of referring to PHP versions 
is PHP x, with the space.


Dave


[PHP-DOC] cvs: phpdoc / .cvsignore

2005-06-28 Thread Dave Barr
daveTue Jun 28 10:41:07 2005 EDT

  Modified files:  
/phpdoc .cvsignore 
  Log:
  - install.txt was split into install-(unix|win).txt 10 months ago.
  
  
http://cvs.php.net/diff.php/phpdoc/.cvsignore?r1=1.42r2=1.43ty=u
Index: phpdoc/.cvsignore
diff -u phpdoc/.cvsignore:1.42 phpdoc/.cvsignore:1.43
--- phpdoc/.cvsignore:1.42  Thu Jun  9 04:09:01 2005
+++ phpdoc/.cvsignore   Tue Jun 28 10:41:07 2005
@@ -25,7 +25,8 @@
 html
 fancy
 html.cur
-install.txt
+install-unix.txt
+install-win.txt
 php_manual_*
 manual.txt
 manual.xml


[PHP-DOC] cvs: phpdoc /en/reference/cybermut/functions cybermut-creerreponsecm.xml /en/reference/kadm5 reference.xml /en/reference/oggvorbis reference.xml /en/reference/paradox/functions px-get-inf

2005-06-24 Thread Dave Barr
daveFri Jun 24 09:02:26 2005 EDT

  Modified files:  
/phpdoc/en/reference/cybermut/functions cybermut-creerreponsecm.xml 
/phpdoc/en/reference/kadm5  reference.xml 
/phpdoc/en/reference/oggvorbis  reference.xml 
/phpdoc/en/reference/paradox/functions  px-get-info.xml 
px-get-parameter.xml 
px-set-parameter.xml 
/phpdoc/en/reference/ps/functions   ps-add-bookmark.xml 
ps-continue-text.xml 
ps-findfont.xml ps-hyphenate.xml 
ps-makespotcolor.xml 
ps-open-image-file.xml 
ps-open-image.xml 
ps-set-border-color.xml 
ps-set-border-dash.xml 
ps-set-border-style.xml 
ps-set-text-pos.xml 
ps-set-value.xml 
ps-show-boxed.xml 
/phpdoc/en/reference/radius configure.xml constants.xml 
reference.xml 
/phpdoc/en/reference/radius/functions   radius-demangle-mppe-key.xml 
radius-demangle.xml 
  Log:
  - Typos.
  
  http://cvs.php.net/diff.php/phpdoc/en/reference/cybermut/functions/cybermut-creerreponsecm.xml?r1=1.4r2=1.5ty=u
Index: phpdoc/en/reference/cybermut/functions/cybermut-creerreponsecm.xml
diff -u phpdoc/en/reference/cybermut/functions/cybermut-creerreponsecm.xml:1.4 
phpdoc/en/reference/cybermut/functions/cybermut-creerreponsecm.xml:1.5
--- phpdoc/en/reference/cybermut/functions/cybermut-creerreponsecm.xml:1.4  
Tue Jun 14 11:31:17 2005
+++ phpdoc/en/reference/cybermut/functions/cybermut-creerreponsecm.xml  Fri Jun 
24 09:02:24 2005
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.4 $ --
+!-- $Revision: 1.5 $ --
 !-- splitted from ./en/functions/cybermut.xml, last change in rev 1.2 --
 refentry id=function.cybermut-creerreponsecm
  refnamediv
@@ -14,7 +14,7 @@
   /methodsynopsis
   para
The parameter is OK if the message of confirmation of the payment
-   were correctly auhentified by functioncybermut_testmac/function.
+   were correctly authenticated by functioncybermut_testmac/function.
Any other chain is regarded as an error message.
   /para
  /refsect1
@@ -22,7 +22,7 @@
  refsect1 role=returnvalues
   reftitle.returnvalues;
   para
-   Returns a string containing the message of aknowledgement of delivery.
+   Returns a string containing the message of acknowledgement of delivery.
   /para
  /refsect1
 
http://cvs.php.net/diff.php/phpdoc/en/reference/kadm5/reference.xml?r1=1.2r2=1.3ty=u
Index: phpdoc/en/reference/kadm5/reference.xml
diff -u phpdoc/en/reference/kadm5/reference.xml:1.2 
phpdoc/en/reference/kadm5/reference.xml:1.3
--- phpdoc/en/reference/kadm5/reference.xml:1.2 Fri Jun 17 18:59:26 2005
+++ phpdoc/en/reference/kadm5/reference.xml Fri Jun 24 09:02:25 2005
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.2 $ --
+!-- $Revision: 1.3 $ --
  reference id=ref.kadm5
   titleKADM5/title
   titleabbrevkadm5/titleabbrev
@@ -69,7 +69,7 @@
titleContact Information/title
 para
  If you have comments, bugfixes, enhancements or want to help
- developping this you can send me a mail at 
+ in developing this you can send me a mail at 
  ulink url=mailto:email.hburbach;;email.hburbach;/ulink.
  The project homepage can be found at
  ulink url=url.kadm5;url.kadm5;/ulink.
http://cvs.php.net/diff.php/phpdoc/en/reference/oggvorbis/reference.xml?r1=1.2r2=1.3ty=u
Index: phpdoc/en/reference/oggvorbis/reference.xml
diff -u phpdoc/en/reference/oggvorbis/reference.xml:1.2 
phpdoc/en/reference/oggvorbis/reference.xml:1.3
--- phpdoc/en/reference/oggvorbis/reference.xml:1.2 Fri Jun 17 19:22:25 2005
+++ phpdoc/en/reference/oggvorbis/reference.xml Fri Jun 24 09:02:25 2005
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.2 $ --
+!-- $Revision: 1.3 $ --
 reference id=ref.oggvorbis
  titleoggvorbis/title
  titleabbrevOGG/Vorbis/titleabbrev
@@ -11,7 +11,7 @@
 The OGG/Vorbis file format, as defined by ulink 
url=url.ogg;url.ogg;/ulink
 and ulink url=url.ogg.vorbis;url.ogg.vorbis;/ulink, is a scheme
 for compressing audio streams by multiple factors with a minimum of
-quality loss. This extension adds oggvorbis support to PHPapos;s
+quality loss. This extension adds Ogg Vorbis support to PHPapos;s
 link linkend=wrappersURL Wrappers/link. When used in read mode,
 compressed OGG/Vorbis data is expanded to raw PCM audio in one of six PCM
 encoding formats listed below.
@@ -21,7 +21,7 @@
   section 

[PHP-DOC] cvs: phpdoc /en/reference/curl/functions curl-copy-handle.xml

2005-06-16 Thread Dave Barr
daveThu Jun 16 04:52:03 2005 EDT

  Modified files:  
/phpdoc/en/reference/curl/functions curl-copy-handle.xml 
  Log:
  - Grammar.
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/curl/functions/curl-copy-handle.xml?r1=1.3r2=1.4ty=u
Index: phpdoc/en/reference/curl/functions/curl-copy-handle.xml
diff -u phpdoc/en/reference/curl/functions/curl-copy-handle.xml:1.3 
phpdoc/en/reference/curl/functions/curl-copy-handle.xml:1.4
--- phpdoc/en/reference/curl/functions/curl-copy-handle.xml:1.3 Thu Jun 16 
03:19:26 2005
+++ phpdoc/en/reference/curl/functions/curl-copy-handle.xml Thu Jun 16 
04:52:00 2005
@@ -1,10 +1,10 @@
 ?xml version='1.0' encoding='iso-8859-1'?
-!-- $Revision: 1.3 $ --
+!-- $Revision: 1.4 $ --
 refentry id=function.curl-copy-handle
  refnamediv
   refnamecurl_copy_handle/refname
   refpurpose
-   Copy a cURL handle along with all of it's preferences
+   Copy a cURL handle along with all of its preferences
   /refpurpose
  /refnamediv
  refsect1
@@ -14,8 +14,8 @@
methodparamtyperesource/typeparameterch/parameter/methodparam
   /methodsynopsis
   para
-   This function copy's a cURL handle.
-   Returning a new cURL handle with the same preferences.
+   This function copies a cURL handle, returning a new cURL handle
+   with the same preferences.
   /para
   para
example


[PHP-DOC] cvs: phpdoc /en/features safe-mode.xml /en/reference/dio/functions dio-read.xml /en/reference/ibm_db2 constants.xml /en/reference/ibm_db2/functions db2-execute.xml db2-prepare.xml /en/re

2005-06-14 Thread Dave Barr
daveTue Jun 14 21:16:16 2005 EDT

  Modified files:  
/phpdoc/en/features safe-mode.xml 
/phpdoc/en/reference/dio/functions  dio-read.xml 
/phpdoc/en/reference/ibm_db2constants.xml 
/phpdoc/en/reference/ibm_db2/functions  db2-execute.xml 
db2-prepare.xml 
/phpdoc/en/reference/misc/functions halt-compiler.xml 
time-sleep-until.xml 
/phpdoc/en/reference/runkit constants.xml sandbox.xml 
/phpdoc/en/reference/runkit/functions   runkit-superglobals.xml 
  Log:
  - Typos.
  
  http://cvs.php.net/diff.php/phpdoc/en/features/safe-mode.xml?r1=1.62r2=1.63ty=u
Index: phpdoc/en/features/safe-mode.xml
diff -u phpdoc/en/features/safe-mode.xml:1.62 
phpdoc/en/features/safe-mode.xml:1.63
--- phpdoc/en/features/safe-mode.xml:1.62   Mon Jun  6 07:35:37 2005
+++ phpdoc/en/features/safe-mode.xmlTue Jun 14 21:16:14 2005
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.62 $ --
+!-- $Revision: 1.63 $ --
  chapter id=features.safe-mode
   titleSafe Mode/title
 
@@ -389,7 +389,7 @@
   /para
   warning
para
-These PHP rectrictions are not valid in executed binaries, of course.
+These PHP restrictions are not valid in executed binaries, of course.
/para
   /warning
  /sect1
http://cvs.php.net/diff.php/phpdoc/en/reference/dio/functions/dio-read.xml?r1=1.6r2=1.7ty=u
Index: phpdoc/en/reference/dio/functions/dio-read.xml
diff -u phpdoc/en/reference/dio/functions/dio-read.xml:1.6 
phpdoc/en/reference/dio/functions/dio-read.xml:1.7
--- phpdoc/en/reference/dio/functions/dio-read.xml:1.6  Tue Apr  5 08:51:55 2005
+++ phpdoc/en/reference/dio/functions/dio-read.xml  Tue Jun 14 21:16:15 2005
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.6 $ --
+!-- $Revision: 1.7 $ --
 refentry id=function.dio-read
  refnamediv
   refnamedio_read/refname
@@ -45,7 +45,7 @@
  refsect1 role=returnvalues
   reftitle.returnvalues;
   para
-   The bytes readed from parameterfd/parameter.
+   The bytes read from parameterfd/parameter.
   /para
  /refsect1
  refsect1 role=seealso
http://cvs.php.net/diff.php/phpdoc/en/reference/ibm_db2/constants.xml?r1=1.4r2=1.5ty=u
Index: phpdoc/en/reference/ibm_db2/constants.xml
diff -u phpdoc/en/reference/ibm_db2/constants.xml:1.4 
phpdoc/en/reference/ibm_db2/constants.xml:1.5
--- phpdoc/en/reference/ibm_db2/constants.xml:1.4   Wed May 18 18:46:27 2005
+++ phpdoc/en/reference/ibm_db2/constants.xml   Tue Jun 14 21:16:15 2005
@@ -1,5 +1,5 @@
 ?xml version='1.0' encoding='iso-8859-1'?
-!-- $Revision: 1.4 $ --
+!-- $Revision: 1.5 $ --
 !-- Generated by xml_proto.php v2.2. Found in /scripts directory of phpdoc. 
--
 section id=ibm-db2.constants
  reftitle.constants;
@@ -24,7 +24,7 @@
/term
listitem
 simpara
- Specifies that binary data shall be converted to a hexidecimal encoding
+ Specifies that binary data shall be converted to a hexadecimal encoding
  and returned as an ASCII string.
 /simpara
/listitem
http://cvs.php.net/diff.php/phpdoc/en/reference/ibm_db2/functions/db2-execute.xml?r1=1.4r2=1.5ty=u
Index: phpdoc/en/reference/ibm_db2/functions/db2-execute.xml
diff -u phpdoc/en/reference/ibm_db2/functions/db2-execute.xml:1.4 
phpdoc/en/reference/ibm_db2/functions/db2-execute.xml:1.5
--- phpdoc/en/reference/ibm_db2/functions/db2-execute.xml:1.4   Wed May 18 
11:13:04 2005
+++ phpdoc/en/reference/ibm_db2/functions/db2-execute.xml   Tue Jun 14 
21:16:15 2005
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.4 $ --
+!-- $Revision: 1.5 $ --
 !-- Generated by xml_proto.php v2.2. Found in /scripts directory of phpdoc. 
--
 refentry id=function.db2-execute
  refnamediv
@@ -78,7 +78,7 @@
 titlePreparing and executing an SQL statement with parameter 
markers/title
 para
  The following example prepares an INSERT statement that accepts four
- parameter markers, then iterates over an array of arrays containg the
+ parameter markers, then iterates over an array of arrays containing the
  input values to be passed to functiondb2_execute/function.
 /para
 programlisting role=php
http://cvs.php.net/diff.php/phpdoc/en/reference/ibm_db2/functions/db2-prepare.xml?r1=1.2r2=1.3ty=u
Index: phpdoc/en/reference/ibm_db2/functions/db2-prepare.xml
diff -u phpdoc/en/reference/ibm_db2/functions/db2-prepare.xml:1.2 
phpdoc/en/reference/ibm_db2/functions/db2-prepare.xml:1.3
--- phpdoc/en/reference/ibm_db2/functions/db2-prepare.xml:1.2   Wed Apr 13 
14:49:30 2005
+++ phpdoc/en/reference/ibm_db2/functions/db2-prepare.xml   Tue Jun 14 
21:16:15 2005
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.2 $ --
+!-- $Revision: 1.3 $ --
 !-- Generated by xml_proto.php v2.2. Found in /scripts directory of phpdoc. 
--
 refentry id=function.db2-prepare
  refnamediv
@@ -133,7 +133,7 @@
 titlePreparing and executing an SQL 

Re: [PHP-DOC] cvs: phpdoc /en/reference/filesystem/functions file-exists.xml

2005-04-21 Thread Dave Barr
Jakub Vrana wrote:
+  linkend=features.safe-modesafe mode/link retrictions. However these
s/retrictions/restrictions/
Dave


Re: [PHP-DOC] Functions without examples - datetime

2005-04-02 Thread Dave Barr
David Mytton wrote:
Hi,
I'm having a look at the functions without examples to see if I can go 
and add some in. I was wondering what constitutes having examples.

I used the datetime functions quite a bit and notice that the time() 
function is listed as not having examples, but going to www.php.net/time 
shows up an example. Looking at www.php.net/localtime - that clearly 
doesn't have any examples. So is the listing at 
http://www.phpdoc.info/meta/missing-examples.php wrong or does time() 
need more than 1 example to be counted?
The time() function does indeed not have examples. The example you see 
on that page is from a user-contributed note which doesn't count.

David Mytton
Dave


Re: [PHP-DOC] Functions without examples - datetime

2005-04-02 Thread Dave Barr
Philip Olson wrote:
I'm having a look at the functions without examples to see if I can go 
and add some in. I was wondering what constitutes having examples.

I used the datetime functions quite a bit and notice that the time() 
function is listed as not having examples, but going to www.php.net/time 
shows up an example. Looking at www.php.net/localtime - that clearly 
doesn't have any examples. So is the listing at 
http://www.phpdoc.info/meta/missing-examples.php wrong or does time() 
need more than 1 example to be counted?
 

The time() function does indeed not have examples. The example you see 
on that page is from a user-contributed note which doesn't count.
   

Time does have an example. Sean added it just the other day
so all that's happening here is missing-examples hasn't
updated yet.
Regards,
Philip
Woops! Yeah, this would be the problem:
Last updated from CVS: Tue, 15 Feb 2005 04:55:31 -0500 (46d 17h 56m 46s ago)
Dave


[PHP-DOC] cvs: phpdoc /en/reference/dom/functions dom-domelement-construct.xml /en/reference/filesystem/functions fgetcsv.xml /en/reference/maxdb/functions maxdb-stmt-send-long-data.xml /en/reference/sybase ini.xml

2005-03-30 Thread Dave Barr
daveWed Mar 30 23:04:15 2005 EDT

  Modified files:  
/phpdoc/en/reference/dom/functions  dom-domelement-construct.xml 
/phpdoc/en/reference/filesystem/functions   fgetcsv.xml 
/phpdoc/en/reference/maxdb/functionsmaxdb-stmt-send-long-data.xml 
/phpdoc/en/reference/sybase ini.xml 
  Log:
  - Typos.
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/dom/functions/dom-domelement-construct.xml?r1=1.1r2=1.2ty=u
Index: phpdoc/en/reference/dom/functions/dom-domelement-construct.xml
diff -u phpdoc/en/reference/dom/functions/dom-domelement-construct.xml:1.1 
phpdoc/en/reference/dom/functions/dom-domelement-construct.xml:1.2
--- phpdoc/en/reference/dom/functions/dom-domelement-construct.xml:1.1  Tue Mar 
22 05:56:34 2005
+++ phpdoc/en/reference/dom/functions/dom-domelement-construct.xml  Wed Mar 
30 23:04:14 2005
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.1 $ --
+!-- $Revision: 1.2 $ --
 refentry id='function.dom-domelement-construct'
  refnamediv
   refnameDOMElement-__construct()/refname
@@ -35,7 +35,7 @@
  listitem
   para
The tag name of the element. When also passing in namespaceURI, the 
element name 
-  may take a prefix to be asociated with the uri.
+  may take a prefix to be associated with the URI.
   /para
  /listitem
 /varlistentry
@@ -51,7 +51,7 @@
  termparameternamespaceURI/parameter/term
  listitem
   para
-   A namespace uri to create the element within a specific namespace.
+   A namespace URI to create the element within a specific namespace.
   /para
  /listitem
 /varlistentry
http://cvs.php.net/diff.php/phpdoc/en/reference/filesystem/functions/fgetcsv.xml?r1=1.19r2=1.20ty=u
Index: phpdoc/en/reference/filesystem/functions/fgetcsv.xml
diff -u phpdoc/en/reference/filesystem/functions/fgetcsv.xml:1.19 
phpdoc/en/reference/filesystem/functions/fgetcsv.xml:1.20
--- phpdoc/en/reference/filesystem/functions/fgetcsv.xml:1.19   Mon Mar  7 
14:09:37 2005
+++ phpdoc/en/reference/filesystem/functions/fgetcsv.xmlWed Mar 30 
23:04:14 2005
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.19 $ --
+!-- $Revision: 1.20 $ --
 !-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --
   refentry id=function.fgetcsv
refnamediv
@@ -34,7 +34,7 @@
  Must be greater than the longest line (in characters) to be found in 
the CSV file
  (allowing for trailing line-end characters). It became optional in 
PHP 5. Omitting
  this parameter (or setting it to 0 in PHP 5.0.4 and later) the 
maximum line length
- is not limited, which is slighlty slower.
+ is not limited, which is slightly slower.
 /simpara
/listitem
   /varlistentry
http://cvs.php.net/diff.php/phpdoc/en/reference/maxdb/functions/maxdb-stmt-send-long-data.xml?r1=1.3r2=1.4ty=u
Index: phpdoc/en/reference/maxdb/functions/maxdb-stmt-send-long-data.xml
diff -u phpdoc/en/reference/maxdb/functions/maxdb-stmt-send-long-data.xml:1.3 
phpdoc/en/reference/maxdb/functions/maxdb-stmt-send-long-data.xml:1.4
--- phpdoc/en/reference/maxdb/functions/maxdb-stmt-send-long-data.xml:1.3   
Tue Mar  8 11:39:06 2005
+++ phpdoc/en/reference/maxdb/functions/maxdb-stmt-send-long-data.xml   Wed Mar 
30 23:04:14 2005
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.3 $ --
+!-- $Revision: 1.4 $ --
   refentry id=function.maxdb-stmt-send-long-data
refnamediv
 refnamemaxdb_stmt_send_long_data/refname
@@ -36,7 +36,7 @@
  /para
  note
para
- For efficency reasons, this function should be used after calling
+ For efficiency reasons, this function should be used after calling
  functionmaxdb_execute/function. In this case, the data is not 
stored
  on the client side. The end of the sequence must end with a call
  to functionmaxdb_stmt_close_long_data/function.
http://cvs.php.net/diff.php/phpdoc/en/reference/sybase/ini.xml?r1=1.13r2=1.14ty=u
Index: phpdoc/en/reference/sybase/ini.xml
diff -u phpdoc/en/reference/sybase/ini.xml:1.13 
phpdoc/en/reference/sybase/ini.xml:1.14
--- phpdoc/en/reference/sybase/ini.xml:1.13 Tue Feb 22 12:36:11 2005
+++ phpdoc/en/reference/sybase/ini.xml  Wed Mar 30 23:04:14 2005
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.13 $ --
+!-- $Revision: 1.14 $ --
 section id=sybase.configuration
  reftitle.runtime;
  extension.runtime;
@@ -143,9 +143,9 @@
/term
listitem
 para
- Compatability mode with old versions of PHP 3.0. If on, this will cause
+ Compatibility mode with old versions of PHP 3.0. If on, this will cause
  PHP to automatically assign types to results according to their Sybase
- type, instead of treating them all as strings. This compatability mode
+ type, instead of treating them all as strings. This compatibility mode
  will probably not 

[PHP-DOC] cvs: phpdoc /en/appendices about.xml

2005-02-02 Thread Dave Barr
daveWed Feb  2 09:28:03 2005 EDT

  Modified files:  
/phpdoc/en/appendices   about.xml 
  Log:
  - Typo.
  
  
http://cvs.php.net/diff.php/phpdoc/en/appendices/about.xml?r1=1.37r2=1.38ty=u
Index: phpdoc/en/appendices/about.xml
diff -u phpdoc/en/appendices/about.xml:1.37 phpdoc/en/appendices/about.xml:1.38
--- phpdoc/en/appendices/about.xml:1.37 Sun Jan 23 15:04:32 2005
+++ phpdoc/en/appendices/about.xml  Wed Feb  2 09:28:03 2005
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.37 $ --
+!-- $Revision: 1.38 $ --
 
 appendix id=about
  titleAbout the manual/title
@@ -267,7 +267,7 @@
  sect1 id=about.phpversions
   titlePHP versions documented in this manual/title
   para
-   This documentation contains information about bot PHP 4 and PHP 5, with
+   This documentation contains information about both PHP 4 and PHP 5, with
some added migration and compatibility notes regarding PHP 3. Behaviour,
parameter, return value and other changes between different PHP
versions are documented in notes and inline text in the manual.


[PHP-DOC] cvs: phpdoc /en/reference/openal reference.xml

2005-01-30 Thread Dave Barr
daveSun Jan 30 10:09:40 2005 EDT

  Modified files:  
/phpdoc/en/reference/openal reference.xml 
  Log:
  - independant - independent.
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/openal/reference.xml?r1=1.1r2=1.2ty=u
Index: phpdoc/en/reference/openal/reference.xml
diff -u phpdoc/en/reference/openal/reference.xml:1.1 
phpdoc/en/reference/openal/reference.xml:1.2
--- phpdoc/en/reference/openal/reference.xml:1.1Tue Aug 31 21:27:32 2004
+++ phpdoc/en/reference/openal/reference.xmlSun Jan 30 10:09:40 2005
@@ -1,5 +1,5 @@
 ?xml version='1.0' encoding='iso-8859-1'?
-!-- $Revision: 1.1 $ --
+!-- $Revision: 1.2 $ --
  reference id=ref.openal
   titleOpenAL Audio Bindings/title
   titleabbrevopenal/titleabbrev
@@ -8,7 +8,7 @@
section id=openal.intro
reftitle.intro;
 para
- Platform independant audio bindings.
+ Platform independent audio bindings.
  Requires the ulink url=url.openal;OpenAL library/ulink.
 /para
/section


Re: [PHP-DOC] [Fwd: typo independant = independent]

2005-01-30 Thread Dave Barr
Gabor Hojtsy wrote:
Typos in the manual.
I've fixed the OpenAL one. The other two from the google search are 
contained in user-contributed notes.

Goba
Dave

Subject:
typo independant = independent
From:
geo [EMAIL PROTECTED]
Date:
Sun, 30 Jan 2005 09:47:50 +0800
To:
[EMAIL PROTECTED]
To:
[EMAIL PROTECTED]
google search of typo
http://www.google.com/search?q=+independant+site:php.mirrors.ilisys.com.auhl=enlr=filter=0 




[PHP-DOC] cvs: phpdoc /en/reference/math/functions tan.xml

2004-12-21 Thread Dave Barr
daveTue Dec 21 20:16:40 2004 EDT

  Modified files:  
/phpdoc/en/reference/math/functions tan.xml 
  Log:
  - Use M_PI_4 instead of M_PI_2 (bug #31236).
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/math/functions/tan.xml?r1=1.5r2=1.6ty=u
Index: phpdoc/en/reference/math/functions/tan.xml
diff -u phpdoc/en/reference/math/functions/tan.xml:1.5 
phpdoc/en/reference/math/functions/tan.xml:1.6
--- phpdoc/en/reference/math/functions/tan.xml:1.5  Wed Mar 10 09:39:13 2004
+++ phpdoc/en/reference/math/functions/tan.xml  Tue Dec 21 20:16:39 2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.5 $ --
+!-- $Revision: 1.6 $ --
 !-- splitted from ./en/functions/math.xml, last change in rev 1.57 --
   refentry id=function.tan
refnamediv
@@ -23,7 +23,7 @@
 ![CDATA[
 ?php
 
-echo tan(M_PI_2); // 1
+echo tan(M_PI_4); // 1
 
 ?
 ]]


Re: [PHP-DOC] cvs: phpdoc /en/reference/pdo reference.xml /en/reference/pdo/functions PDO-rollBack.xml

2004-11-19 Thread Dave Barr
Nuno Lopes wrote:
 The commandpear/command command automatically installs the
 PDO module into your PHP extensions directory. To enable the
- PDO extension on UNIX or Linux operating systems, you must add
+ PDO extension on Linux or UNIX operating systems, you must add
 the following line to php.ini;:

I think you should use Unix instead, because of trademark issues.
Nuno
Correct, check out my commit from last year on this function:
http://cvs.php.net/phpdoc/en/reference/calendar/functions/easter-date.xml
for an idea on why UNIX is bad.
Dave


[PHP-DOC] cvs: phpdoc /en/reference/http/functions setcookie.xml

2004-10-29 Thread Dave Barr
daveFri Oct 29 05:03:32 2004 EDT

  Modified files:  
/phpdoc/en/reference/http/functions setcookie.xml 
  Log:
  - Typo (bug #30607).
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/http/functions/setcookie.xml?r1=1.32r2=1.33ty=u
Index: phpdoc/en/reference/http/functions/setcookie.xml
diff -u phpdoc/en/reference/http/functions/setcookie.xml:1.32 
phpdoc/en/reference/http/functions/setcookie.xml:1.33
--- phpdoc/en/reference/http/functions/setcookie.xml:1.32   Sat Sep 25 22:33:31 
2004
+++ phpdoc/en/reference/http/functions/setcookie.xmlFri Oct 29 05:03:30 2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.32 $ --
+!-- $Revision: 1.33 $ --
 !-- splitted from ./en/functions/http.xml, last change in rev 1.2 --
   refentry id=function.setcookie
refnamediv
@@ -162,7 +162,7 @@
  para
   If the PHP directive link 
linkend=ini.register-globalsregister_globals/link
   is set to literalon/literal then cookie values will also be made into
-  variables.  In our examples below, varname$TextCookie/varname will
+  variables.  In our examples below, varname$TestCookie/varname will
   exist.  It's recommended to use varname$_COOKIE/varname.
  /para
 /note


[PHP-DOC] cvs: phpdoc / configure.in

2004-09-08 Thread Dave Barr
daveWed Sep  8 14:05:53 2004 EDT

  Modified files:  
/phpdoc configure.in 
  Log:
  - Fix reference to non-existent ID zend problems. Since missing-ids.xml
was moved into en/ (or other lang dirs) it wasn't being removed properly
before being recreated. Requires autoconf to be rerun!
  
  
http://cvs.php.net/diff.php/phpdoc/configure.in?r1=1.203r2=1.204ty=u
Index: phpdoc/configure.in
diff -u phpdoc/configure.in:1.203 phpdoc/configure.in:1.204
--- phpdoc/configure.in:1.203   Wed Aug  4 12:30:59 2004
+++ phpdoc/configure.in Wed Sep  8 14:05:53 2004
@@ -1,4 +1,4 @@
-dnl $Id: configure.in,v 1.203 2004/08/04 16:30:59 goba Exp $
+dnl $Id: configure.in,v 1.204 2004/09/08 18:05:53 dave Exp $
 
 dnl autoconf initialisation
 AC_INIT()
@@ -807,6 +807,7 @@
  
  dnl create missing-entities.ent and missing-ids.xml
  rm -f entities/missing*
+ rm -f $LANGDIR/missing-ids.xml
  $PHP -c $INIPATH -q ./scripts/missing-entities.php
  
 else


[PHP-DOC] cvs: phpdoc /en/reference/stream/functions stream-get-wrappers.xml

2004-09-07 Thread Dave Barr
daveTue Sep  7 20:00:56 2004 EDT

  Modified files:  
/phpdoc/en/reference/stream/functions   stream-get-wrappers.xml 
  Log:
  - Add TWO examples.
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/stream/functions/stream-get-wrappers.xml?r1=1.4r2=1.5ty=u
Index: phpdoc/en/reference/stream/functions/stream-get-wrappers.xml
diff -u phpdoc/en/reference/stream/functions/stream-get-wrappers.xml:1.4 
phpdoc/en/reference/stream/functions/stream-get-wrappers.xml:1.5
--- phpdoc/en/reference/stream/functions/stream-get-wrappers.xml:1.4Wed Jun 16 
09:01:22 2004
+++ phpdoc/en/reference/stream/functions/stream-get-wrappers.xmlTue Sep  7 
20:00:54 2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.4 $ --
+!-- $Revision: 1.5 $ --
   refentry id=function.stream-get-wrappers
refnamediv
 refnamestream_get_wrappers/refname
@@ -14,6 +14,49 @@
 para
  Returns an indexed array containing the name of all stream wrappers
  available on the running system.
+/para
+para
+ example
+  titlefunctionstream_get_wrappers/function example/title
+  programlisting role=php
+![CDATA[
+?php
+print_r(stream_get_wrappers());
+?
+]]
+  /programlisting
+  example.outputs.similar;
+  screen
+![CDATA[
+Array
+(
+[0] = php
+[1] = file
+[2] = http
+[3] = ftp
+[4] = compress.bzip2
+[5] = compress.zlib
+)
+]]
+  /screen
+ /example
+/para
+para
+ example
+  titleChecking for the existence of a stream wrapper/title
+  programlisting role=php
+![CDATA[
+?php
+// check for the existence of the bzip2 stream wrapper
+if (in_array('compress.bzip2', stream_get_wrappers())) {
+echo 'compress.bzip2:// support enabled.';
+} else {
+echo 'compress.bzip2:// support not enabled.';
+}
+?
+]]
+  /programlisting
+ /example
 /para
 para
  See also


[PHP-DOC] cvs: phpdoc /en/reference/pspell/functions pspell-config-ignore.xml

2004-09-03 Thread Dave Barr
daveFri Sep  3 02:12:46 2004 EDT

  Modified files:  
/phpdoc/en/reference/pspell/functions   pspell-config-ignore.xml 
  Log:
  - Typos, add parameter tag.
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/pspell/functions/pspell-config-ignore.xml?r1=1.4r2=1.5ty=u
Index: phpdoc/en/reference/pspell/functions/pspell-config-ignore.xml
diff -u phpdoc/en/reference/pspell/functions/pspell-config-ignore.xml:1.4 
phpdoc/en/reference/pspell/functions/pspell-config-ignore.xml:1.5
--- phpdoc/en/reference/pspell/functions/pspell-config-ignore.xml:1.4   Mon Dec 15 
11:52:56 2003
+++ phpdoc/en/reference/pspell/functions/pspell-config-ignore.xml   Fri Sep  3 
02:12:46 2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.4 $ --
+!-- $Revision: 1.5 $ --
 !-- splitted from ./en/functions/pspell.xml, last change in rev 1.6 --
   refentry id=function.pspell-config-ignore
refnamediv
@@ -16,8 +16,8 @@
 simpara
  functionpspell_config_ignore/function should be used on a config
  before calling functionpspell_new_config/function. This function
- allows short words to be skipped by the spellchecker. Words less then
- n characters will be skipped.
+ allows short words to be skipped by the spell checker. Words less than
+ parametern/parameter characters will be skipped.
 /simpara
 para
  example


[PHP-DOC] cvs: phpdoc /howto generating.xml

2004-09-03 Thread Dave Barr
daveFri Sep  3 04:09:48 2004 EDT

  Modified files:  
/phpdoc/howto   generating.xml 
  Log:
  - Typos in howto, document how much longer xmllint takes (on average).
  
  
http://cvs.php.net/diff.php/phpdoc/howto/generating.xml?r1=1.15r2=1.16ty=u
Index: phpdoc/howto/generating.xml
diff -u phpdoc/howto/generating.xml:1.15 phpdoc/howto/generating.xml:1.16
--- phpdoc/howto/generating.xml:1.15Wed Aug  4 20:10:13 2004
+++ phpdoc/howto/generating.xml Fri Sep  3 04:09:46 2004
@@ -7,12 +7,12 @@
An important part of making contributions to the PHP documentation
is being able to validate your changes and to be able to see what
they will look like in their various forms, whether that is in
-   HTML, Adobe PDF, RTF or other format.
+   HTML, Adobe PDF, RTF or other formats.
   /para
 
   para
The filenameMakefile/filename controls serveral aspects
-   of how documentation is validated and created. To generate a
+   of how the documentation is validated and created. To generate a
filenameMakefile/filename from a fresh checkout,
commandcd/command to the filenamephpdoc/filename
directory and issue the following commands:
@@ -111,9 +111,10 @@
   para
In order to check the validity of your XML you may use 
literalmake test_xml/literal as this executes a
-   filenamexmllint/filename check on the entire phpdoc tree.  This
-   will find problems 'make test' ignores, problems like a missing ; or
-   amp; for an entity.  This will take a long time execute.
+   commandxmllint/command check on the entire phpdoc tree.  This
+   will find problems commandmake test/command' ignores, problems like a
+   missing ; or amp; for an entity.  commandxmllint/command is much
+   slower than the SGML check and will take roughly 4 times longer to execute.
   /para
   para
informalexample
@@ -125,8 +126,10 @@
   /para
   para
Or to simply check the XML validity of one file you may use the
-   filenamexml-check.php/filename script that's found in the phpdoc
-   filenamescripts//filename directory, and use it like so:
+   filenamexml-check.php/filename script found in the phpdoc
+   filenamescripts//filename directory. This is much faster than
+   commandmake test/command or commandmake test_xml/command if you
+   have only modified one file.  Use it like so:
informalexample
 programlisting
 $ scripts/xml-check.php en/reference/mysql/functions/mysql-connect.xml
@@ -134,18 +137,18 @@
/informalexample
   /para
   para
-   It is important to do a test before commiting, because if you
+   It is important to do a test before committing, because if you
commit files with errors, this single file will cause the automatic
build process to halt, and the manual files and downloads
-   wont be updated online. This can make phpdoc people angry.
+   will not be updated online. This can make phpdoc people angry.
   /para
 
   note
titleWhen adding a new file/title
para
 If you're adding a new file be sure to run
-literal./configure/literal again before literalmake test/literal
-so that your new file will also be checked.
+command./configure/command again before commandmake test/command
+so that your new file will also be checked for validity.
   /para
  /note
  
@@ -178,8 +181,8 @@
 /listitem
 listitem
  para
-  literalpdf/literal, a PDF version of the manual found at ulink
-  url=url.php.manual.pdf;url.php.manual.pdf;/ulink
+  literalpdf/literal, a PDF version of the manual, currently not
+  available online
  /para
 /listitem
 listitem


[PHP-DOC] cvs: phpdoc /howto generating.xml

2004-09-03 Thread Dave Barr
daveFri Sep  3 04:15:52 2004 EDT

  Modified files:  
/phpdoc/howto   generating.xml 
  Log:
  - Typo.
  
  
http://cvs.php.net/diff.php/phpdoc/howto/generating.xml?r1=1.16r2=1.17ty=u
Index: phpdoc/howto/generating.xml
diff -u phpdoc/howto/generating.xml:1.16 phpdoc/howto/generating.xml:1.17
--- phpdoc/howto/generating.xml:1.16Fri Sep  3 04:09:46 2004
+++ phpdoc/howto/generating.xml Fri Sep  3 04:15:50 2004
@@ -112,7 +112,7 @@
In order to check the validity of your XML you may use 
literalmake test_xml/literal as this executes a
commandxmllint/command check on the entire phpdoc tree.  This
-   will find problems commandmake test/command' ignores, problems like a
+   will find problems commandmake test/command ignores, problems like a
missing ; or amp; for an entity.  commandxmllint/command is much
slower than the SGML check and will take roughly 4 times longer to execute.
   /para


Re: [PHP-DOC] cvs: phpdoc /en/functions apache.xml array.xml aspell.xml bc.xml bzip2.xml calendar.xml ccvs.xml classobj.xml com.xml cpdf.xml crack.xml ctype.xml curl.xml cybercash.xml cybermut.xml cyrus.xml datetime.xml dba.xml dbase.xml dbm.xml dbplus.xml dbx.xml dio.xml dir.xml domxml.xml dotnet.xml errorfunc.xml exec.xml fbsql.xml fdf.xml filepro.xml filesystem.xml fribidi.xml ftp.xml funchand.xml gettext.xml gmp.xml http.xml hw.xml hwapi.xml ibase.xml icap.xml iconv.xml ifx.xml iisfunc.xml image.xml imap.xml info.xml ingres_ii.xml ircg.xml java.xml ldap.xml mail.xml mailparse.xml math.xml mbstring.xml mcal.xml mcrypt.xml mcve.xml mhash.xml ming.xml misc.xml mnogosearch.xml msession.xml msql.xml mssql.xml muscat.xml mysql.xml ncurses.xml network.xml nis.xml notes.xml oci8.xml openssl.xml oracle.xml outcontrol.xml overload.xml ovrimos.xml pcntl.xml pcre.xml pdf.xml pfpro.xml pgsql.xml posix.xml printer.xml pspell.xml qtdom.xml readline.xml recode.xml regex.xml sem.xml sesam.xml session.xml shmop.xml snmp.xml sockets.xml strings.xml swf.xml sybase.xml uodbc.xml url.xml var.xml vpopmail.xml w32api.xml wddx.xml xml.xml xmlrpc.xml xslt.xml yaz.xml zip.xml zlib.xml

2004-09-03 Thread Dave Barr
techtonik wrote:
||*()*||[\..konnichi wa, ogenki desu ka, Gabor../]
GH   Log:
GH   remove functions folder, since this is two years old, and no translation needs 
this to get updated
Update HOWTO also?
 

Patch committed. Thanks.
Dave


[PHP-DOC] cvs: phpdoc /howto working.xml

2004-09-03 Thread Dave Barr
daveFri Sep  3 05:07:02 2004 EDT

  Modified files:  
/phpdoc/howto   working.xml 
  Log:
  - No more en/functions/ directory. Patch by techtonik.
  
  
http://cvs.php.net/diff.php/phpdoc/howto/working.xml?r1=1.44r2=1.45ty=u
Index: phpdoc/howto/working.xml
diff -u phpdoc/howto/working.xml:1.44 phpdoc/howto/working.xml:1.45
--- phpdoc/howto/working.xml:1.44   Tue Aug 17 03:29:09 2004
+++ phpdoc/howto/working.xmlFri Sep  3 05:06:58 2004
@@ -97,10 +97,7 @@
The PHP Manual XML source is organized into directories.
The biggest part is the extension reference, which is
stored in the filenamereference/filename directory
-   of your language. You may find the
-   filenamefunctions/filename directory in the English
-   tree, which is not used anymore for manual building, it
-   is only there for reference for manual translators.
+   of your language.
   /simpara
  /listitem
 /varlistentry


[PHP-DOC] cvs: phpdoc /howto working.xml

2004-09-03 Thread Dave Barr
daveFri Sep  3 05:13:41 2004 EDT

  Modified files:  
/phpdoc/howto   working.xml 
  Log:
  - No newline issues.
  
  
http://cvs.php.net/diff.php/phpdoc/howto/working.xml?r1=1.45r2=1.46ty=u
Index: phpdoc/howto/working.xml
diff -u phpdoc/howto/working.xml:1.45 phpdoc/howto/working.xml:1.46
--- phpdoc/howto/working.xml:1.45   Fri Sep  3 05:06:58 2004
+++ phpdoc/howto/working.xmlFri Sep  3 05:13:39 2004
@@ -1552,4 +1552,5 @@
 vim600: syn=xml fen fdm=syntax fdl=2 si
 vim: et tw=78 syn=sgml
 vi: ts=1 sw=1
---
\ No newline at end of file
+--
+


[PHP-DOC] cvs: phpdoc /en/reference/mbstring/functions mb-ereg-match.xml mb-ereg-replace.xml mb-ereg-search-getpos.xml mb-ereg-search-getregs.xml mb-ereg-search-init.xml mb-ereg-search-pos.xml mb-ereg-search-regs.xml mb-ereg-search-setpos.xml mb-ereg-search.xml mb-ereg.xml mb-eregi-replace.xml mb-eregi.xml mb-get-info.xml mb-regex-encoding.xml mb-regex-set-options.xml mb-split.xml

2004-08-28 Thread Dave Barr
daveSat Aug 28 09:34:36 2004 EDT

  Modified files:  
/phpdoc/en/reference/mbstring/functions mb-ereg-match.xml 
mb-ereg-replace.xml 
mb-ereg-search-getpos.xml 
mb-ereg-search-getregs.xml 
mb-ereg-search-init.xml 
mb-ereg-search-pos.xml 
mb-ereg-search-regs.xml 
mb-ereg-search-setpos.xml 
mb-ereg-search.xml 
mb-ereg.xml 
mb-eregi-replace.xml 
mb-eregi.xml 
mb-get-info.xml 
mb-regex-encoding.xml 
mb-regex-set-options.xml 
mb-split.xml 
  Log:
  - This extension is no longer experimental.
  
  http://cvs.php.net/diff.php/phpdoc/en/reference/mbstring/functions/mb-ereg-match.xml?r1=1.3r2=1.4ty=u
Index: phpdoc/en/reference/mbstring/functions/mb-ereg-match.xml
diff -u phpdoc/en/reference/mbstring/functions/mb-ereg-match.xml:1.3 
phpdoc/en/reference/mbstring/functions/mb-ereg-match.xml:1.4
--- phpdoc/en/reference/mbstring/functions/mb-ereg-match.xml:1.3Sat Jun  5 
10:30:22 2004
+++ phpdoc/en/reference/mbstring/functions/mb-ereg-match.xmlSat Aug 28 09:34:36 
2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.3 $ --
+!-- $Revision: 1.4 $ --
 !-- splitted from ./en/functions/mbstring.xml, last change in rev 1.23 --
   refentry id=function.mb-ereg-match
refnamediv
@@ -18,7 +18,6 @@
   typestring/typeparameteroption/parameter
  /methodparam
 /methodsynopsis
- warn.experimental.func;
 simpara
  functionmb_ereg_match/function returns true; if
  parameterstring/parameter matches regular expression
http://cvs.php.net/diff.php/phpdoc/en/reference/mbstring/functions/mb-ereg-replace.xml?r1=1.3r2=1.4ty=u
Index: phpdoc/en/reference/mbstring/functions/mb-ereg-replace.xml
diff -u phpdoc/en/reference/mbstring/functions/mb-ereg-replace.xml:1.3 
phpdoc/en/reference/mbstring/functions/mb-ereg-replace.xml:1.4
--- phpdoc/en/reference/mbstring/functions/mb-ereg-replace.xml:1.3  Sat Jun  5 
10:30:22 2004
+++ phpdoc/en/reference/mbstring/functions/mb-ereg-replace.xml  Sat Aug 28 09:34:36 
2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.3 $ --
+!-- $Revision: 1.4 $ --
 !-- splitted from ./en/functions/mbstring.xml, last change in rev 1.23 --
   refentry id=function.mb-ereg-replace
refnamediv
@@ -17,7 +17,6 @@
   typearray/typeparameteroption/parameter
  /methodparam
 /methodsynopsis
- warn.experimental.func;
 simpara
  functionmb_ereg_replace/function scans
  parameterstring/parameter for matches to
http://cvs.php.net/diff.php/phpdoc/en/reference/mbstring/functions/mb-ereg-search-getpos.xml?r1=1.3r2=1.4ty=u
Index: phpdoc/en/reference/mbstring/functions/mb-ereg-search-getpos.xml
diff -u phpdoc/en/reference/mbstring/functions/mb-ereg-search-getpos.xml:1.3 
phpdoc/en/reference/mbstring/functions/mb-ereg-search-getpos.xml:1.4
--- phpdoc/en/reference/mbstring/functions/mb-ereg-search-getpos.xml:1.3Sat 
Jun  5 10:30:22 2004
+++ phpdoc/en/reference/mbstring/functions/mb-ereg-search-getpos.xmlSat Aug 28 
09:34:36 2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.3 $ --
+!-- $Revision: 1.4 $ --
 !-- splitted from ./en/functions/mbstring.xml, last change in rev 1.23 --
   refentry id=function.mb-ereg-search-getpos
refnamediv
@@ -14,7 +14,6 @@
  typearray/typemethodnamemb_ereg_search_getpos/methodname
  void/
 /methodsynopsis
- warn.experimental.func;
 simpara
  functionmb_ereg_search_getpos/function returns
  the point to start regular expression match for
http://cvs.php.net/diff.php/phpdoc/en/reference/mbstring/functions/mb-ereg-search-getregs.xml?r1=1.4r2=1.5ty=u
Index: phpdoc/en/reference/mbstring/functions/mb-ereg-search-getregs.xml
diff -u phpdoc/en/reference/mbstring/functions/mb-ereg-search-getregs.xml:1.4 
phpdoc/en/reference/mbstring/functions/mb-ereg-search-getregs.xml:1.5
--- phpdoc/en/reference/mbstring/functions/mb-ereg-search-getregs.xml:1.4   Sat 
Jun  5 10:30:22 2004
+++ phpdoc/en/reference/mbstring/functions/mb-ereg-search-getregs.xml   Sat Aug 28 
09:34:36 2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.4 $ --
+!-- $Revision: 1.5 $ --
 !-- splitted from ./en/functions/mbstring.xml, last change in rev 1.23 --
   refentry id=function.mb-ereg-search-getregs

[PHP-DOC] cvs: phpdoc /en/features file-upload.xml

2004-08-24 Thread Dave Barr
daveTue Aug 24 19:02:43 2004 EDT

  Modified files:  
/phpdoc/en/features file-upload.xml 
  Log:
  - Typo, bug #29826.
  
  
http://cvs.php.net/diff.php/phpdoc/en/features/file-upload.xml?r1=1.77r2=1.78ty=u
Index: phpdoc/en/features/file-upload.xml
diff -u phpdoc/en/features/file-upload.xml:1.77 phpdoc/en/features/file-upload.xml:1.78
--- phpdoc/en/features/file-upload.xml:1.77 Sun May 30 04:52:42 2004
+++ phpdoc/en/features/file-upload.xml  Tue Aug 24 19:02:42 2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.77 $ --
+!-- $Revision: 1.78 $ --
  chapter id=features.file-upload
   titleHandling file uploads/title
 
@@ -62,7 +62,7 @@
 warning
  para
   The literalMAX_FILE_SIZE/literal is advisory to the browser, although PHP 
also checks
-  it. Changing this on the browser size is quite easy, so you can never
+  it. Changing this on the browser side is quite easy, so you can never
   rely on files with a greater size being blocked by this feature.  The
   PHP-settings for maximum-size, however, cannot be fooled. You should add
   the literalMAX_FILE_SIZE/literal form variable anyway as it saves users the 
trouble of


[PHP-DOC] cvs: phpdoc /en/reference/readline/functions readline-callback-handler-install.xml readline-callback-handler-remove.xml readline-callback-read-char.xml

2004-08-24 Thread Dave Barr
daveWed Aug 25 00:38:38 2004 EDT

  Added files: 
/phpdoc/en/reference/readline/functions 
readline-callback-handler-install.xml 
readline-callback-handler-remove.xml 
readline-callback-read-char.xml 
  Log:
  - Document Wez's new readline callback functions.
  
  

http://cvs.php.net/co.php/phpdoc/en/reference/readline/functions/readline-callback-handler-install.xml?r=1.1p=1
Index: phpdoc/en/reference/readline/functions/readline-callback-handler-install.xml
+++ phpdoc/en/reference/readline/functions/readline-callback-handler-install.xml
?xml version=1.0 encoding=iso-8859-1?
!-- $Revision: 1.1 $ --
  refentry id=function.readline-callback-handler-install
   refnamediv
refnamereadline_callback_handler_install/refname
refpurposeInitializes the readline callback interface and terminal, prints the 
prompt and returns immediately/refpurpose
   /refnamediv
   refsect1
reftitle.description;
 methodsynopsis
  typebool/typemethodnamereadline_callback_handler_install/methodname
  methodparamtypestring/typeparameterprompt/parameter/methodparam
  methodparamtypecallback/typeparametercallback/parameter/methodparam
 /methodsynopsis
para
 Sets up a readline callback interface then prints
 parameterprompt/parameter and immediately returns. The
 parametercallback/parameter function takes one parameter; the user
 input returned. Calling this function twice without removing the previous
 callback interface will automatically and conveniently overwrite the old
 interface.
/para
para
 The callback feature is useful when combined with
 functionstream_select/function as it allows interleaving of IO and
 user input, unlike functionreadline/function.
/para
   /refsect1
   refsect1
reftitle.returnvalues;
para
 return.success;
/para
   /refsect1
   refsect1
reftitle.examples;
para
 example
  titleReadline Callback Interface Example/title
  programlisting role=php
![CDATA[
?php
function rl_callback($ret)
{
global $c, $prompting;

echo You entered: $ret\n;
$c++;

if ($c  10) {
$prompting = false;
readline_callback_handler_remove();
} else {
readline_callback_handler_install([$c] Enter something: , 'rl_callback');
}
}

$c = 1;
$prompting = true;

readline_callback_handler_install([$c] Enter something: , 'rl_callback');

while ($prompting) {
$n = stream_select($r = array(STDIN), $w = null, $e = null, null);
if ($n  in_array(STDIN, $r)) {
// read a character, will call the callback when a newline is entered
readline_callback_read_char();
}
}

echo Prompting disabled. All done.\n;
?
]]
  /programlisting
 /example
/para
   /refsect1
   refsect1
reftitle.seealso;
para
 functionreadline_callback_handler_remove/function,
 functionreadline_callback_read_char/functionlistendand;
 functionstream_select/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/readline/functions/readline-callback-handler-remove.xml?r=1.1p=1
Index: phpdoc/en/reference/readline/functions/readline-callback-handler-remove.xml
+++ phpdoc/en/reference/readline/functions/readline-callback-handler-remove.xml
?xml version=1.0 encoding=iso-8859-1?
!-- $Revision: 1.1 $ --
  refentry id=function.readline-callback-handler-remove
   refnamediv
refnamereadline_callback_handler_remove/refname
refpurposeRemoves a previously installed callback handler and restores terminal 
settings/refpurpose
   /refnamediv
   refsect1
reftitle.description;
 methodsynopsis
  typebool/typemethodnamereadline_callback_handler_remove/methodname
  void/
 /methodsynopsis
para
 Removes a previously installed callback handler and restores terminal
 settings.
/para
   /refsect1
   refsect1
reftitle.examples;
para
 See functionreadline_callback_handler_install/function for an example
 of how to use the readline callback interface.
/para
   /refsect1
   refsect1
reftitle.returnvalues;
para
 Returns true; if a previously installed callback handler was removed, or
 false; if one could not be found.
/para
   /refsect1
   refsect1
reftitle.seealso;
para
 functionreadline_callback_handler_install/function, and
 

[PHP-DOC] cvs: phpdoc /en/reference/apache/functions apache-setenv.xml

2004-08-22 Thread Dave Barr
daveSun Aug 22 06:57:40 2004 EDT

  Modified files:  
/phpdoc/en/reference/apache/functions   apache-setenv.xml 
  Log:
  - Typo.
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/apache/functions/apache-setenv.xml?r1=1.3r2=1.4ty=u
Index: phpdoc/en/reference/apache/functions/apache-setenv.xml
diff -u phpdoc/en/reference/apache/functions/apache-setenv.xml:1.3 
phpdoc/en/reference/apache/functions/apache-setenv.xml:1.4
--- phpdoc/en/reference/apache/functions/apache-setenv.xml:1.3  Sun Aug 22 06:14:34 
2004
+++ phpdoc/en/reference/apache/functions/apache-setenv.xml  Sun Aug 22 06:57:39 
2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.3 $ --
+!-- $Revision: 1.4 $ --
 !-- splitted from ./en/functions/apache.xml, last change in rev 1.7 --
   refentry id=function.apache-setenv
refnamediv
@@ -37,7 +37,7 @@
 /example
 para
  functionapache_setenv/function can be paired up with
- functionapache_getenv/function across seperate pages or for setting
+ functionapache_getenv/function across separate pages or for setting
  variables to pass to Server Side Includes (.shtml) that have been
  included in PHP scripts.
 /para


Re: [PHP-DOC] Livedocs

2004-08-21 Thread Dave Barr
Curt Zirzow wrote:
* Thus wrote Derick Rethans:
Heya,
livedocs is now running on docs.php.net (do not announce it yet!) but
not automatically updating so far.
Please fix the following errors:
[Sat Aug 21 16:49:25 2004] [error] [client 80.197.147.147] File does not exist: 
/local/Web/sites/livedocs/www/style.css

I've got a bunch of fixes for the php.net theme, i'll send in a
patch later today.
http://livedocs.zirzow.dyndns.org/
Also:
table.table, table.informaltable {
border: solid 2px #cc;
border-collapse: collapse;
margin: 1em;
width: 600px;
}
Is there any reason there's a fixed table width of 600 pixels for both 
the 'default' and 'php.net' themes? No such limit exists on the built 
manual pages. It makes most of the tables really squashed and hard to read.

Curt
Dave


Re: [PHP-DOC] changes to the new spell-checker

2004-08-17 Thread Dave Barr
Curt Zirzow wrote:
Ok.. I was bored and made some changes to the new spell-checker
dave wrote. here are the list of changes:
- autodetect cvsroot directory instead of ../
- ensure custom.pws is in cvsroot of phpdoc.
- allow filename(s) to be passed on the command prompt
- fixed bug with word's having apostrophies.
- preview of paragraph with *word* highlighted in context.
- list choices from pspell_suggest().
- allow user to enter new word, skip, or add to word list.
- if spelling changes made allow your to save changes back to disk.
Any objections to commiting these changes? See attached patch.
The patch looks fine, but I'd probably have it reference en.pws in the 
phpdoc/scripts/ directory (which happens to already exist and is 
therefore in CVS) instead of the phpdoc/ root directory (which would 
need an additional line in .cvsignore). Didn't get a chance to test the 
saving changes back to disk part, however.

Dave


[PHP-DOC] cvs: phpdoc /en/reference/bcompiler/functions bcompiler-write-class.xml

2004-08-14 Thread Dave Barr
daveSat Aug 14 16:44:51 2004 EDT

  Modified files:  
/phpdoc/en/reference/bcompiler/functionsbcompiler-write-class.xml 
  Log:
  - Typos.
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/bcompiler/functions/bcompiler-write-class.xml?r1=1.2r2=1.3ty=u
Index: phpdoc/en/reference/bcompiler/functions/bcompiler-write-class.xml
diff -u phpdoc/en/reference/bcompiler/functions/bcompiler-write-class.xml:1.2 
phpdoc/en/reference/bcompiler/functions/bcompiler-write-class.xml:1.3
--- phpdoc/en/reference/bcompiler/functions/bcompiler-write-class.xml:1.2   Fri 
Aug 13 12:12:04 2004
+++ phpdoc/en/reference/bcompiler/functions/bcompiler-write-class.xml   Sat Aug 14 
16:44:51 2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.2 $ --
+!-- $Revision: 1.3 $ --
 !-- splitted from ./en/functions/bcompiler.xml, last change in rev 1.5 --
   refentry id=function.bcompiler-write-class
refnamediv
@@ -17,9 +17,9 @@
warn.experimental.func;
 para
  This reads the bytecodes from PHP for an existing class, and writes them
- to the open file handle, It does not perform dependancy checking, so make
+ to the open file handle, It does not perform dependency checking, so make
  sure you write the classes in an order that will not result in an 
- 'undefined class' occuring when you load it.
+ 'undefined class' occurring when you load it.
 /para
 example
  titlefunctionbcompiler_write_class/function example/title


Re: [PHP-DOC] Re: #29644 [Opn-Csd]: spelling mistake on object abstraction page

2004-08-13 Thread Dave Barr
Mehdi Achour wrote:
It wasn't dave :)
Woops, guess I was looking at the wrong implementation word and didn't 
check further in. Thanks Mehdi.

didou
Dave


[PHP-DOC] cvs: phpdoc /en/appendices reserved.constants.core.xml

2004-08-13 Thread Dave Barr
daveFri Aug 13 08:07:44 2004 EDT

  Modified files:  
/phpdoc/en/appendices   reserved.constants.core.xml 
  Log:
  - Typo.
  # Hi Nuno!
  
  
http://cvs.php.net/diff.php/phpdoc/en/appendices/reserved.constants.core.xml?r1=1.9r2=1.10ty=u
Index: phpdoc/en/appendices/reserved.constants.core.xml
diff -u phpdoc/en/appendices/reserved.constants.core.xml:1.9 
phpdoc/en/appendices/reserved.constants.core.xml:1.10
--- phpdoc/en/appendices/reserved.constants.core.xml:1.9Fri Aug 13 08:01:23 
2004
+++ phpdoc/en/appendices/reserved.constants.core.xmlFri Aug 13 08:07:44 2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.9 $ --
+!-- $Revision: 1.10 $ --
  refentry id=reserved.constants.core
   refnamediv
refnameCore Predefined Constants/refname
@@ -41,7 +41,7 @@
  /term
  listitem
   simpara
-   Avaliable since PHP 5.0.2
+   Available since PHP 5.0.2
   /simpara
  /listitem
 /varlistentry


[PHP-DOC] cvs: phpdoc /scripts spell-checker.php

2004-08-13 Thread Dave Barr
daveFri Aug 13 18:33:03 2004 EDT

  Modified files:  
/phpdoc/scripts spell-checker.php 
  Log:
  - Add a word count.
  
  
http://cvs.php.net/diff.php/phpdoc/scripts/spell-checker.php?r1=1.1r2=1.2ty=u
Index: phpdoc/scripts/spell-checker.php
diff -u phpdoc/scripts/spell-checker.php:1.1 phpdoc/scripts/spell-checker.php:1.2
--- phpdoc/scripts/spell-checker.php:1.1Fri Aug 13 00:59:25 2004
+++ phpdoc/scripts/spell-checker.phpFri Aug 13 18:33:03 2004
@@ -40,6 +40,7 @@
 
 $element = '';
 $current_file = '';
+$word_count = 0;
 
 /* prompt a user and return the response */
 function read_line($prompt) {
@@ -76,7 +77,7 @@
 /* spell check a chunk of data */
 function check_data($xml, $data)
 {
-global $element, $dict, $check_tags, $current_file;
+global $element, $dict, $check_tags, $current_file, $word_count;
 
 if (!in_array($element, $check_tags))
 return;
@@ -90,6 +91,7 @@
 if (trim($word) == '' || is_numeric($word) || preg_match('/[^a-z]/', 
$word))
 continue;
 
+$word_count++;
 $word = strtolower($word);
 
 if (!pspell_check($dict, $word)) {
@@ -161,5 +163,5 @@
 globbetyglob($phpdoc$lang, 'check_file');
 pspell_save_wordlist($dict);
 echo Wordlist saved.\n;
-
+echo Processed $word_count words.\n;
 ?


[PHP-DOC] cvs: phpdoc /en/reference/image/functions imagecreatefromstring.xml

2004-08-12 Thread Dave Barr
daveThu Aug 12 15:51:01 2004 EDT

  Modified files:  
/phpdoc/en/reference/image/functionsimagecreatefromstring.xml 
  Log:
  - Add info on automatically detected/supported types. Add return
values, see alsos, and an example.
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagecreatefromstring.xml?r1=1.3r2=1.4ty=u
Index: phpdoc/en/reference/image/functions/imagecreatefromstring.xml
diff -u phpdoc/en/reference/image/functions/imagecreatefromstring.xml:1.3 
phpdoc/en/reference/image/functions/imagecreatefromstring.xml:1.4
--- phpdoc/en/reference/image/functions/imagecreatefromstring.xml:1.3   Thu Apr 18 
13:13:09 2002
+++ phpdoc/en/reference/image/functions/imagecreatefromstring.xml   Thu Aug 12 
15:51:01 2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.3 $ --
+!-- $Revision: 1.4 $ --
 !-- splitted from ./en/functions/image.xml, last change in rev 1.31 --
   refentry id=function.imagecreatefromstring
refnamediv
@@ -7,14 +7,61 @@
 refpurposeCreate a new image from the image stream in the string/refpurpose
/refnamediv
refsect1
-titleDescription/title
+reftitle.description;
  methodsynopsis
   typeresource/typemethodnameimagecreatefromstring/methodname
   methodparamtypestring/typeparameterimage/parameter/methodparam
  /methodsynopsis
 para
  functionimagecreatefromstring/function returns an image identifier
- representing the image obtained from the given string.
+ representing the image obtained from the given string. These types
+ will be automatically detected if your build of PHP supports them:
+ JPEG, PNG, GIF, WBMP, and GD2.
+/para
+   /refsect1
+   refsect1
+reftitle.returnvalues;
+para
+ An image resource will be returned on success. false; is returned if
+ the image type is unsupported, the data is not in a recogised format,
+ or the image is corrupt and cannot be loaded.
+/para
+   /refsect1
+   refsect1
+reftitle.seealso;
+para
+ functionimagecreatefromjpeg/function,
+ functionimagecreatefrompng/function,
+ functionimagecreatefromgif/functionlistendand;
+ functionimagecreate/function
+/para
+   /refsect1
+   refsect1
+reftitle.examples;
+para
+ example
+  titlefunctionimagecreatefromstring/function example/title
+  programlisting role=php
+![CDATA[
+?php
+$data = 'iVBORw0KGgoNSUhEUgAAABwSCAMAAAB/2U7WBl'
+   . 'BMVEUAAAD///+l2Z/dSUlEQVR4XqWQUQoAIAxC2/0vXZDr'
+   . 'EX4IJTRkb7lobNUStXsB0jIXIAMSsQnWlsV+wULF4Avk9fLq2r'
+   . '8a5HSE35Q3eO2XP1A1wQkZSgETvDtKdQBJRU5ErkJggg==';
+$data = base64_decode($data);
+
+$im = imagecreatefromstring($data);
+if ($im !== false) {
+header('Content-Type: image/png');
+imagepng($im);
+}
+else {
+echo 'An error occured.';
+}
+?
+]]
+  /programlisting
+ /example
 /para
/refsect1
   /refentry


[PHP-DOC] cvs: phpdoc /en/reference/exec/functions proc-nice.xml

2004-08-12 Thread Dave Barr
daveThu Aug 12 16:15:28 2004 EDT

  Modified files:  
/phpdoc/en/reference/exec/functions proc-nice.xml 
  Log:
  - Explain that the parameter is an increment value. Fixes bug #29638.
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/exec/functions/proc-nice.xml?r1=1.3r2=1.4ty=u
Index: phpdoc/en/reference/exec/functions/proc-nice.xml
diff -u phpdoc/en/reference/exec/functions/proc-nice.xml:1.3 
phpdoc/en/reference/exec/functions/proc-nice.xml:1.4
--- phpdoc/en/reference/exec/functions/proc-nice.xml:1.3Sun Jun 22 08:20:10 
2003
+++ phpdoc/en/reference/exec/functions/proc-nice.xmlThu Aug 12 16:15:27 2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.3 $ --
+!-- $Revision: 1.4 $ --
   refentry id='function.proc-nice'
refnamediv
 refnameproc_nice/refname
@@ -11,13 +11,15 @@
 titleDescription/title
  methodsynopsis
   typebool/typemethodnameproc_nice/methodname
-  methodparamtypeint/typeparameterpriority/parameter/methodparam
+  methodparamtypeint/typeparameterincrement/parameter/methodparam
  /methodsynopsis
 para
- functionproc_nice/function changes the priority of the current
- process.  If an error occurs, like the user lacks permission to change
- the priority, an error of level constantE_WARNING/constant is
- generated and false; is returned.  Otherwise, true; is returned.
+ functionproc_nice/function increases the priority of the current
+ process.  You can use a negative parameterincrement/parameter to
+ decrease the priority. If an error occurs, like the user lacks permission
+ to change the priority, an error of level
+ constantE_WARNING/constant is generated and false; is returned.
+ Otherwise, true; is returned.
 /para
 note
  para


[PHP-DOC] cvs: phpdoc /en/reference/exec/functions proc-nice.xml

2004-08-12 Thread Dave Barr
daveThu Aug 12 17:21:37 2004 EDT

  Modified files:  
/phpdoc/en/reference/exec/functions proc-nice.xml 
  Log:
  - + = lower priority, - = higher priority.
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/exec/functions/proc-nice.xml?r1=1.4r2=1.5ty=u
Index: phpdoc/en/reference/exec/functions/proc-nice.xml
diff -u phpdoc/en/reference/exec/functions/proc-nice.xml:1.4 
phpdoc/en/reference/exec/functions/proc-nice.xml:1.5
--- phpdoc/en/reference/exec/functions/proc-nice.xml:1.4Thu Aug 12 16:15:27 
2004
+++ phpdoc/en/reference/exec/functions/proc-nice.xmlThu Aug 12 17:21:36 2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.4 $ --
+!-- $Revision: 1.5 $ --
   refentry id='function.proc-nice'
refnamediv
 refnameproc_nice/refname
@@ -14,10 +14,12 @@
   methodparamtypeint/typeparameterincrement/parameter/methodparam
  /methodsynopsis
 para
- functionproc_nice/function increases the priority of the current
- process.  You can use a negative parameterincrement/parameter to
- decrease the priority. If an error occurs, like the user lacks permission
- to change the priority, an error of level
+ functionproc_nice/function changes the priority of the current
+ process by the amount specified in parameterincrement/parameter. A
+ positive parameterincrement/parameter will lower the priority of the
+ current process, whereas a negative parameterincrement/parameter
+ will raise the priority. If an error occurs, like the user lacks
+ permission to change the priority, an error of level
  constantE_WARNING/constant is generated and false; is returned.
  Otherwise, true; is returned.
 /para


[PHP-DOC] cvs: phpdoc /en/appendices resources.xml

2004-08-12 Thread Dave Barr
daveThu Aug 12 18:06:27 2004 EDT

  Modified files:  
/phpdoc/en/appendices   resources.xml 
  Log:
  - Remove empty function tags.
  
  
http://cvs.php.net/diff.php/phpdoc/en/appendices/resources.xml?r1=1.32r2=1.33ty=u
Index: phpdoc/en/appendices/resources.xml
diff -u phpdoc/en/appendices/resources.xml:1.32 phpdoc/en/appendices/resources.xml:1.33
--- phpdoc/en/appendices/resources.xml:1.32 Wed Aug 11 16:28:39 2004
+++ phpdoc/en/appendices/resources.xml  Thu Aug 12 18:06:27 2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.32 $ --
+!-- $Revision: 1.33 $ --
 appendix id=resource
  titleList of Resource Types/title
  para
@@ -341,7 +341,6 @@
  functionfbsql_data_seek/function,
  functionfbsql_db_query/function,
  functionfbsql_drop_db/function,
- function/function,
  functionfbsql_select_db/function,
  functionfbsql_errno/function,
  functionfbsql_error/function,
@@ -366,7 +365,6 @@
  functionfbsql_data_seek/function,
  functionfbsql_db_query/function,
  functionfbsql_drop_db/function,
- function/function,
  functionfbsql_select_db/function,
  functionfbsql_errno/function,
  functionfbsql_error/function,


[PHP-DOC] cvs: phpdoc /en/reference/fam/functions fam-cancel-monitor.xml fam-suspend-monitor.xml /en/reference/fdf/functions fdf-errno.xml /en/reference/zip/functions zip-read.xml

2004-08-12 Thread Dave Barr
daveThu Aug 12 18:20:24 2004 EDT

  Modified files:  
/phpdoc/en/reference/fam/functions  fam-cancel-monitor.xml 
fam-suspend-monitor.xml 
/phpdoc/en/reference/fdf/functions  fdf-errno.xml 
/phpdoc/en/reference/zip/functions  zip-read.xml 
  Log:
  - Remove function tags from function...s and replace with literals.
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/fam/functions/fam-cancel-monitor.xml?r1=1.3r2=1.4ty=u
Index: phpdoc/en/reference/fam/functions/fam-cancel-monitor.xml
diff -u phpdoc/en/reference/fam/functions/fam-cancel-monitor.xml:1.3 
phpdoc/en/reference/fam/functions/fam-cancel-monitor.xml:1.4
--- phpdoc/en/reference/fam/functions/fam-cancel-monitor.xml:1.3Thu Apr  1 
19:41:30 2004
+++ phpdoc/en/reference/fam/functions/fam-cancel-monitor.xmlThu Aug 12 18:20:24 
2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.3 $ --
+!-- $Revision: 1.4 $ --
   refentry id=function.fam-cancel-monitor
refnamediv
 refnamefam_cancel_monitor/refname
@@ -14,7 +14,8 @@
 /methodsynopsis
 para
  functionfam_cancel_monitor/function terminates monitoring on
- a resource previously requested using one of the 
functionfam_monitor_.../function.
+ a resource previously requested using one of the
+ literalfam_monitor_/literal functions.
  In addition an constantFAMAcknowledge/constant event occurs.
 /para
 para
http://cvs.php.net/diff.php/phpdoc/en/reference/fam/functions/fam-suspend-monitor.xml?r1=1.2r2=1.3ty=u
Index: phpdoc/en/reference/fam/functions/fam-suspend-monitor.xml
diff -u phpdoc/en/reference/fam/functions/fam-suspend-monitor.xml:1.2 
phpdoc/en/reference/fam/functions/fam-suspend-monitor.xml:1.3
--- phpdoc/en/reference/fam/functions/fam-suspend-monitor.xml:1.2   Mon Sep 29 
06:14:07 2003
+++ phpdoc/en/reference/fam/functions/fam-suspend-monitor.xml   Thu Aug 12 18:20:24 
2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.2 $ --
+!-- $Revision: 1.3 $ --
   refentry id=function.fam-suspend-monitor
refnamediv
 refnamefam_suspend_monitor/refname
@@ -14,8 +14,9 @@
 /methodsynopsis
 para
  functionfam_suspend_monitor/function temporarily suspend monitoring
- of a resource previously requested using one of the 
functionfam_monitor_.../function
- functions. Monitoring can later be continued using 
functionfam_resume_monitor/function
+ of a resource previously requested using one of the
+ literalfam_monitor_/literal functions.
+ Monitoring can later be continued using functionfam_resume_monitor/function
  without the need of requesting a complete new monitor.
 /para
 para
http://cvs.php.net/diff.php/phpdoc/en/reference/fdf/functions/fdf-errno.xml?r1=1.1r2=1.2ty=u
Index: phpdoc/en/reference/fdf/functions/fdf-errno.xml
diff -u phpdoc/en/reference/fdf/functions/fdf-errno.xml:1.1 
phpdoc/en/reference/fdf/functions/fdf-errno.xml:1.2
--- phpdoc/en/reference/fdf/functions/fdf-errno.xml:1.1 Mon Oct 21 16:57:18 2002
+++ phpdoc/en/reference/fdf/functions/fdf-errno.xml Thu Aug 12 18:20:24 2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.1 $ --
+!-- $Revision: 1.2 $ --
 refentry id=function.fdf-errno
  refnamediv
   refnamefdf_errno/refname
@@ -13,7 +13,7 @@
   /methodsynopsis
   para
functionfdf_errno/function returns the error code set by
-   the last functionfdf_.../function function call. This is zero 
+   the last FDF function call. This is zero 
for a successfull operation or a non-zero error code on failure.
A textual description may be obtained using the 
functionfdf_error/function function. 
http://cvs.php.net/diff.php/phpdoc/en/reference/zip/functions/zip-read.xml?r1=1.3r2=1.4ty=u
Index: phpdoc/en/reference/zip/functions/zip-read.xml
diff -u phpdoc/en/reference/zip/functions/zip-read.xml:1.3 
phpdoc/en/reference/zip/functions/zip-read.xml:1.4
--- phpdoc/en/reference/zip/functions/zip-read.xml:1.3  Thu May 29 11:11:21 2003
+++ phpdoc/en/reference/zip/functions/zip-read.xml  Thu Aug 12 18:20:24 2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.3 $ --
+!-- $Revision: 1.4 $ --
 !-- splitted from ./en/functions/zip.xml, last change in rev 1.11 --
   refentry id=function.zip-read
refnamediv
@@ -19,7 +19,7 @@
 /para
 para
  Returns a directory entry resource for later use with the
- functionzip_entry_.../function functions or false; if
+ literalzip_entry_.../literal functions or false; if
  there's no more entries to read.
 /para
 para


Re: [PHP-DOC] cvs: phpdoc /scripts spell-checker.php

2004-08-12 Thread Dave Barr
Dave Barr wrote:
daveFri Aug 13 00:59:25 2004 EDT
  Added files: 
/phpdoc/scripts	spell-checker.php 
  Log:
  - Add a custom phpdoc XML spell checker script. Needs the pspell extension
enabled to work.
Woops! I didn't even see vrana's aspell.php script. Oh well, mine's a 
lot different and the two can probably coexist. In case you were 
wondering, the main differences are:

- Mine uses PHP pspell extension whereas vrana's uses just the aspell 
binary.

- Mine uses PHP's XML parser whereas vrana's uses regular expressions.
- Mine doesn't write out an escaped version of the .xml files, whereas 
vrana's does.

Happy spell checking!
Dave


[PHP-DOC] cvs: phpdoc /en/reference/pcre pattern.syntax.xml

2004-08-11 Thread Dave Barr
daveWed Aug 11 16:15:30 2004 EDT

  Modified files:  
/phpdoc/en/reference/pcre   pattern.syntax.xml 
  Log:
  - Add lt; and fix assertion. Fixes #29621.
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/pcre/pattern.syntax.xml?r1=1.3r2=1.4ty=u
Index: phpdoc/en/reference/pcre/pattern.syntax.xml
diff -u phpdoc/en/reference/pcre/pattern.syntax.xml:1.3 
phpdoc/en/reference/pcre/pattern.syntax.xml:1.4
--- phpdoc/en/reference/pcre/pattern.syntax.xml:1.3 Sat Aug  7 11:07:57 2004
+++ phpdoc/en/reference/pcre/pattern.syntax.xml Wed Aug 11 16:15:29 2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.3 $ --
+!-- $Revision: 1.4 $ --
 !-- splitted from ./en/functions/pcre.xml, last change in rev 1.2 --
   refentry id=reference.pcre.pattern.syntax
refnamediv
@@ -1456,7 +1456,7 @@
  matches an occurrence of baz that  is  preceded  by  bar
  which in turn is not preceded by foo, while
 
-   literal(?lt;=\d{3}(?!999)...)foo/literal
+   literal(?lt;=\d{3}...(?lt;!999))foo/literal
 
  is another pattern which matches  foo  preceded  by  three
  digits and any three characters that are not 999.


[PHP-DOC] cvs: phpdoc /en/appendices resources.xml /en/install/windows apache1.xml

2004-08-11 Thread Dave Barr
daveWed Aug 11 16:28:39 2004 EDT

  Modified files:  
/phpdoc/en/appendices   resources.xml 
/phpdoc/en/install/windows  apache1.xml 
  Log:
  - Microsft = Microsoft.
  
  
http://cvs.php.net/diff.php/phpdoc/en/appendices/resources.xml?r1=1.31r2=1.32ty=u
Index: phpdoc/en/appendices/resources.xml
diff -u phpdoc/en/appendices/resources.xml:1.31 phpdoc/en/appendices/resources.xml:1.32
--- phpdoc/en/appendices/resources.xml:1.31 Tue Aug  3 16:59:42 2004
+++ phpdoc/en/appendices/resources.xml  Wed Aug 11 16:28:39 2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.31 $ --
+!-- $Revision: 1.32 $ --
 appendix id=resource
  titleList of Resource Types/title
  para
@@ -1279,7 +1279,7 @@
 entry
  functionmssql_close/function
 /entry
-entryLink to Microsft SQL Server database/entry
+entryLink to Microsoft SQL Server database/entry
/row
row
 entrymssql link persistent/entry
@@ -1293,7 +1293,7 @@
 entry
  None
 /entry
-entryPersistent link to Microsft SQL Server/entry
+entryPersistent link to Microsoft SQL Server/entry
/row
row
 entrymssql result/entry
@@ -1317,7 +1317,7 @@
 entry
  functionmssql_free_result/function
 /entry
-entryMicrosft SQL Server result/entry
+entryMicrosoft SQL Server result/entry
/row
row
 entrymysql link/entry
http://cvs.php.net/diff.php/phpdoc/en/install/windows/apache1.xml?r1=1.9r2=1.10ty=u
Index: phpdoc/en/install/windows/apache1.xml
diff -u phpdoc/en/install/windows/apache1.xml:1.9 
phpdoc/en/install/windows/apache1.xml:1.10
--- phpdoc/en/install/windows/apache1.xml:1.9   Sat Aug  7 15:18:24 2004
+++ phpdoc/en/install/windows/apache1.xml   Wed Aug 11 16:28:39 2004
@@ -1,7 +1,7 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.9 $ --
+!-- $Revision: 1.10 $ --
sect1 id=install.windows.apache1
-titleApache 1.3.x on Microsft Windows/title
+titleApache 1.3.x on Microsoft Windows/title
 para
  This section contains notes and hints specific to Apache 1.3.x installs
  of PHP on Microsoft Windows systems. We also


[PHP-DOC] cvs: phpdoc /scripts check-valid-function.php

2004-08-11 Thread Dave Barr
daveWed Aug 11 23:11:43 2004 EDT

  Added files: 
/phpdoc/scripts check-valid-function.php 
  Log:
  - Add a script that checks for non-functions inbetween function tags.
Using this would have caught bug #29622 sooner.
  
  

http://cvs.php.net/co.php/phpdoc/scripts/check-valid-function.php?r=1.1p=1
Index: phpdoc/scripts/check-valid-function.php
+++ phpdoc/scripts/check-valid-function.php
?php
/*
  +--+
  | PHP Version 5|
  +--+
  | Copyright (c) 1997-2004 The PHP Group|
  +--+
  | This source file is subject to version 3.0 of the PHP license,   |
  | that is bundled with this package in the file LICENSE, and is|
  | available through the world-wide-web at the following url:   |
  | http://www.php.net/license/3_0.txt.  |
  | If you did not receive a copy of the PHP license and are unable to   |
  | obtain it through the world-wide-web, please send a note to  |
  | [EMAIL PROTECTED] so we can mail you a copy immediately.   |
  +--+
  | Authors:Dave Barr [EMAIL PROTECTED] |
  +--+
  | Description: This file parses the manual and outputs all erroneous   |
  |  function tag usage.   |
  +--+

*/

/* path to phpdoc CVS checkout. if this file is in the scripts/ directory
 * then the value below will be correct!
 */
$phpdoc = '../';

/* english! */
$lang = 'en';

/* initialize array and declare some language constructs */
$funcs = array( 'include'  = true,
'include_once' = true,
'require'  = true,
'require_once' = true,
'return'   = true,
   );

$total = 0;

/* recursive glob() with a callback function */
function globbetyglob($globber, $userfunc)
{
foreach (glob($globber/*) as $file) {
if (is_dir($file)) {
globbetyglob($file, $userfunc);
}
else {
call_user_func($userfunc, $file);
}
}
}

/* make a function list from files in the functions/ directories */
function make_func_list($file)
{
global $funcs;

if (fnmatch(*/reference/*/functions/*.xml, $file)) {
$func = strtolower(str_replace(array('-', '.'), '_', substr(basename($file), 
0, -4)));
$funcs[$func] = true;
}
}

/* find all function tags and report invalid functions */
function parse_file($file)
{
global $funcs, $phpdoc, $lang, $total;

/* ignore old functions directory */
if (fnmatch($phpdoc/$lang/functions/*, $file))
return;

$f = file_get_contents($file);

if ($f != '') {
if (preg_match_all('|function(.*?)/function|s', $f, $m)
 is_array($m)
 is_array($m[1]))
{
foreach ($m[1] as $func) {
$func = strtolower(str_replace(array('::', '-'), '_', trim($func)));
if ($funcs[$func] !== true) {
$total++;
$fileout = substr($file, strlen($phpdoc) + 1);

printf(%-60.60s  function$func/function\n, $fileout);
}
}
}
}
}

echo Building a list of functions...\n;
globbetyglob($phpdoc/$lang, 'make_func_list');
echo 'List complete. ' . count($funcs) .  functions.\n;

echo Checking the manual for function tags that contain invalid functions...\n;
globbetyglob($phpdoc/$lang, 'parse_file');
echo Found $total occurences.\n;
?


[PHP-DOC] cvs: phpdoc /htmlhelp README.txt

2004-08-10 Thread Dave Barr
daveTue Aug 10 09:48:52 2004 EDT

  Modified files:  
/phpdoc/htmlhelpREADME.txt 
  Log:
  - Explain cvs date tag usage and bunzip2 usage.
  
  
http://cvs.php.net/diff.php/phpdoc/htmlhelp/README.txt?r1=1.3r2=1.4ty=u
Index: phpdoc/htmlhelp/README.txt
diff -u phpdoc/htmlhelp/README.txt:1.3 phpdoc/htmlhelp/README.txt:1.4
--- phpdoc/htmlhelp/README.txt:1.3  Mon Aug  9 07:46:21 2004
+++ phpdoc/htmlhelp/README.txt  Tue Aug 10 09:48:52 2004
@@ -10,7 +10,10 @@
 but that your XSL folder is dated 2002.12.31 23:00:00,
 since if you use XSL sheets from after this timestamp,
 the customizations will not work. Use the cvs date tag
-to get this version.
+to get this version:
+
+From the phpdoc root directory:
+cvs update -dP -D'December 31, 2002 11:00pm' xsl
 
 {Volunteer to fix the customizations if you are willing
  to, but otherwise you cannot do much more but use the old
@@ -52,9 +55,9 @@
 
  6. Get all the user notes from
 http://ANY_MIRROR.php.net/backend/notes/all.bz2,
-extract it's contents, and place the resulting
-all file to the same folder where the
-make_chm.bat resides.
+extract its contents (using bunzip2 all.bz2, for example),
+and place the resulting all file to the same folder where
+the make_chm.bat resides.
 
  7. Copy local_vars.php.src to local_vars.php and
 adjust settings as needed.


[PHP-DOC] cvs: phpdoc /en/reference/misc/functions time-nanosleep.xml

2004-08-10 Thread Dave Barr
daveTue Aug 10 14:45:07 2004 EDT

  Modified files:  
/phpdoc/en/reference/misc/functions time-nanosleep.xml 
  Log:
  - Document time_nanosleep(), with example.
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/misc/functions/time-nanosleep.xml?r1=1.1r2=1.2ty=u
Index: phpdoc/en/reference/misc/functions/time-nanosleep.xml
diff -u phpdoc/en/reference/misc/functions/time-nanosleep.xml:1.1 
phpdoc/en/reference/misc/functions/time-nanosleep.xml:1.2
--- phpdoc/en/reference/misc/functions/time-nanosleep.xml:1.1   Sun May  2 11:46:21 
2004
+++ phpdoc/en/reference/misc/functions/time-nanosleep.xml   Tue Aug 10 14:45:07 
2004
@@ -1,22 +1,99 @@
 ?xml version='1.0' encoding='iso-8859-1'?
-!-- $Revision: 1.1 $ --
+!-- $Revision: 1.2 $ --
 refentry id=function.time-nanosleep
  refnamediv
   refnametime_nanosleep/refname
   refpurpose
-   Delay for a number of seconds and nano seconds
+   Delay for a number of seconds and nanoseconds
   /refpurpose
  /refnamediv
  refsect1
-  titleDescription/title
+  reftitle.description;
   methodsynopsis
typemixed/typemethodnametime_nanosleep/methodname
methodparamtypeint/typeparameterseconds/parameter/methodparam
methodparamtypeint/typeparameternanoseconds/parameter/methodparam
   /methodsynopsis
+  para
+   Delays program execution for the given number of
+   parameterseconds/parameter and parameternanoseconds/parameter.
+  /para
+  para
+   parameterseconds/parameter must be a positive integer, and
+   parameternanoseconds/parameter must be a positive integer less than
+   1 billion.
+  /para
+ /refsect1
+ refsect1
+  reftitle.returnvalues;
+  para
+   Returns true; on success, false; on failure.
+  /para
+  para
+   If the delay was interrupted by a signal, an associative array will be
+   returned with the components:
+   itemizedlist
+listitem
+ simpara
+  literalseconds/literal - number of seconds remaining in
+  the delay
+ /simpara
+/listitem
+listitem
+ simpara
+  literalnanoseconds/literal - number of nanoseconds
+  remaining in the delay
+ /simpara
+/listitem
+   /itemizedlist
+  /para
+ /refsect1
+ refsect1
+  reftitle.seealso;
+  para
+   functionsleep/function,
+   functionusleep/function,
+   functionset_time_limit/function
+  /para
+ /refsect1
+ refsect1
+  reftitle.examples;
+  para
+   example
+titlefunctiontime_nanosleep/function example/title
+programlisting role=php
+![CDATA[
+?php
+/* Careful! This won't work as expected if an array is returned */
+if (time_nanosleep(0, 50)) {
+echo Slept for half a second.\n;
+}
+
+/* This is better: */
+if (time_nanosleep(0, 50) === true) {
+echo Slept for half a second.\n;
+}
 
-   warn.undocumented.func;
+/* And this is the best: */
+$nano = time_nanosleep(2, 10);
 
+if ($nano === true) {
+echo Slept for 2 seconds, 100 milliseconds.\n;
+}
+else if ($nano === false) {
+echo Sleeping failed.\n;
+}
+else if (is_array($nano)) {
+$seconds = $nano['seconds'];
+$nanoseconds = $nano['nanoseconds'];
+echo Interrupted by a signal.\n;
+echo Time remaining: $seconds seconds, $nanoseconds nanoseconds.;
+}
+?
+]]
+/programlisting
+   /example
+  /para
  /refsect1
 /refentry
 


[PHP-DOC] cvs: phpdoc /en/reference/misc/functions time-nanosleep.xml

2004-08-10 Thread Dave Barr
daveTue Aug 10 14:47:24 2004 EDT

  Modified files:  
/phpdoc/en/reference/misc/functions time-nanosleep.xml 
  Log:
  - Use return.success.
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/misc/functions/time-nanosleep.xml?r1=1.2r2=1.3ty=u
Index: phpdoc/en/reference/misc/functions/time-nanosleep.xml
diff -u phpdoc/en/reference/misc/functions/time-nanosleep.xml:1.2 
phpdoc/en/reference/misc/functions/time-nanosleep.xml:1.3
--- phpdoc/en/reference/misc/functions/time-nanosleep.xml:1.2   Tue Aug 10 14:45:07 
2004
+++ phpdoc/en/reference/misc/functions/time-nanosleep.xml   Tue Aug 10 14:47:24 
2004
@@ -1,5 +1,5 @@
 ?xml version='1.0' encoding='iso-8859-1'?
-!-- $Revision: 1.2 $ --
+!-- $Revision: 1.3 $ --
 refentry id=function.time-nanosleep
  refnamediv
   refnametime_nanosleep/refname
@@ -27,7 +27,7 @@
  refsect1
   reftitle.returnvalues;
   para
-   Returns true; on success, false; on failure.
+   return.success;
   /para
   para
If the delay was interrupted by a signal, an associative array will be


[PHP-DOC] System-dependent functions

2004-08-10 Thread Dave Barr
Some functions are system-dependent in that if they're not detected at
compile time, they won't be included in PHP. Currently the
documentation does not tell the user any information about this type
of function availability and could cause some confusion when a user
tries to use a function and it says Call to undefined function.
Opinions of the proposed entity?:
!ENTITY note.func.sysdep 'noteparaThis function is system-dependent
and may not be available in your copy of PHP. Use
functionfunction_exists/function to be certain./para/note'
Looking at php-src/ext/standard/basic_functions.c for example, these
functions may or may not be available in your copy of PHP, depending
on various factors:
time_nanosleep()   strftime()
gmstrftime()   strcoll()
money_format() nl_langinfo()
readlink() linkinfo()
symlink()  link()
proc_open()proc_close()
proc_terminate()   proc_get_status()
proc_nice()getservbyname()
getservbyport()getprotobyname()
getprotobynumber() asinh()
aconh()atanh()
hypot()inet_ntop()
inet_pton()putenv()
getopt()   microtime()
gettimeofday() stream_set_timeout()
realpath() fnmatch()
crypt()chroot()
glob() touch()
openlog()  syslog()
closelog() define_syslog_variables()
ftok()
Dave


[PHP-DOC] cvs: phpdoc /en/reference/misc/functions php-strip-whitespace.xml

2004-08-10 Thread Dave Barr
daveTue Aug 10 19:28:15 2004 EDT

  Modified files:  
/phpdoc/en/reference/misc/functions php-strip-whitespace.xml 
  Log:
  - Document php_strip_whitespace() with example.
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/misc/functions/php-strip-whitespace.xml?r1=1.1r2=1.2ty=u
Index: phpdoc/en/reference/misc/functions/php-strip-whitespace.xml
diff -u phpdoc/en/reference/misc/functions/php-strip-whitespace.xml:1.1 
phpdoc/en/reference/misc/functions/php-strip-whitespace.xml:1.2
--- phpdoc/en/reference/misc/functions/php-strip-whitespace.xml:1.1 Sun May  2 
11:46:21 2004
+++ phpdoc/en/reference/misc/functions/php-strip-whitespace.xml Tue Aug 10 19:28:14 
2004
@@ -1,5 +1,5 @@
 ?xml version='1.0' encoding='iso-8859-1'?
-!-- $Revision: 1.1 $ --
+!-- $Revision: 1.2 $ --
 refentry id=function.php-strip-whitespace
  refnamediv
   refnamephp_strip_whitespace/refname
@@ -8,13 +8,57 @@
   /refpurpose
  /refnamediv
  refsect1
-  titleDescription/title
+  reftitle.description;
   methodsynopsis
typestring/typemethodnamephp_strip_whitespace/methodname
-   methodparamtypestring/typeparameterfile_name/parameter/methodparam
+   methodparamtypestring/typeparameterfilename/parameter/methodparam
   /methodsynopsis
-   warn.undocumented.func;
+  para
+   Returns the PHP source code in parameterfilename/parameter with
+   PHP comments and whitespace removed. This may be useful for determining the
+   amount of actual code in your scripts compared with the amount of comments.
+  /para
+ /refsect1
+ refsect1
+  reftitle.returnvalues;
+  para
+   The stripped source code will be returned on success, or an empty string
+   on failure.
+  /para
+ /refsect1
+ refsect1
+  reftitle.examples;
+  para
+   example
+titlefunctionphp_strip_whitespace/function example/title
+programlisting role=php
+![CDATA[
+?php
+// PHP comment here
+
+/*
+ * Another PHP comment
+ */
 
+echophp_strip_whitespace($_SERVER['PHP_SELF']);
+// Newlines are considered whitespace, and are removed too:
+do_nothing();
+?
+]]
+/programlisting
+example.outputs;
+screen
+![CDATA[
+?php
+ echo php_strip_whitespace($_SERVER['PHP_SELF']); do_nothing(); ?
+]]
+/screen
+para
+ Notice the PHP comments are gone, as are the whitespace and newline
+ after the first echo statement.
+/para
+   /example
+  /para
  /refsect1
 /refentry
 


[PHP-DOC] cvs: phpdoc /en/reference/misc/functions php-strip-whitespace.xml

2004-08-10 Thread Dave Barr
daveTue Aug 10 20:00:49 2004 EDT

  Modified files:  
/phpdoc/en/reference/misc/functions php-strip-whitespace.xml 
  Log:
  - Add note about prior 5.0.1 bug #29606.
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/misc/functions/php-strip-whitespace.xml?r1=1.2r2=1.3ty=u
Index: phpdoc/en/reference/misc/functions/php-strip-whitespace.xml
diff -u phpdoc/en/reference/misc/functions/php-strip-whitespace.xml:1.2 
phpdoc/en/reference/misc/functions/php-strip-whitespace.xml:1.3
--- phpdoc/en/reference/misc/functions/php-strip-whitespace.xml:1.2 Tue Aug 10 
19:28:14 2004
+++ phpdoc/en/reference/misc/functions/php-strip-whitespace.xml Tue Aug 10 20:00:48 
2004
@@ -1,5 +1,5 @@
 ?xml version='1.0' encoding='iso-8859-1'?
-!-- $Revision: 1.2 $ --
+!-- $Revision: 1.3 $ --
 refentry id=function.php-strip-whitespace
  refnamediv
   refnamephp_strip_whitespace/refname
@@ -18,6 +18,14 @@
PHP comments and whitespace removed. This may be useful for determining the
amount of actual code in your scripts compared with the amount of comments.
   /para
+  note
+   para
+This function works as described as of PHP 5.0.1. Before this it would
+only return an empty string. For more information on this bug and its
+prior behavior, see bug report
+ulink url=url.php.bugs;29606#29606/ulink.
+   /para
+  /note
  /refsect1
  refsect1
   reftitle.returnvalues;


[PHP-DOC] cvs: phpdoc /en/reference/misc/functions php-strip-whitespace.xml

2004-08-10 Thread Dave Barr
daveTue Aug 10 20:21:26 2004 EDT

  Modified files:  
/phpdoc/en/reference/misc/functions php-strip-whitespace.xml 
  Log:
  - Similar to php -w.
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/misc/functions/php-strip-whitespace.xml?r1=1.3r2=1.4ty=u
Index: phpdoc/en/reference/misc/functions/php-strip-whitespace.xml
diff -u phpdoc/en/reference/misc/functions/php-strip-whitespace.xml:1.3 
phpdoc/en/reference/misc/functions/php-strip-whitespace.xml:1.4
--- phpdoc/en/reference/misc/functions/php-strip-whitespace.xml:1.3 Tue Aug 10 
20:00:48 2004
+++ phpdoc/en/reference/misc/functions/php-strip-whitespace.xml Tue Aug 10 20:21:26 
2004
@@ -1,5 +1,5 @@
 ?xml version='1.0' encoding='iso-8859-1'?
-!-- $Revision: 1.3 $ --
+!-- $Revision: 1.4 $ --
 refentry id=function.php-strip-whitespace
  refnamediv
   refnamephp_strip_whitespace/refname
@@ -17,6 +17,8 @@
Returns the PHP source code in parameterfilename/parameter with
PHP comments and whitespace removed. This may be useful for determining the
amount of actual code in your scripts compared with the amount of comments.
+   This is similar to using commandphp -w/command from the
+   link linkend=features.commandlinecommandline/link.
   /para
   note
para


[PHP-DOC] cvs: phpdoc /en/reference/strings/functions sprintf.xml

2004-08-10 Thread Dave Barr
daveTue Aug 10 21:50:46 2004 EDT

  Modified files:  
/phpdoc/en/reference/strings/functions  sprintf.xml 
  Log:
  - Document sign specifier.
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/strings/functions/sprintf.xml?r1=1.12r2=1.13ty=u
Index: phpdoc/en/reference/strings/functions/sprintf.xml
diff -u phpdoc/en/reference/strings/functions/sprintf.xml:1.12 
phpdoc/en/reference/strings/functions/sprintf.xml:1.13
--- phpdoc/en/reference/strings/functions/sprintf.xml:1.12  Sat Aug  7 21:30:40 
2004
+++ phpdoc/en/reference/strings/functions/sprintf.xml   Tue Aug 10 21:50:46 2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.12 $ --
+!-- $Revision: 1.13 $ --
 !-- splitted from ./en/functions/strings.xml, last change in rev 1.2 --
   refentry id=function.sprintf
refnamediv
@@ -33,6 +33,15 @@
  orderedlist
   listitem
simpara
+An optional emphasissign specifier/emphasis that forces a sign
+(- or +) to be used on a number. By default, only the - sign is used
+on a number if it's negative. This modifier forces positive numbers
+to have the + sign attached as well. This specifier was added in
+PHP 4.3.0.
+   /simpara
+  /listitem
+  listitem
+   simpara
 An optional emphasispadding specifier/emphasis that says
 what character will be used for padding the results to the
 right string size.  This may be a space character or a
@@ -97,7 +106,7 @@
  /member
  member
   literalf/literal - the argument is treated as a
-  typefloat/type, and presented as a floating-point number.
+  float, and presented as a floating-point number.
  /member
  member
   literalo/literal - the argument is treated as an
@@ -212,6 +221,9 @@
 printf(%%s = '%s'\n, $n); // string representation
 printf(%%x = '%x'\n, $n); // hexadecimal representation (lower-case)
 printf(%%X = '%X'\n, $n); // hexadecimal representation (upper-case)
+
+printf(%%+d = '%+d'\n, $n); // sign specifier on a positive integer
+printf(%%+d = '%+d'\n, $u); // sign specifier on a negative integer
 ?
 ]]
  /programlisting
@@ -231,6 +243,8 @@
 %s = '43951789'
 %x = '29ea6ad'
 %X = '29EA6AD'
+%+d = '+43951789'
+%+d = '-43951789'
 ]]
  /screen
 /example


[PHP-DOC] cvs: phpdoc /en/reference/strings/functions sprintf.xml

2004-08-10 Thread Dave Barr
daveTue Aug 10 21:52:42 2004 EDT

  Modified files:  
/phpdoc/en/reference/strings/functions  sprintf.xml 
  Log:
  - Fix wording.
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/strings/functions/sprintf.xml?r1=1.13r2=1.14ty=u
Index: phpdoc/en/reference/strings/functions/sprintf.xml
diff -u phpdoc/en/reference/strings/functions/sprintf.xml:1.13 
phpdoc/en/reference/strings/functions/sprintf.xml:1.14
--- phpdoc/en/reference/strings/functions/sprintf.xml:1.13  Tue Aug 10 21:50:46 
2004
+++ phpdoc/en/reference/strings/functions/sprintf.xml   Tue Aug 10 21:52:42 2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.13 $ --
+!-- $Revision: 1.14 $ --
 !-- splitted from ./en/functions/strings.xml, last change in rev 1.2 --
   refentry id=function.sprintf
refnamediv
@@ -35,9 +35,8 @@
simpara
 An optional emphasissign specifier/emphasis that forces a sign
 (- or +) to be used on a number. By default, only the - sign is used
-on a number if it's negative. This modifier forces positive numbers
-to have the + sign attached as well. This specifier was added in
-PHP 4.3.0.
+on a number if it's negative. This specifier forces positive numbers
+to have the + sign attached as well, and was added in PHP 4.3.0.
/simpara
   /listitem
   listitem


[PHP-DOC] cvs: phpdoc /en/reference/misc/functions uniqid.xml

2004-08-10 Thread Dave Barr
daveTue Aug 10 23:04:15 2004 EDT

  Modified files:  
/phpdoc/en/reference/misc/functions uniqid.xml 
  Log:
  - Fix protos.
  - Update version-specific information.
  - Expand LCG acronym.
  - Clean up example.
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/misc/functions/uniqid.xml?r1=1.6r2=1.7ty=u
Index: phpdoc/en/reference/misc/functions/uniqid.xml
diff -u phpdoc/en/reference/misc/functions/uniqid.xml:1.6 
phpdoc/en/reference/misc/functions/uniqid.xml:1.7
--- phpdoc/en/reference/misc/functions/uniqid.xml:1.6   Thu Jul 22 20:18:22 2004
+++ phpdoc/en/reference/misc/functions/uniqid.xml   Tue Aug 10 23:04:14 2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.6 $ --
+!-- $Revision: 1.7 $ --
 !-- splitted from ./en/functions/misc.xml, last change in rev 1.2 --
   refentry id=function.uniqid
refnamediv
@@ -10,31 +10,33 @@
 titleDescription/title
  methodsynopsis
   typestring/typemethodnameuniqid/methodname
-  methodparamtypestring/typeparameterprefix/parameter/methodparam
-  methodparam 
choice=opttypebool/typeparameterlcg/parameter/methodparam
+  methodparam 
choice=opttypestring/typeparameterprefix/parameter/methodparam
+  methodparam 
choice=opttypebool/typeparametermore_entropy/parameter/methodparam
  /methodsynopsis
 simpara
  functionuniqid/function returns a prefixed unique identifier
- based on the current time in microseconds. The prefix can be
- useful for instance if you generate identifiers simultaneously on
- several hosts that might happen to generate the identifier at the
- same microsecond. parameterPrefix/parameter can be up to 114
+ based on the current time in microseconds. parameterprefix/parameter
+ is optional but can be useful, for instance, if you generate identifiers
+ simultaneously on several hosts that might happen to generate the
+ identifier at the same microsecond. Up until PHP 4.3.1,
+ parameterprefix/parameter could only be a maximum of 114
  characters long.
 /simpara
 simpara
- If the optional parameterlcg/parameter parameter is true;,
- functionuniqid/function will add additional combined LCG
- entropy at the end of the return value, which should make the
- results more unique.
+ If the optional parametermore_entropy/parameter parameter is
+ true;, functionuniqid/function will add additional entropy (using
+ the combined linear congruential generator) at the end of the return
+ value, which should make the results more unique.
 /simpara
 simpara
  With an empty parameterprefix/parameter, the returned string
- will be 13 characters long.  If parameterlcg/parameter is
+ will be 13 characters long.  If parametermore_entropy/parameter is
  true;, it will be 23 characters.
 /simpara
 note
  simpara
-  The parameterlcg/parameter parameter was introduced in PHP 3.0.13.
+  The parametermore_entropy/parameter parameter was introduced
+  in PHP 3.0.13.
  /simpara
 /note
 para
@@ -48,7 +50,7 @@
 ![CDATA[
 ?php
 // no prefix
-$token = md5(uniqid());
+$token = md5(uniqid());
 
 // better, difficult to guess
 $better_token = md5(uniqid(rand(), true));


Re: [PHP-DOC] time to switch the install section?

2004-08-07 Thread Dave Barr
Philip Olson wrote:
for it to go (into the attic).  As for the others, not sure why they even
exist!  Many contain deleted files but why do the directories remain?
It's a shortcoming of CVS. You can't cvs remove a directory as you 
would a file. The only way to remove a directory from CVS is by hacking 
the repository directly.

Using the -P option for update/checkout (which you should do anyway) you 
can locally remove the empty directories but they'll still remain in the 
repository.

Regards,
Philip
Dave


[PHP-DOC] cvs: phpdoc /en/reference/network/functions inet-ntop.xml inet-pton.xml

2004-08-07 Thread Dave Barr
daveSat Aug  7 04:27:38 2004 EDT

  Modified files:  
/phpdoc/en/reference/network/functions  inet-ntop.xml inet-pton.xml 
  Log:
  - Fix broken build.
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/network/functions/inet-ntop.xml?r1=1.1r2=1.2ty=u
Index: phpdoc/en/reference/network/functions/inet-ntop.xml
diff -u phpdoc/en/reference/network/functions/inet-ntop.xml:1.1 
phpdoc/en/reference/network/functions/inet-ntop.xml:1.2
--- phpdoc/en/reference/network/functions/inet-ntop.xml:1.1 Sat Aug  7 01:13:16 
2004
+++ phpdoc/en/reference/network/functions/inet-ntop.xml Sat Aug  7 04:27:37 2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.1 $ --
+!-- $Revision: 1.2 $ --
   refentry id=function.inet-ntop
refnamediv
 refnameinet_ntop/refname
@@ -38,7 +38,6 @@
 ]]
  /programlisting
 /example
-/note
 para
  See also functionlong2ip/function,
  functioninet_pton/function, and
http://cvs.php.net/diff.php/phpdoc/en/reference/network/functions/inet-pton.xml?r1=1.1r2=1.2ty=u
Index: phpdoc/en/reference/network/functions/inet-pton.xml
diff -u phpdoc/en/reference/network/functions/inet-pton.xml:1.1 
phpdoc/en/reference/network/functions/inet-pton.xml:1.2
--- phpdoc/en/reference/network/functions/inet-pton.xml:1.1 Sat Aug  7 01:13:16 
2004
+++ phpdoc/en/reference/network/functions/inet-pton.xml Sat Aug  7 04:27:37 2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.1 $ --
+!-- $Revision: 1.2 $ --
   refentry id=function.inet-pton
refnamediv
 refnameinet_pton/refname
@@ -31,7 +31,6 @@
 ]]
  /programlisting
 /example
-/note
 para
  See also functionip2long/function,
  functioninet_ntop/function, and


Re: [PHP-DOC] cvs: phpdoc /en/reference/filesystem/functions ftell.xml

2004-08-07 Thread Dave Barr
Jakub Vrana wrote:
vrana   Sat Aug  7 04:56:21 2004 EDT
  Modified files:  
/phpdoc/en/reference/filesystem/functions	ftell.xml 
  Log:
  Can't use ftell with a (bug #24071)
  
I looked into this yesterday, and if you look at the following code 
fragment, you'll see that ftell() probably IS meant to work on append 
streams:

if (stream  stream-ops-seek  (stream-flags  
PHP_STREAM_FLAG_NO_SEEK) == 0  strchr(mode, 'a')  stream-position 
== 0) {
off_t newpos = 0;

/* if opened for append, we need to revise our idea of the initial 
file position */
   if (0 == stream-ops-seek(stream, 0, SEEK_CUR, newpos TSRMLS_CC)) {
   stream-position = newpos;
   }
}

But for some reason it doesn't work. Maybe you should reclassify as a 
streams bug? :)

Dave


[PHP-DOC] cvs: phpdoc /en/reference/strings/functions sprintf.xml

2004-08-07 Thread Dave Barr
daveSat Aug  7 13:54:17 2004 EDT

  Modified files:  
/phpdoc/en/reference/strings/functions  sprintf.xml 
  Log:
  - Add an alternate padding character example.
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/strings/functions/sprintf.xml?r1=1.10r2=1.11ty=u
Index: phpdoc/en/reference/strings/functions/sprintf.xml
diff -u phpdoc/en/reference/strings/functions/sprintf.xml:1.10 
phpdoc/en/reference/strings/functions/sprintf.xml:1.11
--- phpdoc/en/reference/strings/functions/sprintf.xml:1.10  Fri Jul 30 01:04:21 
2004
+++ phpdoc/en/reference/strings/functions/sprintf.xml   Sat Aug  7 13:54:17 2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.10 $ --
+!-- $Revision: 1.11 $ --
 !-- splitted from ./en/functions/strings.xml, last change in rev 1.2 --
   refentry id=function.sprintf
refnamediv
@@ -245,6 +245,7 @@
 printf([%10s]\n,$s); // right-justification with spaces
 printf([%-10s]\n,   $s); // left-justification with spaces
 printf([%010s]\n,   $s); // zero-padding works on strings too
+printf([%'#10s]\n,  $s); // use the custom padding character '#'
 printf([%10.10s]\n, $t); // left-justification but with a cutoff of 10 characters
 ?
 ]]
@@ -258,6 +259,7 @@
 [monkey]
 [monkey]
 [monkey]
+[monkey]
 [many monke]
 ]]
  /screen


[PHP-DOC] cvs: phpdoc /en/reference/strings/functions vfprintf.xml

2004-08-07 Thread Dave Barr
daveSat Aug  7 14:21:07 2004 EDT

  Added files: 
/phpdoc/en/reference/strings/functions  vfprintf.xml 
  Log:
  - Add vfprintf().
  
  

http://cvs.php.net/co.php/phpdoc/en/reference/strings/functions/vfprintf.xml?r=1.1p=1
Index: phpdoc/en/reference/strings/functions/vfprintf.xml
+++ phpdoc/en/reference/strings/functions/vfprintf.xml
?xml version=1.0 encoding=iso-8859-1?
!-- $Revision: 1.1 $ --
  refentry id=function.vfprintf
   refnamediv
refnamevfprintf/refname
refpurposeWrite a formatted string to a stream/refpurpose
   /refnamediv
   refsect1
titleDescription/title
 methodsynopsis
  typeint/typemethodnamevfprintf/methodname
  methodparamtyperesource/typeparameterhandle/parameter/methodparam
  methodparamtypestring/typeparameterformat/parameter/methodparam
  methodparam 
choice=opttypearray/typeparameterargs/parameter/methodparam
 /methodsynopsis
simpara
 Write a string produced according to parameterformat/parameter
 to the stream resource specified by parameterhandle/parameter.
 parameterformat/parameter is described in the documentation for
 functionsprintf/function.
/simpara
simpara
 Operates as functionfprintf/function but accepts an array of
 arguments, rather than a variable number of arguments.
/simpara
simpara
 Returns the length of the outputted string.
/simpara
simpara
 See also: functionprintf/function,
 functionsprintf/function,
 functionsscanf/function, functionfscanf/function, 
 functionvsprintf/function, and
 functionnumber_format/function.
/simpara
   /refsect1
   refsect1
titleExamples/title
para
 example
  titlefunctionvfprintf/function: zero-padded integers/title
  programlisting role=php
![CDATA[
?php
if (!($fp = fopen('date.txt', 'w')))
return;

vfprintf($fp, %04d-%02d-%02d, array($year, $month, $day));
// will write the formatted ISO date to date.txt
?
]]
  /programlisting
 /example
/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/strings/functions vfprintf.xml

2004-08-07 Thread Dave Barr
daveSat Aug  7 14:28:18 2004 EDT

  Modified files:  
/phpdoc/en/reference/strings/functions  vfprintf.xml 
  Log:
  - Fix proto.
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/strings/functions/vfprintf.xml?r1=1.1r2=1.2ty=u
Index: phpdoc/en/reference/strings/functions/vfprintf.xml
diff -u phpdoc/en/reference/strings/functions/vfprintf.xml:1.1 
phpdoc/en/reference/strings/functions/vfprintf.xml:1.2
--- phpdoc/en/reference/strings/functions/vfprintf.xml:1.1  Sat Aug  7 14:21:07 
2004
+++ phpdoc/en/reference/strings/functions/vfprintf.xml  Sat Aug  7 14:28:17 2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.1 $ --
+!-- $Revision: 1.2 $ --
   refentry id=function.vfprintf
refnamediv
 refnamevfprintf/refname
@@ -11,7 +11,7 @@
   typeint/typemethodnamevfprintf/methodname
   methodparamtyperesource/typeparameterhandle/parameter/methodparam
   methodparamtypestring/typeparameterformat/parameter/methodparam
-  methodparam 
choice=opttypearray/typeparameterargs/parameter/methodparam
+  methodparamtypearray/typeparameterargs/parameter/methodparam
  /methodsynopsis
 simpara
  Write a string produced according to parameterformat/parameter


[PHP-DOC] cvs: phpdoc /en/reference/strings/functions addcslashes.xml

2004-08-06 Thread Dave Barr
daveFri Aug  6 11:00:08 2004 EDT

  Modified files:  
/phpdoc/en/reference/strings/functions  addcslashes.xml 
  Log:
  - Fix #28683.
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/strings/functions/addcslashes.xml?r1=1.5r2=1.6ty=u
Index: phpdoc/en/reference/strings/functions/addcslashes.xml
diff -u phpdoc/en/reference/strings/functions/addcslashes.xml:1.5 
phpdoc/en/reference/strings/functions/addcslashes.xml:1.6
--- phpdoc/en/reference/strings/functions/addcslashes.xml:1.5   Sat Nov 22 14:31:43 
2003
+++ phpdoc/en/reference/strings/functions/addcslashes.xml   Fri Aug  6 11:00:08 
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.addcslashes
refnamediv
@@ -30,7 +30,7 @@
 /para
 para
  parametercharlist/parameter like \0..\37, which would
- escape all characters with ASCII code between 0 and 37.
+ escape all characters with ASCII code between 0 and 31.
  example
   titlefunctionaddcslashes/function example/title
   programlisting role=php


[PHP-DOC] cvs: phpdoc /en/reference/curl/functions curl-setopt.xml

2004-08-06 Thread Dave Barr
daveFri Aug  6 20:53:26 2004 EDT

  Modified files:  
/phpdoc/en/reference/curl/functions curl-setopt.xml 
  Log:
  - Proto fix.
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/curl/functions/curl-setopt.xml?r1=1.10r2=1.11ty=u
Index: phpdoc/en/reference/curl/functions/curl-setopt.xml
diff -u phpdoc/en/reference/curl/functions/curl-setopt.xml:1.10 
phpdoc/en/reference/curl/functions/curl-setopt.xml:1.11
--- phpdoc/en/reference/curl/functions/curl-setopt.xml:1.10 Fri Aug  6 20:06:16 
2004
+++ phpdoc/en/reference/curl/functions/curl-setopt.xml  Fri Aug  6 20:53:26 2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.10 $ --
+!-- $Revision: 1.11 $ --
 !-- splitted from ./en/functions/curl.xml, last change in rev 1.1 --
   refentry id=function.curl-setopt
refnamediv
@@ -11,7 +11,7 @@
  methodsynopsis
   typebool/typemethodnamecurl_setopt/methodname
   methodparamtyperesource/typeparameterch/parameter/methodparam
-  methodparamtypestring/typeparameteroption/parameter/methodparam
+  methodparamtypeinteger/typeparameteroption/parameter/methodparam
   methodparamtypemixed/typeparametervalue/parameter/methodparam
  /methodsynopsis
 para