[PHP-DOC] #38169 [Bgs->Csd]: Documentation states --with-zip, should be --enable-zip

2006-08-11 Thread php at adaniels dot nl
 ID:   38169
 User updated by:  php at adaniels dot nl
 Reported By:  php at adaniels dot nl
-Status:   Bogus
+Status:   Closed
 Bug Type: Documentation problem
 Operating System: Any
 PHP Version:  Irrelevant
 New Comment:

Thank you


Previous Comments:


[2006-08-11 22:14:40] [EMAIL PROTECTED]

The documentation has been updated. It contains the explanation for the
bundled version in php4.x (--with-zip[=DIR]), pecl and php 5.2
(--enable-zip). The changes will show up with the next update.



[2006-08-11 21:13:50] php at adaniels dot nl

If I understand you correctly, there is a difference between installing
the zip extension for PHP4 and for PHP5. To my opinion this isn't made
clear when reading the manual.

Other PECL extensions which also have documentation in the PHP manual,
do have the correct --enable syntax. For example:
http://www.php.net/manual/en/ref.runkit.php

I've noticed that the installation instructions start with 'In PHP 4
...'. But there are no instructions for other versions. This made me
think these instructions did not change for PHP5.
I believe that an 'In PHP 5 ...' paragraph would be feasible.

I've compiled PHP many times, so this it didn't really cause me too
much trouble. But I think that if you want to statically compile an
extension into PHP for the first time, this could cause you a real
headache.

Thanks for reconcidering.



[2006-08-11 18:16:34] [EMAIL PROTECTED]

you are mixing the bundled version with the pecl one.



[2006-07-20 21:52:57] php at adaniels dot nl

Description:

Documentation:
In order to use these functions you must compile PHP with zip support
by using the --with-zip[=DIR] configure option.

But actualy:
sek:/usr/src/php/php-5.1.4# ./configure --help | grep zip
  --enable-zipInclude Zip read/write support.
  --with-zlib-dir[=DIR]   zip: Set the path to libz install prefix.

The --with-zip does not work.






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


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

2006-08-11 Thread Pierre-Alain Joye
pajoye  Fri Aug 11 22:10:00 2006 UTC

  Modified files:  
/phpdoc/en/reference/zipconfigure.xml 
  Log:
  - 5.2 or later and new version does not require ext libs
([EMAIL PROTECTED], philip)
  
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/zip/configure.xml?r1=1.7&r2=1.8&diff_format=u
Index: phpdoc/en/reference/zip/configure.xml
diff -u phpdoc/en/reference/zip/configure.xml:1.7 
phpdoc/en/reference/zip/configure.xml:1.8
--- phpdoc/en/reference/zip/configure.xml:1.7   Fri Aug 11 17:27:59 2006
+++ phpdoc/en/reference/zip/configure.xml   Fri Aug 11 22:10:00 2006
@@ -1,5 +1,5 @@
 
-
+
 
  &reftitle.install;
  
@@ -23,7 +23,7 @@

 In order to use these functions you must compile PHP with zip support
 by using the --enable-zip
-configure option.  It does require any external library.
+configure option.  It does not require any external library.


 
@@ -53,7 +53,7 @@

   
   
-   Installation with PECL or bundled with PHP 5.2 or earlier
+   Installation with PECL or bundled with PHP 5.2 or later

 Windows users will enable php_zip.dll inside
 of &php.ini; in order to use these functions.


[PHP-DOC] #38169 [Bgs]: Documentation states --with-zip, should be --enable-zip

2006-08-11 Thread pajoye
 ID:   38169
 Updated by:   [EMAIL PROTECTED]
 Reported By:  php at adaniels dot nl
 Status:   Bogus
 Bug Type: Documentation problem
 Operating System: Any
 PHP Version:  Irrelevant
 New Comment:

The documentation has been updated. It contains the explanation for the
bundled version in php4.x (--with-zip[=DIR]), pecl and php 5.2
(--enable-zip). The changes will show up with the next update.


Previous Comments:


[2006-08-11 21:13:50] php at adaniels dot nl

If I understand you correctly, there is a difference between installing
the zip extension for PHP4 and for PHP5. To my opinion this isn't made
clear when reading the manual.

Other PECL extensions which also have documentation in the PHP manual,
do have the correct --enable syntax. For example:
http://www.php.net/manual/en/ref.runkit.php

I've noticed that the installation instructions start with 'In PHP 4
...'. But there are no instructions for other versions. This made me
think these instructions did not change for PHP5.
I believe that an 'In PHP 5 ...' paragraph would be feasible.

I've compiled PHP many times, so this it didn't really cause me too
much trouble. But I think that if you want to statically compile an
extension into PHP for the first time, this could cause you a real
headache.

Thanks for reconcidering.



[2006-08-11 18:16:34] [EMAIL PROTECTED]

you are mixing the bundled version with the pecl one.



[2006-07-20 21:52:57] php at adaniels dot nl

Description:

Documentation:
In order to use these functions you must compile PHP with zip support
by using the --with-zip[=DIR] configure option.

But actualy:
sek:/usr/src/php/php-5.1.4# ./configure --help | grep zip
  --enable-zipInclude Zip read/write support.
  --with-zlib-dir[=DIR]   zip: Set the path to libz install prefix.

The --with-zip does not work.






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


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

2006-08-11 Thread Nuno Lopes
nlopess Fri Aug 11 22:00:05 2006 UTC

  Modified files:  
/phpdoc/en/appendices   wrappers.xml 
  Log:
  add example on how to send POST data using stream context opts. many thanks 
to Sara for the code
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/appendices/wrappers.xml?r1=1.61&r2=1.62&diff_format=u
Index: phpdoc/en/appendices/wrappers.xml
diff -u phpdoc/en/appendices/wrappers.xml:1.61 
phpdoc/en/appendices/wrappers.xml:1.62
--- phpdoc/en/appendices/wrappers.xml:1.61  Sun May 28 20:33:19 2006
+++ phpdoc/en/appendices/wrappers.xml   Fri Aug 11 22:00:05 2006
@@ -1,5 +1,5 @@
 
-
+
 
  List of Supported Protocols/Wrappers
  
@@ -202,6 +202,35 @@
 ]]>

   
+  
+   Fetch a page and send POST data
+   
+
+   
+  
   
The stream allows access to the body of
the resource; the headers are stored in the


Re: [PHP-DOC] cvs: phpdoc /en/reference/zip configure.xml constants.xml reference.xml /en/reference/zip/functions ziparchive-addfile.xml ziparchive-addfromstring.xml ziparchive-close.xml ziparchive-d

2006-08-11 Thread TAKAGI Masahiro
Hi,

At Fri, 11 Aug 2006 17:27:59 -,
Pierre-Alain Joye wrote:
> 
> pajoyeFri Aug 11 17:27:59 2006 UTC
> 
>   Added files: 
> /phpdoc/en/reference/zip  constants.xml 
> /phpdoc/en/reference/zip/functionsziparchive-addfile.xml 
>   ziparchive-addfromstring.xml 
>   ziparchive-close.xml 
>   ziparchive-deleteindex.xml 
>   ziparchive-deletename.xml 
>   ziparchive-extractto.xml 
>   
> ziparchive-getarchivecomment.xml 
>   ziparchive-getcommentindex.xml 
>   ziparchive-getcommentname.xml 
>   ziparchive-getfromindex.xml 
>   ziparchive-getfromname.xml 
>   ziparchive-getnameindex.xml 
>   ziparchive-getstream.xml 
>   ziparchive-locatename.xml 
>   ziparchive-open.xml 
>   ziparchive-renameindex.xml 
>   ziparchive-renamename.xml 
>   
> ziparchive-setarchivecomment.xml 
>   ziparchive-setcommentindex.xml 
>   ziparchive-setcommentname.xml 
>   ziparchive-statindex.xml 
>   ziparchive-statname.xml 
>   ziparchive-unchangeall.xml 
>   ziparchive-unchangearchive.xml 
>   ziparchive-unchangeindex.xml 
>   ziparchive-unchangename.xml 
> 
>   Modified files:  
> /phpdoc/en/reference/zip  configure.xml reference.xml 
>   Log:
>   - Add documentation for the new Zip extension (add new OO interface)
>   - Update the installation and reference pages (pecl, php4, 5.2+)
>   

> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/zip/configure.xml?r1=1.6&r2=1.7&diff_format=u
> Index: phpdoc/en/reference/zip/configure.xml
> diff -u phpdoc/en/reference/zip/configure.xml:1.6 
> phpdoc/en/reference/zip/configure.xml:1.7
> --- phpdoc/en/reference/zip/configure.xml:1.6 Wed Aug  4 10:29:25 2004
> +++ phpdoc/en/reference/zip/configure.xml Fri Aug 11 17:27:59 2006
(snip)

> +   Installation with PECL or bundled with PHP 5.2 or earlier
"PHP 5.2 or earlier" includes PHP 5.1.x, 5.0.x, 4.4.x, ... and so on.
I suppose you'd like to say "PHP 5.2 or *later*".

> +   
> +In order to use these functions you must compile PHP with zip support
> +by using the --enable-zip
> +configure option.  It does require any external library.
> +   
"It does require any external library." should be "It does *not*
require any external library."


Regards,
-- 
TAKAGI Masahiro mailto:[EMAIL PROTECTED]


[PHP-DOC] #38169 [Bgs]: Documentation states --with-zip, should be --enable-zip

2006-08-11 Thread php at adaniels dot nl
 ID:   38169
 User updated by:  php at adaniels dot nl
 Reported By:  php at adaniels dot nl
 Status:   Bogus
 Bug Type: Documentation problem
 Operating System: Any
 PHP Version:  Irrelevant
 New Comment:

If I understand you correctly, there is a difference between installing
the zip extension for PHP4 and for PHP5. To my opinion this isn't made
clear when reading the manual.

Other PECL extensions which also have documentation in the PHP manual,
do have the correct --enable syntax. For example:
http://www.php.net/manual/en/ref.runkit.php

I've noticed that the installation instructions start with 'In PHP 4
...'. But there are no instructions for other versions. This made me
think these instructions did not change for PHP5.
I believe that an 'In PHP 5 ...' paragraph would be feasible.

I've compiled PHP many times, so this it didn't really cause me too
much trouble. But I think that if you want to statically compile an
extension into PHP for the first time, this could cause you a real
headache.

Thanks for reconcidering.


Previous Comments:


[2006-08-11 18:16:34] [EMAIL PROTECTED]

you are mixing the bundled version with the pecl one.



[2006-07-20 21:52:57] php at adaniels dot nl

Description:

Documentation:
In order to use these functions you must compile PHP with zip support
by using the --with-zip[=DIR] configure option.

But actualy:
sek:/usr/src/php/php-5.1.4# ./configure --help | grep zip
  --enable-zipInclude Zip read/write support.
  --with-zlib-dir[=DIR]   zip: Set the path to libz install prefix.

The --with-zip does not work.






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


[PHP-DOC] cvs: phpdoc /en/reference/enchant .cvsignore functions.xml

2006-08-11 Thread Nuno Lopes
nlopess Fri Aug 11 18:28:45 2006 UTC

  Added files: 
/phpdoc/en/reference/enchant.cvsignore 

  Removed files:   
/phpdoc/en/reference/enchantfunctions.xml 
  Log:
  add .cvsignore
  

http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/enchant/.cvsignore?view=markup&rev=1.1
Index: phpdoc/en/reference/enchant/.cvsignore
+++ phpdoc/en/reference/enchant/.cvsignore
functions.xml


[PHP-DOC] #37660 [Opn->Csd]: Note required on glob() doc page

2006-08-11 Thread nlopess
 ID:   37660
 Updated by:   [EMAIL PROTECTED]
 Reported By:  iain at iaindooley dot com
-Status:   Open
+Status:   Closed
 Bug Type: Documentation problem
 Operating System: all
 PHP Version:  Irrelevant
 New Comment:

This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation
better.




Previous Comments:


[2006-06-01 02:26:12] iain at iaindooley dot com

Description:

http://au2.php.net/glob 

on the manual page for glob(), it says that:

Returns an array containing the matched files/directories or FALSE on
error

It would be useful to have a note here that if no files match, it
returns an empty array rather than FALSE.

When I first read this, my interpretation was that no matching files
would constitute an error.






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


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

2006-08-11 Thread Nuno Lopes
nlopess Fri Aug 11 18:22:15 2006 UTC

  Modified files:  
/phpdoc/en/reference/filesystem/functions   glob.xml 
  Log:
  close bug #37660: explicitate that it returns an empty array when there are 
no matches
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/filesystem/functions/glob.xml?r1=1.20&r2=1.21&diff_format=u
Index: phpdoc/en/reference/filesystem/functions/glob.xml
diff -u phpdoc/en/reference/filesystem/functions/glob.xml:1.20 
phpdoc/en/reference/filesystem/functions/glob.xml:1.21
--- phpdoc/en/reference/filesystem/functions/glob.xml:1.20  Fri Aug 11 
16:50:23 2006
+++ phpdoc/en/reference/filesystem/functions/glob.xml   Fri Aug 11 18:22:14 2006
@@ -1,5 +1,5 @@
 
-
+
   

 glob 
@@ -19,8 +19,8 @@
  shells. No tilde expansion or parameter substitution is done.
 
 
- Returns an array containing the matched files/directories or &false; on
- error.
+ Returns an array containing the matched files/directories, an empty array
+ if no file matched or &false; on error.
 
 
 Valid flags:


[PHP-DOC] #38169 [Opn->Bgs]: Documentation states --with-zip, should be --enable-zip

2006-08-11 Thread nlopess
 ID:   38169
 Updated by:   [EMAIL PROTECTED]
 Reported By:  php at adaniels dot nl
-Status:   Open
+Status:   Bogus
 Bug Type: Documentation problem
 Operating System: Any
 PHP Version:  Irrelevant
 New Comment:

you are mixing the bundled version with the pecl one.


Previous Comments:


[2006-07-20 21:52:57] php at adaniels dot nl

Description:

Documentation:
In order to use these functions you must compile PHP with zip support
by using the --with-zip[=DIR] configure option.

But actualy:
sek:/usr/src/php/php-5.1.4# ./configure --help | grep zip
  --enable-zipInclude Zip read/write support.
  --with-zlib-dir[=DIR]   zip: Set the path to libz install prefix.

The --with-zip does not work.






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


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

2006-08-11 Thread Nuno Lopes
nlopess Fri Aug 11 18:13:52 2006 UTC

  Modified files:  
/phpdoc/en/reference/enchantreference.xml 
/phpdoc/en/reference/zipreference.xml 
  Log:
  fill purpose/membership tags
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/enchant/reference.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/reference/enchant/reference.xml
diff -u phpdoc/en/reference/enchant/reference.xml:1.1 
phpdoc/en/reference/enchant/reference.xml:1.2
--- phpdoc/en/reference/enchant/reference.xml:1.1   Fri Aug 11 17:30:20 2006
+++ phpdoc/en/reference/enchant/reference.xml   Fri Aug 11 18:13:52 2006
@@ -1,7 +1,7 @@
 
-
-
-
+
+
+
 
  enchant Functions
  enchant
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/zip/reference.xml?r1=1.10&r2=1.11&diff_format=u
Index: phpdoc/en/reference/zip/reference.xml
diff -u phpdoc/en/reference/zip/reference.xml:1.10 
phpdoc/en/reference/zip/reference.xml:1.11
--- phpdoc/en/reference/zip/reference.xml:1.10  Fri Aug 11 17:59:01 2006
+++ phpdoc/en/reference/zip/reference.xml   Fri Aug 11 18:13:52 2006
@@ -1,7 +1,7 @@
 
-
+
 
-
+
 
 
  Zip File Functions


[PHP-DOC] cvs: phpdoc /en/reference/zip reference.xml /en/reference/zip/functions ziparchive-addfile.xml ziparchive-addfromstring.xml ziparchive-close.xml ziparchive-deleteindex.xml ziparchive-delete

2006-08-11 Thread Nuno Lopes
nlopess Fri Aug 11 17:59:01 2006 UTC

  Modified files:  
/phpdoc/en/reference/zipreference.xml 
/phpdoc/en/reference/zip/functions  ziparchive-addfile.xml 
ziparchive-addfromstring.xml 
ziparchive-close.xml 
ziparchive-deleteindex.xml 
ziparchive-deletename.xml 
ziparchive-getarchivecomment.xml 
ziparchive-getcommentindex.xml 
ziparchive-getcommentname.xml 
ziparchive-getnameindex.xml 
ziparchive-getstream.xml 
ziparchive-renameindex.xml 
ziparchive-renamename.xml 
ziparchive-statindex.xml 
ziparchive-statname.xml 
  Log:
  misc fixes
  http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/zip/reference.xml?r1=1.9&r2=1.10&diff_format=u
Index: phpdoc/en/reference/zip/reference.xml
diff -u phpdoc/en/reference/zip/reference.xml:1.9 
phpdoc/en/reference/zip/reference.xml:1.10
--- phpdoc/en/reference/zip/reference.xml:1.9   Fri Aug 11 17:27:59 2006
+++ phpdoc/en/reference/zip/reference.xml   Fri Aug 11 17:59:01 2006
@@ -1,38 +1,38 @@
 
-
+
 
 
 
- 
-  Zip File Functions
-  Zip
-
-  
-   
-&reftitle.intro;
+
+ Zip File Functions
+ Zip
+
+ 
+  
+   &reftitle.intro;
+   
+This module enables you to transparently read or write ZIP compressed
+archives and the files inside them.
+   
+  
+
+  
+   &reftitle.required;
+   
+PHP 4 Bundled
 
- This module enables you to transparently read or write ZIP compressed
- archives and the files inside them.
+ The initial version is bundled in PHP 4 and is available in PECL
+ as version 1.0, see 
+ &url.pecl.package;zip. It can only read Zip Archives.
+
+
+ This version uses the functions of the ZZIPlib library by Guido Draheim.
+ You need ZZIPlib version >= 0.10.6.
 

 
-   
-&reftitle.required;
-
-PHP4 Bundled
-   
-The initial version is bundled in PHP 4 and is available in PECL
-as version 1.0, see 
-&url.pecl.package;zip. It can only read Zip Archives.
-   
-   
-This version uses the functions of the ZZIPlib library by Guido Draheim.
-You need ZZIPlib version >= 0.10.6.
-   
-
-
-
+   
 PECL and PHP 5.2 or earlier
 
  The newest version is bundled in PHP 5.2.0 or earlier and
@@ -41,32 +41,32 @@
  when used with PHP 5.1 or ealier and can only read them when used
  with PHP4.
 
-
-   
-
-   &reference.zip.configure;
-
-   
-&reftitle.runtime;
-&no.config;
-   
-
-   
-&reftitle.resources;
-
- There are two resource types used in the Zip module. The first one
- is the Zip directory for the Zip archive, the second Zip Entry for
- the archive entries.
-

+  
 
-   &reference.zip.constants;
+  &reference.zip.configure;
 
-   
-&reftitle.examples;
-
- Create a Zip archive
- 
+  
+   &reftitle.runtime;
+   &no.config;
+  
+
+  
+   &reftitle.resources;
+   
+There are two resource types used in the Zip module. The first one
+is the Zip directory for the Zip archive, the second Zip Entry for
+the archive entries.
+   
+  
+
+  &reference.zip.constants;
+
+  
+   &reftitle.examples;
+   
+Create a Zip archive
+
 
- 
-
-
- Dump the archive details and listing
- 
+
+   
+   
+Dump the archive details and listing
+
 
- 
-
-
- Zip stream wrapper, read an OpenOffice meta info
- 
+
+   
+   
+Zip stream wrapper, read an OpenOffice meta info
+
 
- 
-
-
- This example uses the old API (PHP 4), it opens a ZIP file
- archive, reads each file in the archive and prints out its
- contents. The test2.zip archive used in this
- example is one of the test archives in the ZZIPlib source
- distribution.
-
-
- Zip Usage Example
- 
+
+   
+   
+This example uses the old API (PHP 4), it opens a ZIP file
+archive, reads each file in the archive and prints out its
+contents. The test2.zip archive used in this
+example is one of the test archives in the ZZIPlib source
+distribution.
+   
+   
+Zip Usage Example
+
 
- 
-
-   
-  
+
+   
+  
+ 
+
+ &reference.zip.functions;
 
-&reference.zip.functions;
  
 
+
 
  
   ZipArchive::addFile
@@ -8,7 +8,7 @@
  
   &reftitle.description;
   
-   booleanZipArchive::addFile
+   boolZipArchive::addFile

stringfilename
stringlocalname
   
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/zip/functions/ziparchive-addfromstring.xml

[PHP-DOC] cvs: phpdoc /en/reference/zip constants.xml /en/reference/zip/functions ziparchive-unchangename.xml

2006-08-11 Thread Nuno Lopes
nlopess Fri Aug 11 17:33:36 2006 UTC

  Modified files:  
/phpdoc/en/reference/zipconstants.xml 
/phpdoc/en/reference/zip/functions  ziparchive-unchangename.xml 
  Log:
  fix build
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/zip/constants.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/reference/zip/constants.xml
diff -u phpdoc/en/reference/zip/constants.xml:1.1 
phpdoc/en/reference/zip/constants.xml:1.2
--- phpdoc/en/reference/zip/constants.xml:1.1   Fri Aug 11 17:27:59 2006
+++ phpdoc/en/reference/zip/constants.xml   Fri Aug 11 17:33:36 2006
@@ -1,7 +1,6 @@
 
-
-
-
+
+
  &reftitle.constants;
  &extension.constants;
 
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/zip/functions/ziparchive-unchangename.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/reference/zip/functions/ziparchive-unchangename.xml
diff -u phpdoc/en/reference/zip/functions/ziparchive-unchangename.xml:1.1 
phpdoc/en/reference/zip/functions/ziparchive-unchangename.xml:1.2
--- phpdoc/en/reference/zip/functions/ziparchive-unchangename.xml:1.1   Fri Aug 
11 17:27:59 2006
+++ phpdoc/en/reference/zip/functions/ziparchive-unchangename.xml   Fri Aug 
11 17:33:36 2006
@@ -1,6 +1,5 @@
 
-
-
+
 
  
   ZipArchive::unchangeName
@@ -34,7 +33,7 @@
  
   &reftitle.returnvalues;
   
-   Returns  &false; on success or &false; on failure.
+   &return.success;
   
  
 


[PHP-DOC] cvs: phpdoc /entities global.ent

2006-08-11 Thread Pierre-Alain Joye
pajoye  Fri Aug 11 17:32:15 2006 UTC

  Modified files:  
/phpdoc/entitiesglobal.ent 
  Log:
  - add url.example
  
  
http://cvs.php.net/viewvc.cgi/phpdoc/entities/global.ent?r1=1.269&r2=1.270&diff_format=u
Index: phpdoc/entities/global.ent
diff -u phpdoc/entities/global.ent:1.269 phpdoc/entities/global.ent:1.270
--- phpdoc/entities/global.ent:1.269Thu Jul 27 23:28:06 2006
+++ phpdoc/entities/global.ent  Fri Aug 11 17:32:15 2006
@@ -1,6 +1,6 @@
 

[PHP-DOC] cvs: phpdoc /en/reference/enchant functions.xml reference.xml /en/reference/enchant/functions enchant-broker-describe.xml enchant-broker-dict-exists.xml enchant-broker-free-dict.xml enchant

2006-08-11 Thread Pierre-Alain Joye
pajoye  Fri Aug 11 17:30:20 2006 UTC

  Added files: 
/phpdoc/en/reference/enchantfunctions.xml reference.xml 
/phpdoc/en/reference/enchant/functions  enchant-broker-describe.xml 
enchant-broker-dict-exists.xml 
enchant-broker-free-dict.xml 
enchant-broker-free.xml 
enchant-broker-get-error.xml 
enchant-broker-init.xml 
enchant-broker-list-dicts.xml 
enchant-broker-request-dict.xml 

enchant-broker-request-pwl-dict.xml 
enchant-broker-set-ordering.xml 

enchant-dict-add-to-personal.xml 
enchant-dict-add-to-session.xml 
enchant-dict-check.xml 
enchant-dict-describe.xml 
enchant-dict-get-error.xml 
enchant-dict-is-in-session.xml 
enchant-dict-quick-check.xml 

enchant-dict-store-replacement.xml 
enchant-dict-suggest.xml 
  Log:
  - Initial pecl/enchant documentation
  
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/enchant/functions.xml?view=markup&rev=1.1
Index: phpdoc/en/reference/enchant/functions.xml
+++ phpdoc/en/reference/enchant/functions.xml
&reference.enchant.functions.enchant-broker-describe;
&reference.enchant.functions.enchant-broker-dict-exists;
&reference.enchant.functions.enchant-broker-free-dict;
&reference.enchant.functions.enchant-broker-free;
&reference.enchant.functions.enchant-broker-get-error;
&reference.enchant.functions.enchant-broker-init;
&reference.enchant.functions.enchant-broker-list-dicts;
&reference.enchant.functions.enchant-broker-request-dict;
&reference.enchant.functions.enchant-broker-request-pwl-dict;
&reference.enchant.functions.enchant-broker-set-ordering;
&reference.enchant.functions.enchant-dict-add-to-personal;
&reference.enchant.functions.enchant-dict-add-to-session;
&reference.enchant.functions.enchant-dict-check;
&reference.enchant.functions.enchant-dict-describe;
&reference.enchant.functions.enchant-dict-get-error;
&reference.enchant.functions.enchant-dict-is-in-session;
&reference.enchant.functions.enchant-dict-quick-check;
&reference.enchant.functions.enchant-dict-store-replacement;
&reference.enchant.functions.enchant-dict-suggest;

http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/enchant/reference.xml?view=markup&rev=1.1
Index: phpdoc/en/reference/enchant/reference.xml
+++ phpdoc/en/reference/enchant/reference.xml





 enchant Functions
 enchant

 
  
   &reftitle.intro;
   
Enchant is the PHP binding for the
Enchant library. Enchant steps
in to provide uniformity and conformity on top of all spelling
libraries, and implement certain features that may be lacking in
any individual provider library. Everything should "just work"
for any and every definition of "just working."
   
   
Enchat supports the following backends:

 
  
   Aspell/Pspell (intends to replace Ispell)
  
 
 
  
   Ispell (old as sin, could be interpreted as a defacto 
standard)
  
 
 
  
   MySpell/Hunspell (an OOo projects, also used by 
Mozilla)
  
 
 
  
   Uspell (primarily Yiddish, Hebrew, and Eastern European 
languages - hosted in AbiWord's CVS under the module "uspell")
  
 
 
  
   Hspell (Hebrew)
  
 
 
  
   AppleSpell (Mac OSX)
  
 

   
  
  
   &reftitle.required;
   
This version uses the functions of the
Enchant library library by
Dom Lachowicz. You need Enchant 1.2.4 or later.
   
  
  
   &reftitle.install;
   
&pecl.info;
&url.pecl.package;
enchant.
   
  
  
  
  
  

  
   &reftitle.runtime;
   &no.config;
  
  
   &reftitle.resources;
   
There are two types of resources in this extension. The first
one is the broker (backends manager) and the second is for the
dictionary.
   
  

   
&reftitle.examples;

 Enchant Usage Example
 

 

   
 
 &reference.enchant.functions;




http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/enchant/functions/enchant-broker-describe.xml?view=markup&rev=1.1
Index: phpdoc/en/reference/enchant/functions/enchant-broker-describe.xml
+++ phpdoc/en/reference/enchant/functions/enchant-broker-describe.xml



 
  enchant_broker_describe

[PHP-DOC] #38304 [Opn->Csd]: minor typo: DST Should be Daylight Saving Time

2006-08-11 Thread nlopess
 ID:   38304
 Updated by:   [EMAIL PROTECTED]
 Reported By:  rgagnon at networkip dot net
-Status:   Open
+Status:   Closed
 Bug Type: Documentation problem
 Operating System: N/A
 PHP Version:  Irrelevant
 New Comment:

This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation
better.




Previous Comments:


[2006-08-03 18:53:43] rgagnon at networkip dot net

Yes they reference it as "sometimes referred to as", but who actually
uses Wikipedia as a trusted source?

The majority of other government sponsored and educational references
will note the word without the "s".



[2006-08-03 17:10:57] [EMAIL PROTECTED]

"Daylight savings time" seems to be correct too.

http://en.wikipedia.org/wiki/Daylight_Savings_Time



[2006-08-03 15:41:18] rgagnon at networkip dot net

Fix posted corrected "Daylights" to "Daylight" but did not fix
"Savings" to "Saving"

The correct term is "Daylight Saving Time"



[2006-08-03 10:49:12] [EMAIL PROTECTED]

This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation
better.



[2006-08-03 08:41:19] RQuadling at GMail dot com

Index: date.xml
===
RCS file:
/repository/phpdoc/en/reference/datetime/functions/date.xml,v
retrieving revision 1.29
diff -u -r1.29 date.xml
--- date.xml11 Jul 2006 07:05:04 -  1.29
+++ date.xml3 Aug 2006 08:35:24 -
@@ -224,7 +224,7 @@
   
   
I (capital i)
-   Whether or not the date is in daylights savings
time
+   Whether or not the date is in daylight savings
time
1 if Daylight Savings Time,
0 otherwise.
   
   

There are also 2 "daylights" in user notes for function.date and
ref.datetime.

(I don't know how to edit usernotes).



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/38304

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


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

2006-08-11 Thread Nuno Lopes
nlopess Fri Aug 11 17:29:59 2006 UTC

  Modified files:  
/phpdoc/en/reference/datetime/functions date.xml 
  Log:
  DST: daylight saving time. confirmed with my GB English dictionary
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/datetime/functions/date.xml?r1=1.30&r2=1.31&diff_format=u
Index: phpdoc/en/reference/datetime/functions/date.xml
diff -u phpdoc/en/reference/datetime/functions/date.xml:1.30 
phpdoc/en/reference/datetime/functions/date.xml:1.31
--- phpdoc/en/reference/datetime/functions/date.xml:1.30Thu Aug  3 
09:17:25 2006
+++ phpdoc/en/reference/datetime/functions/date.xml Fri Aug 11 17:29:58 2006
@@ -1,5 +1,5 @@
 
-
+
 
  
   date
@@ -224,8 +224,8 @@
   
   
I (capital i)
-   Whether or not the date is in daylight savings time
-   1 if Daylight Savings Time, 
0 otherwise.
+   Whether or not the date is in daylight saving time
+   1 if Daylight Saving Time, 
0 otherwise.
   
   
O
@@ -399,7 +399,7 @@

 
  This can be more reliable than simply adding or subtracting the number
- of seconds in a day or month to a timestamp because of daylight savings
+ of seconds in a day or month to a timestamp because of daylight saving
  time.
 



[PHP-DOC] #38267 [Opn->Csd]: See also ereg() in stristr, strncmp

2006-08-11 Thread nlopess
 ID:   38267
 Updated by:   [EMAIL PROTECTED]
 Reported By:  spam01 at pornel dot net
-Status:   Open
+Status:   Closed
 Bug Type: Documentation problem
 Operating System: *
 PHP Version:  Irrelevant
 New Comment:

This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation
better.




Previous Comments:


[2006-07-31 14:27:10] spam01 at pornel dot net

Description:

Since ereg() is deprecated, documentation of stristr() and  strncmp()
should recommend preg_match() or nothing instead.







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


[PHP-DOC] cvs: phpdoc /en/reference/strings/functions str-ireplace.xml str-replace.xml strcasecmp.xml strcmp.xml strcoll.xml stristr.xml strnatcasecmp.xml strnatcmp.xml strncasecmp.xml strncmp.xml str

2006-08-11 Thread Nuno Lopes
nlopess Fri Aug 11 17:15:27 2006 UTC

  Modified files:  
/phpdoc/en/reference/strings/functions  str-ireplace.xml 
str-replace.xml 
strcasecmp.xml strcmp.xml 
strcoll.xml stristr.xml 
strnatcasecmp.xml 
strnatcmp.xml 
strncasecmp.xml strncmp.xml 
strstr.xml substr.xml 
  Log:
  fix #38267: don't recommend ereg*(), as they are deprecated
  http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/strings/functions/str-ireplace.xml?r1=1.8&r2=1.9&diff_format=u
Index: phpdoc/en/reference/strings/functions/str-ireplace.xml
diff -u phpdoc/en/reference/strings/functions/str-ireplace.xml:1.8 
phpdoc/en/reference/strings/functions/str-ireplace.xml:1.9
--- phpdoc/en/reference/strings/functions/str-ireplace.xml:1.8  Wed Nov 10 
08:30:46 2004
+++ phpdoc/en/reference/strings/functions/str-ireplace.xml  Fri Aug 11 
17:15:26 2006
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -70,7 +70,6 @@
 
  See also: 
  str_replace,
- ereg_replace,
  preg_replace, and 
  strtr.
 
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/strings/functions/str-replace.xml?r1=1.18&r2=1.19&diff_format=u
Index: phpdoc/en/reference/strings/functions/str-replace.xml
diff -u phpdoc/en/reference/strings/functions/str-replace.xml:1.18 
phpdoc/en/reference/strings/functions/str-replace.xml:1.19
--- phpdoc/en/reference/strings/functions/str-replace.xml:1.18  Fri Mar 11 
13:56:44 2005
+++ phpdoc/en/reference/strings/functions/str-replace.xml   Fri Aug 11 
17:15:27 2006
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -104,7 +104,6 @@
  See also 
  str_ireplace,
  substr_replace,
- ereg_replace,
  preg_replace, and 
  strtr.
 
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/strings/functions/strcasecmp.xml?r1=1.5&r2=1.6&diff_format=u
Index: phpdoc/en/reference/strings/functions/strcasecmp.xml
diff -u phpdoc/en/reference/strings/functions/strcasecmp.xml:1.5 
phpdoc/en/reference/strings/functions/strcasecmp.xml:1.6
--- phpdoc/en/reference/strings/functions/strcasecmp.xml:1.5Fri May 21 
23:05:20 2004
+++ phpdoc/en/reference/strings/functions/strcasecmp.xmlFri Aug 11 
17:15:27 2006
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -37,7 +37,7 @@
 
 
  See also 
- ereg,
+ preg_match,
  strcmp,
  substr,
  stristr,
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/strings/functions/strcmp.xml?r1=1.3&r2=1.4&diff_format=u
Index: phpdoc/en/reference/strings/functions/strcmp.xml
diff -u phpdoc/en/reference/strings/functions/strcmp.xml:1.3 
phpdoc/en/reference/strings/functions/strcmp.xml:1.4
--- phpdoc/en/reference/strings/functions/strcmp.xml:1.3Fri May 21 
23:05:20 2004
+++ phpdoc/en/reference/strings/functions/strcmp.xmlFri Aug 11 17:15:27 2006
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -23,7 +23,7 @@
  Note that this comparison is case sensitive.
 
 
- See also ereg,
+ See also preg_match,
  strcasecmp, 
  substr,
  stristr, 
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/strings/functions/strcoll.xml?r1=1.3&r2=1.4&diff_format=u
Index: phpdoc/en/reference/strings/functions/strcoll.xml
diff -u phpdoc/en/reference/strings/functions/strcoll.xml:1.3 
phpdoc/en/reference/strings/functions/strcoll.xml:1.4
--- phpdoc/en/reference/strings/functions/strcoll.xml:1.3   Fri Sep  6 
11:27:36 2002
+++ phpdoc/en/reference/strings/functions/strcoll.xml   Fri Aug 11 17:15:27 2006
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -33,7 +33,7 @@
  
 
 
- See also ereg, strcmp,
+ See also preg_match, strcmp,
  strcasecmp, substr,
  stristr, strncasecmp,
  strncmp, strstr, and
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/strings/functions/stristr.xml?r1=1.9&r2=1.10&diff_format=u
Index: phpdoc/en/reference/strings/functions/stristr.xml
diff -u phpdoc/en/reference/strings/functions/stristr.xml:1.9 
phpdoc/en/reference/strings/functions/stristr.xml:1.10
--- phpdoc/en/reference/strings/functions/stristr.xml:1.9   Thu Mar 10 
03:52:29 2005
+++ phpdoc/en/reference/strings/functions/stristr.xml   Fri Aug 11 17:15:27 2006
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -80,7 +80,7 @@
  strstr,
  strrchr, 
  substr, and
- ereg.
+ preg_match.
 

   
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/strings/functions/strnatcasecmp.xml?r1=1.4&r2=1.5&diff_format=u
Index: phpdoc/en/reference/strings/functions/strnatcasecmp.xml
diff -u phpdoc/en/reference/strings/functions/strnatcasecmp.xml:1.4 
phpdoc/en/reference/strings/functions/strnatcasecmp.xml:1.5
--- phpdoc/en/reference/strings/functions/strnatcasecmp.xml:1.4 Fri May 21 
23:05:20 2004
+++ phpdoc/en/reference/strings/functions/strnat

[PHP-DOC] #38352 [Opn->Bgs]: Documentation mixes versions

2006-08-11 Thread nlopess
 ID:  38352
 Updated by:  [EMAIL PROTECTED]
 Reported By: pdey at realmtech dot net
-Status:  Open
+Status:  Bogus
 Bug Type:Documentation problem
 PHP Version: Irrelevant
 New Comment:

There are similar bug reports open. We are already thinking in how to
implement that. Stay tuned ;)


Previous Comments:


[2006-08-06 03:59:29] pdey at realmtech dot net

Description:

The PHP Documentation mixes documentation, functions, etc from many
different versions of PHP -- PHP4, 5, and 5.1.

The PHP documentation one year ago was an excellent reference.  It is
now difficult to sort out which parts are relevant to the version of
PHP you are working with.

While many of us wish to upgrade to the "latest and greatest" PHP,
there are constraints placed upon us which do not allow this to happen
(such as applications depending on a particular version, or hosting
providers stuck at a version).

Expected result:

The PHP manual should be organised similar to the way the MySQL manual
has been organised (See http://dev.mysql.com/doc/).

The MySQL manual has been separated into versions 3.2.3 through 4.1
(which have similar functionality), 5.0, and 5.1.

A similar setup would allow for far easier navigation through the PHP
manual for those of us who are "stuck" at an earlier version.






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


[PHP-DOC] #38399 [Ver->Asn]: German documentation says both there is, and there is not, a Boolean type.

2006-08-11 Thread nlopess
 ID:   38399
 Updated by:   [EMAIL PROTECTED]
 Reported By:  Otto dot Stolz at uni-konstanz dot de
-Status:   Verified
+Status:   Assigned
 Bug Type: Documentation problem
 Operating System: any
 PHP Version:  Irrelevant
 Assigned To:  sammywg


Previous Comments:


[2006-08-09 13:45:50] [EMAIL PROTECTED]

thanks for reporting, we'll fix the german documentation section as
soon as possible.



[2006-08-09 12:51:13] Otto dot Stolz at uni-konstanz dot de

Description:

"There is...":

From
:
PHP unterstützt ... Vier skalare Typen:
* Boolean
* Integer
* Fließkomma-Zahl (float)
* String / Zeichenkette 
From
:
is_bool --  Prüft, ob eine Variable vom Typ boolean ist


"There isn't...":

Aus
:
PHP unterstützt drei skalare Datentypen: integer values
(Integer-Zahlen), floating point values (Fließkommazahlen)
und string values (Zeichenketten).
...
(PHP hat keinen speziellen boolean-Datentyp)


Which one is true?






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


[PHP-DOC] #38402 [Opn->Csd]: Wrong documented return type for ArrayObject::offsetGet

2006-08-11 Thread nlopess
 ID:   38402
 Updated by:   [EMAIL PROTECTED]
 Reported By:  david dot nqd at gmail dot com
-Status:   Open
+Status:   Closed
 Bug Type: Documentation problem
 Operating System: Irrelevant
 PHP Version:  Irrelevant
 New Comment:

This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation
better.




Previous Comments:


[2006-08-10 08:31:05] RQuadling at GMail dot com

The source to this function /php-src/ext/spl/spl_array.c /* $Id:
spl_array.c,v 1.111 2006/05/20 19:47:18 helly Exp $ */ Lines 493-504
are

/* {{{ proto bool ArrayObject::offsetGet(mixed $index)
   proto bool ArrayIterator::offsetGet(mixed $index)
 Returns the value at the specified $index. */
SPL_METHOD(Array, offsetGet)
{
zval *index, *value;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", &index) ==
FAILURE) {
return;
}
value = spl_array_read_dimension_ex(0, getThis(), index, BP_VAR_R
TSRMLS_CC);
RETURN_ZVAL(value, 1, 0);
} /* }}} */

As the manual is based upon the proto defined in the source, it LOOKS
like the proto is incorrect.

Can you give a short proof?



[2006-08-09 20:19:08] david dot nqd at gmail dot com

Description:

Hi,

The documented return type of ArrayObject::offsetGet is bool, when it
should it be mixed (?)

The documentation for this function: "Returns the value at the
specified $index" which may or may not be boolean.

- David






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


[PHP-DOC] #34789 [Opn->Csd]: userland naming guide

2006-08-11 Thread nlopess
 ID:   34789
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Open
+Status:   Closed
 Bug Type: Documentation problem
 Operating System: irrlevant
 PHP Version:  Irrelevant
 New Comment:

ok, linking done.


Previous Comments:


[2006-07-31 06:52:14] [EMAIL PROTECTED]

Afaik Sean commited a fixed up XML version. Now the big question is
from where this should be linked. IMHO it should be linked from the
sections explaining OOP (although it also applies to PHP4 its probably
sufficient to link it from the PHP5 OOP start page), exceptions,
functions and constants.



[2006-07-23 18:21:03] [EMAIL PROTECTED]

(sorry for double post)
about your first question, if you feel unconfortable with commiting the
patch, just ask one of us in the IRC to review it or post a link here
and we'll review and commit it.



[2006-07-23 18:18:30] [EMAIL PROTECTED]

I think a good place is the appendix. And link it from the oop5 page.



[2006-07-21 08:38:14] [EMAIL PROTECTED]

OK, I think I have phpdoc karma. However I do not have a way to test
changes, nor experience with phpdoc (though I am sure I will be able to
figure out the xml syntax). I would however like to add the updated
document. How should I best go about doing this? Where should I add the
document?



[2005-11-25 13:01:55] [EMAIL PROTECTED]

I have begun writing a guide over here:
http://oss.backendmedia.com/UserlandNamingGuide



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/34789

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


[PHP-DOC] cvs: phpdoc /en language-snippets.ent /en/language constants.xml functions.xml oop5.xml variables.xml

2006-08-11 Thread Nuno Lopes
nlopess Fri Aug 11 16:55:35 2006 UTC

  Modified files:  
/phpdoc/en  language-snippets.ent 
/phpdoc/en/language constants.xml functions.xml oop5.xml 
variables.xml 
  Log:
  Philip wants an entity there, so create a &tip.userlandnaming; entity
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/language-snippets.ent?r1=1.171&r2=1.172&diff_format=u
Index: phpdoc/en/language-snippets.ent
diff -u phpdoc/en/language-snippets.ent:1.171 
phpdoc/en/language-snippets.ent:1.172
--- phpdoc/en/language-snippets.ent:1.171   Mon Jul 24 11:43:55 2006
+++ phpdoc/en/language-snippets.ent Fri Aug 11 16:55:35 2006
@@ -1,4 +1,4 @@
-
+
 
 
 
@@ -96,6 +96,9 @@
 the output of this function, and save it in a
 string (for example).'>
 
+You may also want to take a
+look at the .'>
+
 
 
 
http://cvs.php.net/viewvc.cgi/phpdoc/en/language/constants.xml?r1=1.46&r2=1.47&diff_format=u
Index: phpdoc/en/language/constants.xml
diff -u phpdoc/en/language/constants.xml:1.46 
phpdoc/en/language/constants.xml:1.47
--- phpdoc/en/language/constants.xml:1.46   Fri Aug 11 16:40:18 2006
+++ phpdoc/en/language/constants.xmlFri Aug 11 16:55:35 2006
@@ -1,5 +1,5 @@
 
-
+
  
   Constants
 
@@ -18,11 +18,7 @@
expression, it would be expressed thusly:
[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*
   
-  
-   
-You may also want to take a look at the .
-   
-  
+  &tip.userlandnaming;
   

 Valid and invalid constant names
http://cvs.php.net/viewvc.cgi/phpdoc/en/language/functions.xml?r1=1.61&r2=1.62&diff_format=u
Index: phpdoc/en/language/functions.xml
diff -u phpdoc/en/language/functions.xml:1.61 
phpdoc/en/language/functions.xml:1.62
--- phpdoc/en/language/functions.xml:1.61   Fri Aug 11 16:40:18 2006
+++ phpdoc/en/language/functions.xmlFri Aug 11 16:55:35 2006
@@ -1,5 +1,5 @@
 
-
+
  
   Functions
 
@@ -38,11 +38,7 @@
 expression, it would be expressed thus:
 [a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*.

-   
-
- You may also want to take a look at the .
-
-   
+   &tip.userlandnaming;

 In PHP 3, functions must be defined before they are referenced. No
 such requirement exists since PHP 4. Except when
http://cvs.php.net/viewvc.cgi/phpdoc/en/language/oop5.xml?r1=1.11&r2=1.12&diff_format=u
Index: phpdoc/en/language/oop5.xml
diff -u phpdoc/en/language/oop5.xml:1.11 phpdoc/en/language/oop5.xml:1.12
--- phpdoc/en/language/oop5.xml:1.11Fri Aug 11 16:40:18 2006
+++ phpdoc/en/language/oop5.xml Fri Aug 11 16:55:35 2006
@@ -1,5 +1,5 @@
 
-
+
  
   Classes and Objects (PHP 5)
 
@@ -9,11 +9,7 @@
 In PHP 5 there is a new Object Model. PHP's handling of objects has been
 completely rewritten, allowing for better performance and more features.

-   
-
- You may also want to take a look at the .
-
-   
+   &tip.userlandnaming;
   
 
   &language.oop5.basic;
http://cvs.php.net/viewvc.cgi/phpdoc/en/language/variables.xml?r1=1.91&r2=1.92&diff_format=u
Index: phpdoc/en/language/variables.xml
diff -u phpdoc/en/language/variables.xml:1.91 
phpdoc/en/language/variables.xml:1.92
--- phpdoc/en/language/variables.xml:1.91   Fri Aug 11 16:40:18 2006
+++ phpdoc/en/language/variables.xmlFri Aug 11 16:55:35 2006
@@ -1,5 +1,5 @@
 
-
+
  
   Variables
   
@@ -26,11 +26,7 @@
 

 
-   
-
- You may also want to take a look at the .
-
-   
+   &tip.userlandnaming;
 

 For information on variable related functions, see the


[PHP-DOC] #36747 [Opn->Csd]: glob() not defined

2006-08-11 Thread nlopess
 ID:   36747
 Updated by:   [EMAIL PROTECTED]
 Reported By:  s dot manzari at icom dot de
-Status:   Open
+Status:   Closed
 Bug Type: Documentation problem
 Operating System: Sun 5.10
 PHP Version:  4.4.2
 New Comment:

This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation
better.




Previous Comments:


[2006-03-15 18:31:27] s dot manzari at icom dot de

but it does work on a Sun 5.9 SPARC 64 with php 4.3.11?!



[2006-03-15 18:27:53] [EMAIL PROTECTED]

No, glib is not the same as glibc. Additionally I doubt SUN uses the
GNU libc. Problem then being: SUN OS does not support glob() in its
libc.



[2006-03-15 18:22:50] s dot manzari at icom dot de

wow! thanks for the quick answer :-)
is glibc the same as glib found on sunfreeware.com and how do i
determine whether it has glob in it.
final question: do i need to re-compile php after i update glibc or is
it used dynamically?



[2006-03-15 18:09:26] [EMAIL PROTECTED]

No glob() in glibc -> no glob() in PHP.
Reclassified as docu problem.



[2006-03-15 18:01:05] s dot manzari at icom dot de

Description:

the glob() function is not defined.

Fatal error: Call to undefined function: glob() in
/ifo.kt/test/htdocs/glob.php on line 4

Configuration:
Sun OS 5.10 SPARC 64bit
Apache/1.3.33 (Unix) PHP/4.4.2 mod_perl/1.29
Configure Command:
'./configure'
'--with-oci8-instant-client=/usr/lib/oracle/10.1.0.3/client/lib'
'--enable-ftp'
'--enable-ssl' '--with-apxs=/usr/apache/bin/apxs' '--enable-track-vars'
'--enable-bcmath'
'--with-config-file-path=/etc' '--enable-shmop' '--with-dom'
'--with-zlib-dir=/usr/local'

It is my understanding, that the glob() function is available anytime
after php 4.3 or so. It does work on php4.4 on a Sun 5.9 SPARC. Is
there a special compile option required?

Reproduce code:
---
$files = glob("*.php");

foreach ($files as $filename)
{
   echo "$filename size " . filesize($filename) . " kb";
}


Expected result:

index.php size 2367 kb
info.php size 317 kb
ll_test.php size 178 kb
logout.php size 576 kb
main.php size 1438 kb
todo.php size 882 kb
version.php size 2880 kb

Actual result:
--
Fatal error: Call to undefined function: glob() in
/apache/htdocs/glob.php on line 4





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


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

2006-08-11 Thread Nuno Lopes
nlopess Fri Aug 11 16:50:23 2006 UTC

  Modified files:  
/phpdoc/en/reference/filesystem/functions   glob.xml 
  Log:
  fix #36747: not available everywhere
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/filesystem/functions/glob.xml?r1=1.19&r2=1.20&diff_format=u
Index: phpdoc/en/reference/filesystem/functions/glob.xml
diff -u phpdoc/en/reference/filesystem/functions/glob.xml:1.19 
phpdoc/en/reference/filesystem/functions/glob.xml:1.20
--- phpdoc/en/reference/filesystem/functions/glob.xml:1.19  Wed Jun 22 
20:34:42 2005
+++ phpdoc/en/reference/filesystem/functions/glob.xml   Fri Aug 11 16:50:23 2006
@@ -1,5 +1,5 @@
 
-
+
   

 glob 
@@ -71,13 +71,8 @@
  
   
GLOB_ERR - Stop on read errors (like unreadable  
-   directories), by default errors are ignored
+   directories), by default errors are ignored. Added in PHP 5.1.0.
   
-  
-   
-GLOB_ERR was added in PHP 5.1
-   
-  
  
 
 
@@ -96,9 +91,7 @@
 ?>
 ]]>
   
-  
-   Output will look something like:
-  
+  &example.outputs.similar;
   
 

[PHP-DOC] cvs: phpdoc /en/language constants.xml functions.xml oop5.xml variables.xml

2006-08-11 Thread Nuno Lopes
nlopess Fri Aug 11 16:40:18 2006 UTC

  Modified files:  
/phpdoc/en/language constants.xml functions.xml oop5.xml 
variables.xml 
  Log:
  add some links to the userland naming appendix
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/language/constants.xml?r1=1.45&r2=1.46&diff_format=u
Index: phpdoc/en/language/constants.xml
diff -u phpdoc/en/language/constants.xml:1.45 
phpdoc/en/language/constants.xml:1.46
--- phpdoc/en/language/constants.xml:1.45   Thu Jun 15 11:11:31 2006
+++ phpdoc/en/language/constants.xmlFri Aug 11 16:40:18 2006
@@ -1,5 +1,5 @@
 
-
+
  
   Constants
 
@@ -18,6 +18,11 @@
expression, it would be expressed thusly:
[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*
   
+  
+   
+You may also want to take a look at the .
+   
+  
   

 Valid and invalid constant names
http://cvs.php.net/viewvc.cgi/phpdoc/en/language/functions.xml?r1=1.60&r2=1.61&diff_format=u
Index: phpdoc/en/language/functions.xml
diff -u phpdoc/en/language/functions.xml:1.60 
phpdoc/en/language/functions.xml:1.61
--- phpdoc/en/language/functions.xml:1.60   Tue Nov 29 13:23:20 2005
+++ phpdoc/en/language/functions.xmlFri Aug 11 16:40:18 2006
@@ -1,5 +1,5 @@
 
-
+
  
   Functions
 
@@ -38,6 +38,11 @@
 expression, it would be expressed thus:
 [a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*.

+   
+
+ You may also want to take a look at the .
+
+   

 In PHP 3, functions must be defined before they are referenced. No
 such requirement exists since PHP 4. Except when
http://cvs.php.net/viewvc.cgi/phpdoc/en/language/oop5.xml?r1=1.10&r2=1.11&diff_format=u
Index: phpdoc/en/language/oop5.xml
diff -u phpdoc/en/language/oop5.xml:1.10 phpdoc/en/language/oop5.xml:1.11
--- phpdoc/en/language/oop5.xml:1.10Wed Dec 29 12:46:06 2004
+++ phpdoc/en/language/oop5.xml Fri Aug 11 16:40:18 2006
@@ -1,5 +1,5 @@
 
-
+
  
   Classes and Objects (PHP 5)
 
@@ -9,6 +9,11 @@
 In PHP 5 there is a new Object Model. PHP's handling of objects has been
 completely rewritten, allowing for better performance and more features.

+   
+
+ You may also want to take a look at the .
+
+   
   
 
   &language.oop5.basic;
http://cvs.php.net/viewvc.cgi/phpdoc/en/language/variables.xml?r1=1.90&r2=1.91&diff_format=u
Index: phpdoc/en/language/variables.xml
diff -u phpdoc/en/language/variables.xml:1.90 
phpdoc/en/language/variables.xml:1.91
--- phpdoc/en/language/variables.xml:1.90   Tue Nov  1 14:47:10 2005
+++ phpdoc/en/language/variables.xmlFri Aug 11 16:40:18 2006
@@ -1,5 +1,5 @@
 
-
+
  
   Variables
   
@@ -26,6 +26,12 @@
 

 
+   
+
+ You may also want to take a look at the .
+
+   
+

 For information on variable related functions, see the
 Variable Functions Reference.


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

2006-08-11 Thread Nuno Lopes
nlopess Fri Aug 11 16:28:13 2006 UTC

  Modified files:  
/phpdoc/en/reference/tidy/functions tidy-setopt.xml 
  Log:
  add link to tidy.conf, per user note
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/tidy/functions/tidy-setopt.xml?r1=1.5&r2=1.6&diff_format=u
Index: phpdoc/en/reference/tidy/functions/tidy-setopt.xml
diff -u phpdoc/en/reference/tidy/functions/tidy-setopt.xml:1.5 
phpdoc/en/reference/tidy/functions/tidy-setopt.xml:1.6
--- phpdoc/en/reference/tidy/functions/tidy-setopt.xml:1.5  Fri Aug 20 
09:37:00 2004
+++ phpdoc/en/reference/tidy/functions/tidy-setopt.xml  Fri Aug 11 16:28:13 2006
@@ -1,5 +1,5 @@
 
-
+
   

 tidy_setopt
@@ -17,6 +17,8 @@
 
  tidy_setopt updates the specified
  option with a new value.
+ You will find a list with each configuration option at: &url.tidy.conf;.
 
 
  


[PHP-DOC] cvs: phpdoc /en/reference/network/functions setcookie.xml setrawcookie.xml /en/reference/session ini.xml /en/reference/session/functions session-get-cookie-params.xml session-set-cookie-pa

2006-08-11 Thread Nuno Lopes
nlopess Fri Aug 11 16:21:54 2006 UTC

  Modified files:  
/phpdoc/en/reference/sessionini.xml 
/phpdoc/en/reference/session/functions  
session-get-cookie-params.xml 
session-set-cookie-params.xml 
/phpdoc/en/reference/network/functions  setcookie.xml 
setrawcookie.xml 
  Log:
  document the new httponly flag in session and setcookie*() stuff
  http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/session/ini.xml?r1=1.40&r2=1.41&diff_format=u
Index: phpdoc/en/reference/session/ini.xml
diff -u phpdoc/en/reference/session/ini.xml:1.40 
phpdoc/en/reference/session/ini.xml:1.41
--- phpdoc/en/reference/session/ini.xml:1.40Tue Feb  7 16:54:21 2006
+++ phpdoc/en/reference/session/ini.xml Fri Aug 11 16:21:54 2006
@@ -1,5 +1,5 @@
 
-
+
 
  &reftitle.runtime;
  &extension.runtime;
@@ -89,6 +89,12 @@
  Available since PHP 4.0.4.
 
 
+ session.cookie_httponly
+ ""
+ PHP_INI_ALL
+ Available since PHP 5.2.0.
+
+
  session.use_cookies
  "1"
  PHP_INI_ALL
@@ -166,16 +172,6 @@
  PHP_INI_ALL
  Available since PHP 4.0.4.
 
-
-
-

   
  
@@ -508,6 +504,21 @@

   
 
+  
+   
+session.cookie_httponly
+boolean
+   
+   
+
+ Marks the cookie as accessible only through the HTTP protocol. This means
+ that the cookie won't be accessible by scripting languages, such as
+ JavaScript. This setting can effectly help to reduce identity theft
+ through XSS attacks (although it is not supported by all browsers).
+
+   
+  
+
   

 session.cache_limiter
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/session/functions/session-get-cookie-params.xml?r1=1.4&r2=1.5&diff_format=u
Index: phpdoc/en/reference/session/functions/session-get-cookie-params.xml
diff -u phpdoc/en/reference/session/functions/session-get-cookie-params.xml:1.4 
phpdoc/en/reference/session/functions/session-get-cookie-params.xml:1.5
--- phpdoc/en/reference/session/functions/session-get-cookie-params.xml:1.4 
Mon Apr 19 21:24:57 2004
+++ phpdoc/en/reference/session/functions/session-get-cookie-params.xml Fri Aug 
11 16:21:54 2006
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -40,6 +40,12 @@
 (This item was added in PHP 4.0.4.)

   
+  
+   
+"httponly" - The cookie can only be accessed through the HTTP protocol
+(This item was added in PHP 5.2.0).
+   
+  
  
 
 
@@ -47,7 +53,8 @@
  session.cookie_lifetime,
  session.cookie_path,
  session.cookie_domain,
- session.cookie_secure, 
and
+ session.cookie_secure,
+ session.cookie_httponly, and
  session_set_cookie_params.
 

http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/session/functions/session-set-cookie-params.xml?r1=1.4&r2=1.5&diff_format=u
Index: phpdoc/en/reference/session/functions/session-set-cookie-params.xml
diff -u phpdoc/en/reference/session/functions/session-set-cookie-params.xml:1.4 
phpdoc/en/reference/session/functions/session-set-cookie-params.xml:1.5
--- phpdoc/en/reference/session/functions/session-set-cookie-params.xml:1.4 
Mon Apr 19 21:24:57 2004
+++ phpdoc/en/reference/session/functions/session-set-cookie-params.xml Fri Aug 
11 16:21:54 2006
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -16,6 +16,7 @@
   stringpath
   stringdomain
   boolsecure
+  boolhttponly
  
 
  Set cookie parameters defined in the &php.ini; file. The effect of this
@@ -26,7 +27,8 @@
 
  
The secure parameter was added in PHP
-   4.0.4.
+   4.0.4, while the httponly parameter was added in
+   PHP 5.2.0.
  
 
 
@@ -34,7 +36,8 @@
  session.cookie_lifetime,
  session.cookie_path,
  session.cookie_domain,
- session.cookie_secure, 
and
+ session.cookie_secure,
+ session.cookie_httponly, and
  session_get_cookie_params.
 

http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/network/functions/setcookie.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/reference/network/functions/setcookie.xml
diff -u phpdoc/en/reference/network/functions/setcookie.xml:1.1 
phpdoc/en/reference/network/functions/setcookie.xml:1.2
--- phpdoc/en/reference/network/functions/setcookie.xml:1.1 Mon Jul 24 
11:01:55 2006
+++ phpdoc/en/reference/network/functions/setcookie.xml Fri Aug 11 16:21:54 2006
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -16,6 +16,7 @@
   stringpath
   stringdomain
   boolsecure
+  boolhttponly
  
 
  setcookie defines a cookie to be sent along
@@ -140,7 +141,20 @@
   is &false;.
  
  
-  0 or 1
+  &true; or &false;
+ 
+
+
+ httponly
+ 
+  When &true; the cookie will be made accessible only through the HTTP
+  protocol. This means that th

[PHP-DOC] #38426 [Opn->Bgs]: Czech manual - PDOStatement::fetchSingle

2006-08-11 Thread nlopess
 ID:   38426
 Updated by:   [EMAIL PROTECTED]
 Reported By:  jookyn at gmail dot com
-Status:   Open
+Status:   Bogus
 Bug Type: Documentation problem
 Operating System: Linux
 PHP Version:  Irrelevant
 New Comment:

We have ways to track such things, there is no need to open bug reports
for them.


Previous Comments:


[2006-08-11 11:54:34] jookyn at gmail dot com

Description:

In czech manual hasn't been yet renamed method
PDOStatement::fetchSingle to PDOStatement::fetchColumn






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


[PHP-DOC] #38426 [NEW]: Czech manual - PDOStatement::fetchSingle

2006-08-11 Thread jookyn at gmail dot com
From: jookyn at gmail dot com
Operating system: Linux
PHP version:  Irrelevant
PHP Bug Type: Documentation problem
Bug description:  Czech manual - PDOStatement::fetchSingle 

Description:

In czech manual hasn't been yet renamed method PDOStatement::fetchSingle
to PDOStatement::fetchColumn


-- 
Edit bug report at http://bugs.php.net/?id=38426&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=38426&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=38426&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=38426&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=38426&r=fixedcvs
Fixed in release: 
http://bugs.php.net/fix.php?id=38426&r=alreadyfixed
Need backtrace:   http://bugs.php.net/fix.php?id=38426&r=needtrace
Need Reproduce Script:http://bugs.php.net/fix.php?id=38426&r=needscript
Try newer version:http://bugs.php.net/fix.php?id=38426&r=oldversion
Not developer issue:  http://bugs.php.net/fix.php?id=38426&r=support
Expected behavior:http://bugs.php.net/fix.php?id=38426&r=notwrong
Not enough info:  
http://bugs.php.net/fix.php?id=38426&r=notenoughinfo
Submitted twice:  
http://bugs.php.net/fix.php?id=38426&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=38426&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=38426&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=38426&r=dst
IIS Stability:http://bugs.php.net/fix.php?id=38426&r=isapi
Install GNU Sed:  http://bugs.php.net/fix.php?id=38426&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=38426&r=float
No Zend Extensions:   http://bugs.php.net/fix.php?id=38426&r=nozend
MySQL Configuration Error:http://bugs.php.net/fix.php?id=38426&r=mysqlcfg