RE: [PHP-DOC] Another victim in the hunt for typo's

2003-12-21 Thread Steph

 doesn't HTML's condensation of whitespace fix this issue, anyway?
 
exactly..


Re: [PHP-DOC] Syntax Highlighted Examples

2003-12-21 Thread Jakub Vrana
 as far as I can tell, none of the % % examples have been highlighted.

It is highlighted only if asp_tags directive is On on the mirror.

 The highlighting looks good, by the way :)

Thanks ;-).

Jakub Vrana


[PHP-DOC] #26681 [Opn-Bgs]: no documentation for mysql_character_set_name function

2003-12-21 Thread vrana
 ID:   26681
 Updated by:   [EMAIL PROTECTED]
 Reported By:  philippe_peirano at yahoo dot com
-Status:   Open
+Status:   Bogus
 Bug Type: Documentation problem
 Operating System: MacOS X 10.2
 PHP Version:  4.3.4
 New Comment:

PHP function mysql_client_encoding() is wrapper for MySQL function
mysql_character_set_name(). There is a mistake in the changelog.

You can set some kind of charset translation by MySQL command SET
CHARACTER SET but as far as I know there's no way to change the
character set for connection. Only way is to set it in my.cnf.


Previous Comments:


[2003-12-20 17:57:25] philippe_peirano at yahoo dot com

Description:

There is no description for the function:
mysql_character_set_name

A full search on the php.net web site reveal that the 
function is mentionned in the description of 
mysql_real_escape_string() and in the change log of 
version 4.3.4.


More generaly, there is no documentation on how to 
manipulate the character set used for the MySQL 
connection. The only possible operation on the 
character set is to retreive it with 
mysql_client_encoding(). 






-- 
Edit this bug report at http://bugs.php.net/?id=26681edit=1


Re: [PHP-DOC] Syntax Highlighted Examples

2003-12-21 Thread Gabor Hojtsy
as far as I can tell, none of the % % examples have been highlighted.
eg, http://www.php.net/manual/en/language.basic-syntax.php
Since there is not much examples with that tags (maybe the one you 
pointed out is the only one in the manual :), I don't think that this is 
a problem...

Goba


Re: [PHP-DOC] cvs: phpdoc /en/chapters config.xml install.configure.misc.xml install.iis.xml install.iplanet.xml install.xitami.xml /en/features commandline.xml /en/language expressions.xml /en/reference/com/functions class.com.xml /en/reference/cpdf/functions cpdf-place-inline-image.xml /en/reference/dba reference.xml /en/reference/http/functions headers-sent.xml /en/reference/imap/functions imap-mail.xml /en/reference/info constants.xml /en/reference/info/functions phpinfo.xml /en/reference/ming configure.xml /en/reference/ming/functions swfdisplayitem.rotateto.xml /en/reference/mnogosearch/functions udm-set-agent-param.xml /en/reference/printer/functions printer-open.xml /en/reference/pspell/functions pspell-config-personal.xml pspell-config-repl.xml /en/reference/sesam reference.xml /en/reference/sesam/functions sesam-fetch-row.xml sesam-field-array.xml sesam-settransaction.xml /en/security index.xml

2003-12-21 Thread Gabor Hojtsy
  Log:
  - php - PHP where appropriate.
Also if you find PHP3, PHP4, PHP5 (PHP written without a space with the 
version number), then it shuold be written with a space :)

Goba


Re: [PHP-DOC] Another victim in the hunt for typo's

2003-12-21 Thread Derick Rethans
On Sun, 21 Dec 2003, Derek Ford wrote:

 A common problem I think is being overlooked is .  , two spaces after
 a period. This should only be one space. I don't know if there is a
 script that will fix errors, or if they have to be changed by hand, but
 there are a LOT of occurances of this typo :)

From what I know two spaces is American, and one is English/European.
But it doesn't make much sense to change, as HTML changes multiple
spaces to one anyway...

Derick


[PHP-DOC] cvs: phpdoc /en/appendices migration4.xml /en/chapters install.openbsd.xml /en/faq migration4.xml /en/language types.xml /en/reference/ccvs reference.xml /en/reference/mbstring reference.xml /en/reference/mysql/functions mysql-free-result.xml /en/reference/pcre/functions pcre.pattern.modifiers.xml /en/reference/uodbc configure.xml /en/reference/zlib/functions gzgetss.xml

2003-12-21 Thread Dave
daveSun Dec 21 09:42:23 2003 EDT

  Modified files:  
/phpdoc/en/appendices   migration4.xml 
/phpdoc/en/chapters install.openbsd.xml 
/phpdoc/en/faq  migration4.xml 
/phpdoc/en/language types.xml 
/phpdoc/en/reference/ccvs   reference.xml 
/phpdoc/en/reference/mbstring   reference.xml 
/phpdoc/en/reference/mysql/functionsmysql-free-result.xml 
/phpdoc/en/reference/pcre/functions pcre.pattern.modifiers.xml 
/phpdoc/en/reference/uodbc  configure.xml 
/phpdoc/en/reference/zlib/functions gzgetss.xml 
  Log:
  - Add space to PHP[345] where appropriate.
  
  Index: phpdoc/en/appendices/migration4.xml
diff -u phpdoc/en/appendices/migration4.xml:1.34 
phpdoc/en/appendices/migration4.xml:1.35
--- phpdoc/en/appendices/migration4.xml:1.34Wed May 21 06:34:21 2003
+++ phpdoc/en/appendices/migration4.xml Sun Dec 21 09:42:17 2003
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.34 $ --
+!-- $Revision: 1.35 $ --
  appendix id=migration4
   titleMigrating from PHP 3 to PHP 4/title

@@ -34,7 +34,7 @@
  listitemsimparaFreeBSD (3.2, 4.0 tested)/simpara/listitem
/itemizedlist
para
-To enable it, configure PHP3 and PHP4 to use APXS
+To enable it, configure PHP 3 and PHP 4 to use APXS
 (--with-apxs) and the necessary link extensions
 (--enable-versioning). Otherwise, all standard installations
 instructions apply. For example:
Index: phpdoc/en/chapters/install.openbsd.xml
diff -u phpdoc/en/chapters/install.openbsd.xml:1.6 
phpdoc/en/chapters/install.openbsd.xml:1.7
--- phpdoc/en/chapters/install.openbsd.xml:1.6  Sun Nov 23 12:47:00 2003
+++ phpdoc/en/chapters/install.openbsd.xml  Sun Dec 21 09:42:17 2003
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.6 $ --
+!-- $Revision: 1.7 $ --
 sect1 id=install.openbsd
  titleUnix/OpenBSD installs/title
  para
@@ -51,7 +51,7 @@
   titleUsing Ports/title
   simpara
You can also compile up PHP from source using the ulink 
url=url.openbsd.ports;ports tree/ulink.
-   However, this is only recommended for users familiar with OpenBSD.  The PHP4 port
+   However, this is only recommended for users familiar with OpenBSD.  The PHP 4 port
is split into two sub-directories: core and extensions.  The
extensions directory generates sub-packages for all of the supported
PHP modules.  If you find you do not want to create some of these modules,
Index: phpdoc/en/faq/migration4.xml
diff -u phpdoc/en/faq/migration4.xml:1.9 phpdoc/en/faq/migration4.xml:1.10
--- phpdoc/en/faq/migration4.xml:1.9Sat Apr 26 01:11:00 2003
+++ phpdoc/en/faq/migration4.xmlSun Dec 21 09:42:18 2003
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.9 $ --
+!-- $Revision: 1.10 $ --
  chapter id=faq.migration4
   titleMigrating from PHP 3 to PHP 4/title
   titleabbrevMigrating from PHP 3 to PHP 4/titleabbrev
@@ -13,7 +13,7 @@
qandaentry id=faq.migration4.php34
 question
  para
-  Migrating from PHP3 to PHP4
+  Migrating from PHP 3 to PHP 4
  /para
 /question
 answer
Index: phpdoc/en/language/types.xml
diff -u phpdoc/en/language/types.xml:1.130 phpdoc/en/language/types.xml:1.131
--- phpdoc/en/language/types.xml:1.130  Fri Dec 12 14:56:00 2003
+++ phpdoc/en/language/types.xmlSun Dec 21 09:42:18 2003
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.130 $ --
+!-- $Revision: 1.131 $ --
  chapter id=language.types
   titleTypes/title
 
@@ -2124,7 +2124,7 @@
 
 para
  Due to the reference-counting system introduced
- with PHP4's Zend-engine, it is automatically detected
+ with PHP 4's Zend-engine, it is automatically detected
  when a resource is no longer referred to (just
  like Java). When this is
  the case, all resources that were in use for this 
Index: phpdoc/en/reference/ccvs/reference.xml
diff -u phpdoc/en/reference/ccvs/reference.xml:1.11 
phpdoc/en/reference/ccvs/reference.xml:1.12
--- phpdoc/en/reference/ccvs/reference.xml:1.11 Sun May 11 20:48:27 2003
+++ phpdoc/en/reference/ccvs/reference.xml  Sun Dec 21 09:42:19 2003
@@ -1,11 +1,11 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.11 $ --
+!-- $Revision: 1.12 $ --
 !-- 
 CCVS Documentation by Brendan W. McAdams [EMAIL PROTECTED]
 Copyright (c) 2000 by the PHP Group
 
 -Special Thanks to Red Hat, Inc. for the contribution of their original
-documentation for the php3 version of this module, which helped us
+documentation for the PHP 3 version of this module, which helped us
 start this document.  
 --
  
Index: phpdoc/en/reference/mbstring/reference.xml
diff -u phpdoc/en/reference/mbstring/reference.xml:1.14 
phpdoc/en/reference/mbstring/reference.xml:1.15
--- phpdoc/en/reference/mbstring/reference.xml:1.14 Thu Dec 18 09:14:20 2003
+++ phpdoc/en/reference/mbstring/reference.xml  Sun Dec 21 09:42:20 2003
@@ -1,5 +1,5 @@
 ?xml version=1.0 

Re: [PHP-DOC] cvs: phpdoc /en/chapters config.xml install.configure.misc.xml install.iis.xml install.iplanet.xml install.xitami.xml /en/features commandline.xml /en/language expressions.xml /en/reference/com/functions class.com.xml /en/reference/cpdf/functions cpdf-place-inline-image.xml /en/reference/dba reference.xml /en/reference/http/functions headers-sent.xml /en/reference/imap/functions imap-mail.xml /en/reference/info constants.xml /en/reference/info/functions phpinfo.xml /en/reference/ming configure.xml /en/reference/ming/functions swfdisplayitem.rotateto.xml /en/reference/mnogosearch/functions udm-set-agent-param.xml /en/reference/printer/functions printer-open.xml /en/reference/pspell/functions pspell-config-personal.xml pspell-config-repl.xml /en/reference/sesam reference.xml /en/reference/sesam/functions sesam-fetch-row.xml sesam-field-array.xml sesam-settransaction.xml /en/security index.xml

2003-12-21 Thread Dave
On Sunday, December 21, 2003, 9:22:59 PM, Gabor wrote:

   Log:
   - php - PHP where appropriate.

 Also if you find PHP3, PHP4, PHP5 (PHP written without a space with the
 version number), then it shuold be written with a space :)

 Goba

Thanks, done!

Dave


[PHP-DOC] cvs: phpdoc /en/language references.xml

2003-12-21 Thread André Luis Ferreira da Silva Bacci
ae  Sun Dec 21 10:37:29 2003 EDT

  Modified files:  
/phpdoc/en/language references.xml 
  Log:
  s/TAB/spaces
  
Index: phpdoc/en/language/references.xml
diff -u phpdoc/en/language/references.xml:1.26 phpdoc/en/language/references.xml:1.27
--- phpdoc/en/language/references.xml:1.26  Thu Dec 11 10:41:58 2003
+++ phpdoc/en/language/references.xml   Sun Dec 21 10:37:29 2003
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.26 $ --
+!-- $Revision: 1.27 $ --
  chapter id=language.references
   titleReferences Explained/title
 
@@ -221,7 +221,7 @@
 ]]
  /programlisting
 /informalexample
-   These requirements are for PHP 4.0.4 and later.
+These requirements are for PHP 4.0.4 and later.
   /para
   /sect1
 
@@ -242,7 +242,7 @@
 }
 
 $foo = find_var ($bar);
-$foo-x = 2; 
+$foo-x = 2;
 ?
 ]]
  /programlisting


[PHP-DOC] cvs: phpdoc /en/language oop.xml

2003-12-21 Thread Stefan Walk
et  Sun Dec 21 10:59:19 2003 EDT

  Modified files:  
/phpdoc/en/language oop.xml 
  Log:
  Fix Bug #26402
  
  
Index: phpdoc/en/language/oop.xml
diff -u phpdoc/en/language/oop.xml:1.47 phpdoc/en/language/oop.xml:1.48
--- phpdoc/en/language/oop.xml:1.47 Fri Dec 12 14:56:00 2003
+++ phpdoc/en/language/oop.xml  Sun Dec 21 10:59:19 2003
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.47 $ --
+!-- $Revision: 1.48 $ --
  chapter id=language.oop
   titleClasses and Objects/title
 
@@ -114,12 +114,13 @@
 programlisting role=php
 ![CDATA[
 ?php
-/* None of these will work in PHP 4. */
 class Cart
 {
+/* None of these will work in PHP 4. */
 var $todays_date = date(Y-m-d);
 var $name = $firstname;
 var $owner = 'Fred ' . 'Jones';
+/* Arrays containing constant values will, though. */
 var $items = array(VCR, TV);
 }
 
@@ -129,7 +130,7 @@
 var $todays_date;
 var $name;
 var $owner;
-var $items;
+var $items = array(VCR, TV);
 
 function Cart()
 {


[PHP-DOC] cvs: phpdoc /en/reference/iconv configure.xml constants.xml /en/reference/iconv/functions iconv-mime-decode.xml iconv-mime-encode.xml iconv-strlen.xml iconv-strpos.xml iconv-strrpos.xml iconv.xml

2003-12-21 Thread Moriyoshi Koizumi
moriyoshi   Sun Dec 21 23:38:16 2003 EDT

  Modified files:  
/phpdoc/en/reference/iconv  configure.xml constants.xml 
/phpdoc/en/reference/iconv/functionsiconv-mime-decode.xml 
iconv-mime-encode.xml 
iconv-strlen.xml 
iconv-strpos.xml 
iconv-strrpos.xml iconv.xml 
  Log:
  Misc. updates and corrections.
  
  Index: phpdoc/en/reference/iconv/configure.xml
diff -u phpdoc/en/reference/iconv/configure.xml:1.2 
phpdoc/en/reference/iconv/configure.xml:1.3
--- phpdoc/en/reference/iconv/configure.xml:1.2 Wed Dec 17 09:32:25 2003
+++ phpdoc/en/reference/iconv/configure.xml Sun Dec 21 23:38:15 2003
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.2 $ --
+!-- $Revision: 1.3 $ --
 section id=iconv.installation
  reftitle.install;
  para
@@ -10,11 +10,12 @@
  note
   titleNote to Win32 Users/title
   simpara
-   In order to enable this module on a Windows environment, you must copy
-   filenameiconv-1.3.dll/filename from the DLL folder of the PHP/Win32 binary
-   package to the SYSTEM32 folder of your windows machine. (Ex: 
filenameC:\WINNT\SYSTEM32/filename
-   or filenameC:\WINDOWS\SYSTEM32/filename). Starting with PHP 4.2.1 the name 
changed to
-   filenameiconv.dll/filename
+   In order to enable this module on a Windows environment, you need to put
+   a DLL file named emphasisiconv.dll/emphasis or
+   emphasisiconv-1.3.dll/emphasis (prior to 4.2.1)
+   which is bundled with the PHP/Win32 binary package into a directory
+   that is specified by the PATH environment variable
+   or one of the system directories of your windows installation.
   /simpara
  /note
 /section
Index: phpdoc/en/reference/iconv/constants.xml
diff -u phpdoc/en/reference/iconv/constants.xml:1.3 
phpdoc/en/reference/iconv/constants.xml:1.4
--- phpdoc/en/reference/iconv/constants.xml:1.3 Wed May 28 19:03:07 2003
+++ phpdoc/en/reference/iconv/constants.xml Sun Dec 21 23:38:15 2003
@@ -1,18 +1,18 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.3 $ --
+!-- $Revision: 1.4 $ --
 section id=iconv.constants
  reftitle.constants;
  para
-  Since PHP 4.3.0 it is possible to identify at runtime which iconv
-  implementation is adopted by this extension.
+  Since applicationPHP/application 4.3.0 it is possible to identify at
+  runtime which literaliconv/literal implementation is adopted by this extension.
   table
-   titleiconv constants/title
+   titleliteraliconv/literal constants/title
tgroup cols=3
 thead
  row
-  entryconstant/entry
-  entrytype/entry
-  entrydescription/entry
+  entryName/entry
+  entryType/entry
+  entryDescription/entry
  /row
 /thead
 tbody
@@ -32,10 +32,38 @@
  /para
  note
   para
-   Writing implementation-dependent scripts with these constants should be
+   Writing implementation-dependent scripts with these constants is strongly
discouraged.
   /para
  /note
+ para
+  Since applicationPHP/application 5.0.0, the following constants are
+  also available:
+  table
+   titleliteraliconv/literal constants available since PHP 5.0.0/title
+   tgroup cols=3
+thead
+ row
+  entryName/entry
+  entryType/entry
+  entryDescription/entry
+ /row
+/thead
+tbody
+ row
+  entryICONV_MIME_DECODE_STRICT/entry
+  entrytypeinteger/type/entry
+  entryA bitmask used for functioniconv_mime_decode/function/entry
+ /row
+ row
+  entryICONV_MIME_DECODE_CONTINUE_ON_ERROR/entry
+  entrytypeinteger/type/entry
+  entryA bitmask used for functioniconv_mime_decode/function/entry
+ /row
+/tbody
+   /tgroup
+  /table
+ /para
 /section
 
 !-- Keep this comment at the end of the file
Index: phpdoc/en/reference/iconv/functions/iconv-mime-decode.xml
diff -u phpdoc/en/reference/iconv/functions/iconv-mime-decode.xml:1.1 
phpdoc/en/reference/iconv/functions/iconv-mime-decode.xml:1.2
--- phpdoc/en/reference/iconv/functions/iconv-mime-decode.xml:1.1   Sun Nov  2 
11:53:20 2003
+++ phpdoc/en/reference/iconv/functions/iconv-mime-decode.xml   Sun Dec 21 23:38:16 
2003
@@ -1,11 +1,11 @@
 ?xml version='1.0' encoding='iso-8859-1'?
-!-- $Revision: 1.1 $ --
+!-- $Revision: 1.2 $ --
 !-- Generated by xml_proto.php v2.0. Found in /scripts directory of phpdoc. --
   refentry id=function.iconv-mime-decode
refnamediv
 refnameiconv_mime_decode/refname
 refpurpose
- Decodes a mime header field
+ Decodes a literalMIME/literal header field
 /refpurpose
/refnamediv
refsect1
@@ -13,11 +13,76 @@
 methodsynopsis
  typestring/typemethodnameiconv_mime_decode/methodname
  
methodparamtypestring/typeparameterencoded_string/parameter/methodparam
+ methodparam 
choice=opttypeint/typeparametermode/parameter/methodparam
  methodparam