[PHP-DOC] #30607 [Opn->Csd]: typo on setcookie page

2004-10-29 Thread dave
 ID:   30607
 Updated by:   [EMAIL PROTECTED]
 Reported By:  smifffy at smith-net dot org dot uk
-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:


[2004-10-29 08:50:33] [EMAIL PROTECTED]

Changing category to doc-problem.



[2004-10-29 02:35:00] smifffy at smith-net dot org dot uk

Description:

on the page (http://uk2.php.net/manual/en/function.setcookie.php) the
line:

Note:  If the PHP directive register_globals  is set to on then cookie
values will also be made into variables. In our examples below,
$TextCookie will exist. It's recommended to use $_COOKIE.

should read

Note:  If the PHP directive register_globals  is set to on then cookie
values will also be made into variables. In our examples below,
$TestCookie will exist. It's recommended to use $_COOKIE.

ive only looked on the uk and uk2 pages but i assume it is the same on
the other english servers.






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


[PHP-DOC] #31236 [Opn->Csd]: tan(M_PI_4) = 1, not tan(M_PI_2)

2004-12-21 Thread dave
 ID:   31236
 Updated by:   [EMAIL PROTECTED]
 Reported By:  dtorop933 at gmail dot com
-Status:   Open
+Status:   Closed
 Bug Type: Documentation problem
 Operating System: GNU/Linux
 PHP Version:  5.0.3
 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:


[2004-12-22 00:17:42] dtorop933 at gmail dot com

Description:

In documentation http://php.net/tan, example code says:

echo tan(M_PI_2); // 1

The comment implies tan(M_PI_2) = 1.
But tan(M_PI_2) is a really really big number, tan(M_PI_4) = 1.






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


[PHP-DOC] #31415 [Opn->Csd]: Capitalization problem on phpinfo() reference page

2005-01-05 Thread dave
 ID:   31415
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-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:


[2005-01-05 06:41:32] [EMAIL PROTECTED]

Description:

php.net/phpinfo

Table 1, option INFO_LICENSE.

I'm reporting this as a bug, because I honestly had to doubletake it
when I read it -- I could have sworn the page said 'license fag' due to
the underlined link (yikes!). I'm still catching up to speed on the
documentation, so perhaps someone wants to change this to

PHP License information. See also the license FAQ.






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


[PHP-DOC] #32218 [Fbk]: HTTP status 200 returned on HTTP CONNECT

2005-03-08 Thread dave
 ID:  32218
 Updated by:  [EMAIL PROTECTED]
 Reported By: mcihar at suse dot cz
 Status:  Feedback
 Bug Type:Documentation problem
 PHP Version: 5.0.3
 New Comment:

It can handle any type of request Vrana, but is that fact documented
anywhere? If it isn't, it should be. Most people wouldn't expect that
methods other than GET or POST could be used to access their script,
and this should probably be noted.

Ideally, the best solution would be to stop these unwanted request
methods even getting to PHP in the first place. This could be done in
Apache like this:


Deny from all



Previous Comments:


[2005-03-08 09:44:15] [EMAIL PROTECTED]

What's the problem here? Your PHP script can handle any type of request
method and you can check for the method in variable
$_SERVER["REQUEST_METHOD"] which is documented at
http://www.php.net/manual/en/reserved.variables.php . You can send the
status code yourself with header().



[2005-03-07 20:08:44] [EMAIL PROTECTED]

Let's document it.




[2005-03-07 13:53:42] mcihar at suse dot cz

Description:

This is basically same as bug #19113, but I didn't find way to add
comment there and I do no thing it is bogus.

Problem is that mod_php (and mod_perl as well) don't care about request
type at all, and handle all same way. If this is really intended
behaviour, it should be documented.

I feel it is a bug, solution migth be to add method check to
php_handler. It might look like:

if (r->method_number != M_GET && r->method_number != M_POST) {
return DECLINED;
}






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


[PHP-DOC] #33531 [Bgs]: A critical file in the wrong dir

2005-07-01 Thread dave
 ID:   33531
 Updated by:   [EMAIL PROTECTED]
 Reported By:  nerdshoe at satx dot rr dot com
 Status:   Bogus
 Bug Type: Documentation problem
 Operating System: Windows
 PHP Version:  4.x
 New Comment:

Reverted erroneous title change.


Previous Comments:


[2005-07-01 15:58:31] [EMAIL PROTECTED]

I don't know how the title get changed...



[2005-07-01 15:56:27] [EMAIL PROTECTED]

There is a note to php 4 users in the documentation to copy sapi/* file
to C:\php.



[2005-07-01 04:59:16] nerdshoe at satx dot rr dot com

Description:

Quite a simple problem but it caused me lots of trouble since there are
very few trouble shooting tools for the configuration files.

php4apache.dll is in the wrong directory and will not work if you
follow the installation instructions for installing php as an apache
module. If you were like me, you might have caught that after lots of
wasted time and changed the path. But no, that didn't work. Took me
another hour to try moving the file to the right directory and bingo,
it works just fine now.

The sapi directory is clearly incorrect. Even if you change the path in
your httpd.conf file, it still will not run. It must be put into c:/php
or the root of your tree.






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


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

2003-08-11 Thread dave
On Saturday, August 9, 2003, 9:55:21 PM, Derick wrote:

> Can you please make your email cliena attach it as plain text? (You
> might need to rename it to .txt for your client).

Sure. Sorry about that.

> Derick

DaveIndex: working.xml
===
RCS file: /repository/phpdoc/howto/working.xml,v
retrieving revision 1.36
diff -u -r1.36 working.xml
--- working.xml 23 Jun 2003 09:47:28 -  1.36
+++ working.xml 9 Aug 2003 11:49:52 -
@@ -409,7 +409,7 @@
   Function names should be created, and documented, in lowercase
   format with an underscore separating the name components. Names
   without underscores are often only kept for backward
-  compatibilty. Document the function named with underscores
+  compatibility. Document the function named with underscores
   separating components, and mention the old one as an alias.
  
  
@@ -457,13 +457,13 @@
 
 
  
-  Brevity is appreciated. Long winded descriptions of each and
+  Brevity is appreciated. Long-winded descriptions of each and
   every function are not appropriate for the reference sections.
   Using the errata comments as guidelines, it's easier to tell when
   more documentation is needed, as well as the inverse, when too
   much documentation in one section has increased confusion.
-  Noone complained about too much documentation
-  in any section till now, so be brave to add longer explanations,
+  No one complained about too much documentation
+  in any section until now, so be brave to add longer explanations,
   and more than one example per function. :)
  
 
@@ -655,9 +655,9 @@
 
   
There are many active translations out there of the PHP
-   documentation. Some lanaguages are being maintaned by
+   documentation. Some languages are being maintained by
a group of translators (eg. the German), some are one person
-   projects (eg. the Japanese). There are quite many things for
+   projects (eg. the Japanese). There are quite a few things for
translators to know, though these are simple.
   
   
@@ -665,7 +665,7 @@
Starting a New Translation

 Starting a new language translation comes down to
-the following simple steps now.
+the following simple steps:
 
  
   
@@ -678,7 +678,7 @@
  
   
Ask for a CVS account.
-   Mention, that you would like to start a new translation.
+   Mention that you would like to start a new translation.
   
  
  
@@ -696,7 +696,7 @@
and phpdoc-LANGCODE (using the 
phpdoc-LANGCODE-dir alias) as
described in the CVS chapter
-   of this howto.
+   of this HOWTO.
   
  
  
@@ -716,7 +716,7 @@
revision
tracking for help about
how can you ease your work of tracking the English
-   versions, and your languages versions.
+   version and your language's version.
   
  
 
@@ -752,15 +752,15 @@
 If you see that a manual for your language is set
 up, and you would like to join the group, please
 ask on the appropriate mailing
-list about who is responsible to manage that
+list about who is responsible for managing that
 translation.


 If you are new to the PHP project, and you have no
 CVS account, you need to request
-one account, before you can join the work. Although
+an account before you can join the group. Although
 there are some translations where just a few people have
-CVS accounts, and they are responsible for comitting the
+CVS accounts, and they are responsible for committing the
 other's works, this may not be ideal.

   
@@ -788,7 +788,7 @@
   
Use a system to coordinate with the translators
in your language. Currently we have two systems
-   used paralelly, the Translators files and the
+   used in parallel, the Translators files and the
Revision comments. See the section about
revision
tracking to learn more about this subject.
@@ -833,8 +833,8 @@
made to your language's files, are correct.
You may introduce illegal characters. Please
always do a make
-   test before commiting. Introducing an
-   error in your languages manual can stop the
+   test before committing. Introducing an
+   error in your language's manual can stop the
automatic updates online until you correct the
error.
   
@@ -850,10 +850,10 @@
&url.buildlog.de;.
Substitute "de" with your own language code to
see the information about your manual. This file
-   provides you information about the build times,
+   provides you with information about the build times,
and errors (if there were any). If the manual is
-   not updated online, it is a good idea, to look
-   into this file and see what was the er

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

2003-08-14 Thread dave
> Forget the last patch, this one is much more extensive!

"Oops".

Dave

working.xml.patch
Description: Binary data
-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DOC] [PATCH] phpdoc/howto/working.xml

2003-08-14 Thread dave
Attached is a patch fixing a couple of typos and grammatical mistakes.

Dave

working.xml.patch
Description: Binary data
-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

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

2003-08-14 Thread dave
On Sunday, August 10, 2003, 10:22:31 PM, Gabor wrote:

> Please use "reply all" when replying, so others will also get the mail.

*nod*

>> Can you explain the karma system more or provide a URL? I haven't found
>> much information about it on php.net. The aforementioned URL says
>> nothing about karma, either.

> It's not enough to have a CVS account. The Karma system controls what
> you have write access to (anybody has read access to anything on
> cvs.php.net even without a CVS account). This is to prevent you from
> messing with something you are not supposed to modify. So it can happen
> that you have a CVS account, but still you are unable to commit to
> phpdoc because you have no Karma for that.

Ah, so it's just write access control to certain modules/directories? Now it
all makes sense. When I think of karma, I think of good/bad karma. I
suppose getting access to an extra part of the repository might be
considered increasing your karma in a way. Thanks for the rundown.

> Goba

Dave


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



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

2003-08-14 Thread dave
Forget the last patch, this one is much more extensive!

Dave


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



Re: [PHP-DOC] entity updates for the doc-howto

2003-08-19 Thread Dave
On Wednesday, August 20, 2003 at 1:21:47 AM, Gabor wrote:

>> On 30 Jun 2003 Christoph Grottolo mailed to phpdoc and mentioned that
>> the URL http://toye.php.net/ is not reachable using the browser.
>> 
>> While i was browsing though the docs on http://www.php.net/manual/howto/
>> i saw links which point to http://toye.php.net/~rasmus/status.php and
>> http://toye.php.net/~rasmus/status.php?l=hu which of course are dead.
>> 
>> So basically the url.status and url.status.hu entities need an update.
>> But as i don't know where Rasmus's status checking script is currently
>> located, i can't make any sensible changes to the file to fix this.
>> 
>> Anybody knows about this script and it's location?

> IMHO nobody changed it because noone knows where it is, or if is exists 
> at all. Rasmus?

> Goba

It appears to be a dns or virtualhost problem, because:

http://pb1.pair.com/~rasmus/status.php

appears to work.



Dave


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



[PHP-DOC] Big Commits

2003-09-29 Thread Dave
Hey everyone!

As you may be aware, the PHP manual has a lot of typographical errors
in it. I plan on fixing a lot of the commonly misspelled ones, but I
will be modifying ~40 files or so. Is it okay to commit them all at
the same time, or should I spread them out somehow? I'm not sure where
phpdoc stands on doing "big commits".

Thanks

Dave


Re: [PHP-DOC] Big Commits

2003-09-30 Thread Dave
On Tuesday, September 30, 2003 at 10:01:18 AM, Dave wrote:

> Hey everyone!

> As you may be aware, the PHP manual has a lot of typographical errors
> in it. I plan on fixing a lot of the commonly misspelled ones, but I
> will be modifying ~40 files or so. Is it okay to commit them all at
> the same time, or should I spread them out somehow? I'm not sure where
> phpdoc stands on doing "big commits".

Okay, it's done! However, the CVS system failed to send the email to
this group. I suspect this may have something to do with it:

(reason: 552 sorry, that message size exceeds my databytes limit (#5.3.4))

This happened when I tried attaching the diff -u of phpdoc/en I
created before committing. If you were interested, you can grab the
diff from http://dave.dapond.com/typo.diff.txt

I guess this is one reason against big commits! The total count was 61
files.

Dave


[PHP-DOC] cvs username/password

2003-10-14 Thread Dave
Hey everyone

Was just wondering whether I was the only one experiencing problems
logging into http://master.php.net/manage/users.php or
http://bugs.php.net ? It's been almost a month since I received my CVS
account and rn2.php.net is still denying me access (master.* and bugs.*
are both on rn2.*). My CVS access works fine, but I can't change my
information on users.php, or use the Developer tab on bugs.php.net,
which is somewhat annoying. I emailed [EMAIL PROTECTED] a couple of weeks
ago about this, but have still not received a reply.

Does anyone know what's up with this issue? Looking at the source code
in php-master-web, it seems rn2.* might be using a local copy of the
CVSROOT/passwd file. Is it just a matter of copying this file from
cvs.php.net (pb11.*) to rn2.*?

Thanks

Dave


[PHP-DOC] #26539 [Opn->Csd]: array_search manual missing info

2003-12-15 Thread dave
 ID:   26539
 Updated by:   [EMAIL PROTECTED]
 Reported By:  blakjak at blakjak dot sytes dot net
-Status:   Open
+Status:   Closed
 Bug Type: Documentation problem
 Operating System: Debian Linux
 PHP Version:  4.3.3
 New Comment:

This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:


[2003-12-06 06:38:58] blakjak at blakjak dot sytes dot net

Description:

The manual page for array_search() does not say how the function
behaves when there are multiple instances of the value "needle" in
"haystack".  Which of the matching values' keys is returned?

It's most likely that the first matching instance (searching from the
beginning of the array) is the one returned, but this should still be
explained in the documentation.






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


[PHP-DOC] #26486 [Opn->Csd]: socket_create Constats missing

2003-12-15 Thread dave
 ID:   26486
 Updated by:   [EMAIL PROTECTED]
 Reported By:  nunoplopes at sapo dot pt
-Status:   Open
+Status:   Closed
 Bug Type: Documentation problem
 Operating System: n/a
 PHP Version:  Irrelevant
 New Comment:

The SOL_TCP and SOL_UDP constants are listed in the paragraph above the
table. The "names" in the table are strings you use with
getprotobyname() (as the paragraph explains). I have, however, changed
that 0 in the example to SOL_TCP for clarity. Thanks for pointing this
out!


Previous Comments:


[2003-12-02 10:08:48] nunoplopes at sapo dot pt

You may apply these patches:

Index: reference.xml
===
RCS file: /repository/phpdoc/en/reference/sockets/reference.xml,v
retrieving revision 1.11
diff -u -r1.11 reference.xml
--- reference.xml   16 Aug 2003 18:59:12 -  1.11
+++ reference.xml   2 Dec 2003 15:05:45 -
@@ -190,7 +190,7 @@
 $address = gethostbyname ('www.example.com');

 /* Create a TCP/IP socket. */
-$socket = socket_create (AF_INET, SOCK_STREAM, 0);
+$socket = socket_create (AF_INET, SOCK_STREAM, SOL_TCP);
 if ($socket < 0) {
 echo "socket_create() failed: reason: " . socket_strerror
($socket) . "\n";

 } else {


and:
Index: socket-create.xml
===
RCS file:
/repository/phpdoc/en/reference/sockets/functions/socket-create.xml,v
retrieving revision 1.6
diff -u -r1.6 socket-create.xml
--- socket-create.xml   22 Jun 2003 19:43:21 -  1.6
+++ socket-create.xml   2 Dec 2003 15:10:03 -
@@ -142,7 +142,7 @@

   
   
-   udp
+   SOL_UDP

 The User Datagram Protocol is a connectionless, unreliable,
 protocol with fixed record lengths. Due to these aspects, UDP
@@ -150,7 +150,7 @@

   
 
-   tcp
+   SOL_TCP

 The Transmission Control Protocol is a reliable, connection
based,
 stream oriented, full duplex protocol. TCP guarantees that all
data packets


-
I don't know the constant for icmp. maybe its SOL_SOCKET??



[2003-12-01 08:02:34] nunoplopes at sapo dot pt

Description:

In socket_create manual entry and in table 3 (common protocls) you only
say the name of the protocols and you missed the constants.
Instead of tcp, you should write SOL_TCP.

In sockets' main page, you should alter the following line:
$socket = socket_create (AF_INET, SOCK_STREAM, 0);

to

$socket = socket_create (AF_INET, SOCK_STREAM, SOL_TCP);






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


[PHP-DOC] #26429 [Opn]: Documentation for $_SERVER["SCRIPT_FILENAME"] incorrect

2003-12-15 Thread dave
 ID:   26429
 Updated by:   [EMAIL PROTECTED]
 Reported By:  skissane at ics dot mq dot edu dot au
 Status:   Open
 Bug Type: Documentation problem
 Operating System: Linux
 PHP Version:  4.3.4
 New Comment:

Rasmus: The documentation already states that you can't trust the
$_SERVER values: "There is no guarantee that every webserver will
provide any of these; servers may omit some, or provide others not
listed here."

However, skissane is correct. SCRIPT_FILENAME does return the relative
path in the CLI version. The question is, should the code be fixed to
make it absolute, or should the documentation have a note appended
saying that it's not absolute in the CLI version?


Previous Comments:


[2003-11-27 01:48:21] skissane at ics dot mq dot edu dot au

rasmus wrote:
"The docs should be modified to reflect the fact that all server
variables except PHP_SELF, argc and argv are set by the web server and
PHP has absolutely no control over their values"

Not true -- As I said, I am using PHP-CLI. No webserver involved at
all. Of course PHP has control over them all when running using the CLI
sapi (excluding of course any brought in from the environment...)



[2003-11-26 23:55:14] [EMAIL PROTECTED]

The docs should be modified to reflect the fact that all server
variables except PHP_SELF, argc and argv are set by the web server and
PHP has absolutely no control over their values.  While Apache sets
them to one thing, another server may set them to another, and there
may be differences between the server module version and the CGI
interface to any of these web servers.



[2003-11-26 23:50:28] skissane at ics dot mq dot edu dot au

Description:

According to the documentation:
'SCRIPT_FILENAME'
The absolute pathname of the currently executing script. 

But, when I do 'echo $_SERVER["SCRIPT_FILENAME"]', using PHP-CLI, I get
a pathname relative to the current directory.

So either the docs are wrong, or the code is buggy (suggest that
documented behaviour is more useful than actual behaviour, hence code
should be changed.)

(Despite what the form forced me to say above, I'm actually using
4.3.4RC1, not 4.3.4, but I hope it makes no difference. Apologies if it
does.)

Reproduce code:
---
Make a directory called foo, under $HOME.
Put this file as test.php in $HOME:
/foo/test.php

Actual result:
--
foo/test.php





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


[PHP-DOC] #25938 [Opn->Bgs]: Get the entire POST data

2003-12-15 Thread dave
 ID:   25938
 Updated by:   [EMAIL PROTECTED]
 Reported By:  nskate at chez dot com
-Status:   Open
+Status:   Bogus
 Bug Type: Documentation problem
 Operating System: *
 PHP Version:  5CVS-2003-10-21 (dev)
 New Comment:

This is bogus, as sniper has said, $HTTP_RAW_POST_DATA and php://input
exist for this purpose.


Previous Comments:


[2003-10-21 15:52:15] [EMAIL PROTECTED]

$HTTP_RAW_POST_DATA and preferred: php://stdin already
exist for this.

A comment from http://www.php.net/variables.external:

"For what I understand, since PHP 4.3 it is possible to access the
content of a POST request (or other methods as well) as an input stream
named php://input, example:

readfile("php://input");   
[to display it]

or

$fp = fopen("php://input", "r");   
[to open it and then do whatever you want]

This is very useful to access the content of POST requests which
actually have a content (and not just variable-value couples, which
appear in $_POST).

This substitutes the old $HTTP_RAW_POST_DATA variable available in some
of the previous 4.x versions. It is available for other upload methods
different from POST too, but it is not available for POSTs with
multipart/form-data content type, since the file upload handler has
already taken care of the content in that case."



[2003-10-21 12:25:04] nskate at chez dot com

Description:

This whould be great if we could see all data sent by POST method in a
var like $_SERVER['CONTENT_DATA'].






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


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

2003-12-16 Thread Dave
On Tuesday, December 16, 2003, 8:26:34 PM, Mehdi wrote:

> didou Tue Dec 16 04:26:34 2003 EDT

>   Modified files:  
> /phpdoc/en/reference/array/functions  array-search.xml 
>   Log:
>   parse error ;)
  
> Index: phpdoc/en/reference/array/functions/array-search.xml
> diff -u phpdoc/en/reference/array/functions/array-search.xml:1.6
> phpdoc/en/reference/array/functions/array-search.xml:1.7
> --- phpdoc/en/reference/array/functions/array-search.xml:1.6  Mon Dec 15 14:16:05 
> 2003
> +++ phpdoc/en/reference/array/functions/array-search.xml  Tue Dec 16 04:26:34 
> 2003
> @@ -1,5 +1,5 @@
>  
> -
> +
>  
>
> 
> @@ -55,8 +55,8 @@
>$array = array(0 => "blue", 1 => "red", 2 => "green", 3 => "red");
 
> -$key = array_search($array, "green")); // $key = 2;
> -$key = array_search($array, "red"));   // $key = 1;
> +$key = array_search($array, "green"); // $key = 2;
> +$key = array_search($array, "red");   // $key = 1;
>  ?>
>  ]]>
>

Heh, oops. Thanks for fixing that. Originally I was using var_dump()
to test it, before changing it to $key = for the example, and forgot
to remove the extra parantheses.

Dave


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

2003-12-16 Thread Dave
On Wednesday, December 17, 2003, 4:55:01 AM, Nuno wrote:

> +  
> +   
> +  
> +  
> +   The above example will output:
> +  
> +  
> +   >
> +  
> + 
> +

Note that  also needs no spaces
before it. Also, the examples/screen outputs shouldn't be aligned to
the XML either (think of them as within  tags, where whitespace
counts), so your example should be:


  

  


Look at some other examples if you need to. HTH.

Dave


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

2003-12-16 Thread Dave
daveTue Dec 16 13:19:12 2003 EDT

  Modified files:  
/phpdoc/en/reference/mime_magic configure.xml 
  Log:
  WS
  
  
Index: phpdoc/en/reference/mime_magic/configure.xml
diff -u phpdoc/en/reference/mime_magic/configure.xml:1.5 
phpdoc/en/reference/mime_magic/configure.xml:1.6
--- phpdoc/en/reference/mime_magic/configure.xml:1.5Mon Jun  9 07:41:31 2003
+++ phpdoc/en/reference/mime_magic/configure.xmlTue Dec 16 13:19:12 2003
@@ -1,5 +1,5 @@
 
-
+
 
  &reftitle.install;
  
@@ -31,9 +31,9 @@

 Setting the path to magic.mime
 
- 
+
 

Remember to substitute the $PHP_INSTALL_DIR for your actual


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

2003-12-16 Thread Dave
daveTue Dec 16 13:19:44 2003 EDT

  Modified files:  
/phpdoc/en/reference/mime_magic configure.xml 
  Log:
  - Put the example in a para, and fix a typo.
  
  
Index: phpdoc/en/reference/mime_magic/configure.xml
diff -u phpdoc/en/reference/mime_magic/configure.xml:1.6 
phpdoc/en/reference/mime_magic/configure.xml:1.7
--- phpdoc/en/reference/mime_magic/configure.xml:1.6Tue Dec 16 13:19:12 2003
+++ phpdoc/en/reference/mime_magic/configure.xmlTue Dec 16 13:19:43 2003
@@ -1,5 +1,5 @@
 
-
+
 
  &reftitle.install;
  
@@ -27,15 +27,17 @@
   Note to Win32 Users
   
In order to use this module on a Windows environment, you must set the path
-   to the bundeld magic.mime file in your &php.ini;.
-   
-Setting the path to magic.mime
-
+   to the bundled magic.mime file in your &php.ini;.
+   
+
+ Setting the path to magic.mime
+ 
 
-
-   
+ 
+
+   
Remember to substitute the $PHP_INSTALL_DIR for your actual
path to PHP in the above example. e.g.
   c:\php


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

2003-12-16 Thread Dave
daveTue Dec 16 13:32:50 2003 EDT

  Modified files:  
/phpdoc/en/reference/mime_magic configure.xml 
  Log:
  - Oops!
  
  
Index: phpdoc/en/reference/mime_magic/configure.xml
diff -u phpdoc/en/reference/mime_magic/configure.xml:1.7 
phpdoc/en/reference/mime_magic/configure.xml:1.8
--- phpdoc/en/reference/mime_magic/configure.xml:1.7Tue Dec 16 13:19:43 2003
+++ phpdoc/en/reference/mime_magic/configure.xmlTue Dec 16 13:32:50 2003
@@ -1,5 +1,5 @@
 
-
+
 
  &reftitle.install;
  
@@ -28,16 +28,18 @@
   
In order to use this module on a Windows environment, you must set the path
to the bundled magic.mime file in your &php.ini;.
-   
-
- Setting the path to magic.mime
- 
+  
+  
+   
+Setting the path to magic.mime
+
 
- 
-
-   
+
+   
+  
+  
Remember to substitute the $PHP_INSTALL_DIR for your actual
path to PHP in the above example. e.g.
   c:\php


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

2003-12-17 Thread Dave
On Thursday, December 18, 2003, 3:56:38 AM, Nuno wrote:

> +  
> +   The above example will output:
> +  

I think using "will" output here is a bit extreme. It's a random
function, so the numbers are going to change. :)

Maybe you should say it "will output something similiar to", perhaps.

Dave


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

2003-12-18 Thread Dave
daveThu Dec 18 10:08:05 2003 EDT

  Modified files:  
/phpdoc/en/features file-upload.xml 
  Log:
  - Various typos, and some didou-inspired syntax formatting.
  
  
Index: phpdoc/en/features/file-upload.xml
diff -u phpdoc/en/features/file-upload.xml:1.65 phpdoc/en/features/file-upload.xml:1.66
--- phpdoc/en/features/file-upload.xml:1.65 Tue Sep 30 04:33:25 2003
+++ phpdoc/en/features/file-upload.xml  Thu Dec 18 10:08:04 2003
@@ -1,5 +1,5 @@
 
-
+
  
   Handling file uploads
 
@@ -137,7 +137,7 @@


 
- In PHP versions prior 4.1.0 this was named
+ In PHP versions prior to 4.1.0 this was named
  $HTTP_POST_FILES and it's not an 
  autoglobal 
  variable like $_FILES is.  PHP 3 does not 
@@ -176,12 +176,12 @@
  
 
 

@@ -488,7 +488,7 @@
 client.  You would probably want to perform some checks and/or
 authenticate the user before performing this file copy.  The only
 trick here is that when PHP sees a PUT-method request it stores
-the uploaded file in a temporary file just like those handled but
+the uploaded file in a temporary file just like those handled by
 the POST-method.
 When the request ends, this temporary file is deleted.  So, your


Re: [PHP-DOC] Xmas typos done

2003-12-19 Thread Dave
On Saturday, December 20, 2003, 2:58:30 AM, Jakub wrote:

> Xmas typos hunting is done. About 300 hundred typos were corrected.
> The most common error was in word "occured" and similar words. The
> correct form is "occurred" (double R).

> I used command-line tool aspell for this work with some pre- and
> post-processing. I will publish used script along the list of correct
> words unknown to aspell.

> Happy holiday!

> Jakub Vrana

Neat. :)

I did a typo commit a couple of months ago, using various websites
that listed many typos from usenet and the like. You can see my commit
at http://dave.dapond.com/typo.diff.txt

DOWN WITH TYPOS! :)

Dave


Re: [PHP-DOC] bad urls

2003-12-19 Thread Dave
On Saturday, December 20, 2003, 5:15:49 AM, Nuno wrote:

> I've noticed that there are two urls in global.ent that their domain has
> expired:
> url.openasp: http://www.activescripting.org/
> url.palm.doc: http://www.aportis.com/

> You may buy aportis.com for "just" $14000 :)

> Google cache doesn't have these pages anymore. Somebody has to
> remove/replace these references


> Nuno

Only $14,000? Quick, let's buy it! What a bargain! :)

Maybe we should make a script that periodically checks the URL
entities, like how the mirrors are checked. Thoughts?

Dave


Re: [PHP-DOC] bad urls

2003-12-19 Thread Dave
On Saturday, December 20, 2003, 5:21:51 AM, Nuno wrote:


>> Maybe we should make a script that periodically checks the URL
>> entities, like how the mirrors are checked. Thoughts?


> scripts/checkent.php

This script is okay, but it isn't very intelligent. Something that
detects 404's and detects changed content, would be ideal. Say a
cybersquatter takes over an entity URL, this script wouldn't detect
it.

Dave


[PHP-DOC] cvs: phpdoc /en/faq installation.xml using.xml /en/reference/errorfunc ini.xml /en/reference/filesystem/functions file.xml /en/reference/ifx/functions ifx-htmltbl-result.xml ifx-query.xml /en/reference/ming/functions swfmovie.setbackground.xml /en/reference/pcre/functions preg-replace.xml /en/reference/sesam/functions sesam-query.xml /en/reference/session ini.xml /en/reference/strings/functions html-entity-decode.xml /en/security index.xml

2003-12-20 Thread Dave
daveSat Dec 20 20:05:44 2003 EDT

  Modified files:  
/phpdoc/en/faq  installation.xml using.xml 
/phpdoc/en/reference/errorfunc  ini.xml 
/phpdoc/en/reference/filesystem/functions   file.xml 
/phpdoc/en/reference/ifx/functions  ifx-htmltbl-result.xml 
ifx-query.xml 
/phpdoc/en/reference/ming/functions swfmovie.setbackground.xml 
/phpdoc/en/reference/pcre/functions preg-replace.xml 
/phpdoc/en/reference/sesam/functionssesam-query.xml 
/phpdoc/en/reference/sessionini.xml 
/phpdoc/en/reference/strings/functions  html-entity-decode.xml 
/phpdoc/en/security index.xml 
  Log:
  - html -> HTML where appropriate.
  
  Index: phpdoc/en/faq/installation.xml
diff -u phpdoc/en/faq/installation.xml:1.24 phpdoc/en/faq/installation.xml:1.25
--- phpdoc/en/faq/installation.xml:1.24 Fri Jul 18 15:16:58 2003
+++ phpdoc/en/faq/installation.xml  Sat Dec 20 20:05:37 2003
@@ -1,5 +1,5 @@
 
-
+
  
   Installation
   Installation
@@ -319,7 +319,7 @@
   php -i. If PHP has any problems running,
   then a suitable error message will be displayed which will
   give you a clue as to what needs to be done next. If you
-  get a screen full of html codes (the output of the
+  get a screen full of HTML codes (the output of the
   phpinfo function) then PHP is working,
   and your problem may be related to your server configuration
   which you should double check.
@@ -371,7 +371,7 @@
   php -i. If PHP has any problems running,
   then a suitable error message will be displayed which will
   give you a clue as to what needs to be done next. If you
-  get a screen full of html codes (the output of the
+  get a screen full of HTML codes (the output of the
   phpinfo function) then PHP is working.
  
  
Index: phpdoc/en/faq/using.xml
diff -u phpdoc/en/faq/using.xml:1.27 phpdoc/en/faq/using.xml:1.28
--- phpdoc/en/faq/using.xml:1.27Fri Sep 26 12:56:58 2003
+++ phpdoc/en/faq/using.xml Sat Dec 20 20:05:37 2003
@@ -1,5 +1,5 @@
 
-
+
 
   Using PHP
   Using PHP
@@ -247,8 +247,8 @@
 
 
  
-  Netscape is more strict regarding html tags (such as tables) then 
-  IE.  Running your html output through a html validator, such as 
+  Netscape is more strict regarding HTML tags (such as tables) then 
+  IE.  Running your HTML output through a HTML validator, such as 
   validator.w3.org, might 
   be helpful.  For example, a missing </table> might cause this.
  
Index: phpdoc/en/reference/errorfunc/ini.xml
diff -u phpdoc/en/reference/errorfunc/ini.xml:1.17 
phpdoc/en/reference/errorfunc/ini.xml:1.18
--- phpdoc/en/reference/errorfunc/ini.xml:1.17  Thu Dec 11 12:15:43 2003
+++ phpdoc/en/reference/errorfunc/ini.xml   Sat Dec 20 20:05:37 2003
@@ -1,5 +1,5 @@
 
-
+
 
  &reftitle.runtime;
  &extension.runtime;
@@ -290,7 +290,7 @@
 
 
  
-  Turn off HTML tags in error messages. The new format for html errors
+  Turn off HTML tags in error messages. The new format for HTML errors
   produces clickable messages that direct the user to a page describing
   the error or function in causing the error. These references are
   affected by
Index: phpdoc/en/reference/filesystem/functions/file.xml
diff -u phpdoc/en/reference/filesystem/functions/file.xml:1.12 
phpdoc/en/reference/filesystem/functions/file.xml:1.13
--- phpdoc/en/reference/filesystem/functions/file.xml:1.12  Mon Dec 15 11:49:45 
2003
+++ phpdoc/en/reference/filesystem/functions/file.xml   Sat Dec 20 20:05:38 2003
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -35,7 +35,7 @@
 // the HTML source of a URL.
 $lines = file('http://www.example.com/');
 
-// Loop through our array, show html source as html source; and line numbers too.
+// Loop through our array, show HTML source as HTML source; and line numbers too.
 foreach ($lines as $line_num => $line) {
 echo "Line #{$line_num} : " . htmlspecialchars($line) . "\n";
 }
Index: phpdoc/en/reference/ifx/functions/ifx-htmltbl-result.xml
diff -u phpdoc/en/reference/ifx/functions/ifx-htmltbl-result.xml:1.5 
phpdoc/en/reference/ifx/functions/ifx-htmltbl-result.xml:1.6
--- phpdoc/en/reference/ifx/functions/ifx-htmltbl-result.xml:1.5Mon Dec 15 
11:50:39 2003
+++ phpdoc/en/reference/ifx/functions/ifx-htmltbl-result.xmlSat Dec 20 20:05:39 
2003
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -20,7 +20,7 @@
 
 
  Formats all rows of the result_id query
- into a html table. The optional second argument is a string of
+ into a HTML table. The optional second argument is a string of
  <table> tag options
 
 
Index: phpdoc/en/reference/ifx/functions/ifx-query.xml
diff -u phpdoc/en/reference/ifx/functions/ifx-query.xml:1.6 
phpdoc/en/reference/ifx/functions/ifx-query.xml:1.7
--- phpdoc/en/reference/ifx/functions/

[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-20 Thread Dave
daveSat Dec 20 20:23:02 2003 EDT

  Modified files:  
/phpdoc/en/chapters config.xml install.configure.misc.xml 
install.iis.xml install.iplanet.xml 
install.xitami.xml 
/phpdoc/en/features commandline.xml 
/phpdoc/en/language expressions.xml 
/phpdoc/en/reference/com/functions  class.com.xml 
/phpdoc/en/reference/cpdf/functions cpdf-place-inline-image.xml 
/phpdoc/en/reference/dbareference.xml 
/phpdoc/en/reference/http/functions headers-sent.xml 
/phpdoc/en/reference/imap/functions imap-mail.xml 
/phpdoc/en/reference/info   constants.xml 
/phpdoc/en/reference/info/functions phpinfo.xml 
/phpdoc/en/reference/ming   configure.xml 
/phpdoc/en/reference/ming/functions swfdisplayitem.rotateto.xml 
/phpdoc/en/reference/mnogosearch/functions  udm-set-agent-param.xml 
/phpdoc/en/reference/printer/functions  printer-open.xml 
/phpdoc/en/reference/pspell/functions   pspell-config-personal.xml 
pspell-config-repl.xml 
/phpdoc/en/reference/sesam  reference.xml 
/phpdoc/en/reference/sesam/functionssesam-fetch-row.xml 
sesam-field-array.xml 
sesam-settransaction.xml 
/phpdoc/en/security index.xml 
  Log:
  - php -> PHP where appropriate.
  
  Index: phpdoc/en/chapters/config.xml
diff -u phpdoc/en/chapters/config.xml:1.112 phpdoc/en/chapters/config.xml:1.113
--- phpdoc/en/chapters/config.xml:1.112 Sun Oct 19 07:57:47 2003
+++ phpdoc/en/chapters/config.xml   Sat Dec 20 20:22:45 2003
@@ -1,5 +1,5 @@
 
-
+
  
   Runtime Configuration
 
@@ -1050,7 +1050,7 @@
  non-empty. If PHP is configured with &safemode;, no files outside
  this directory are served.
  If PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
- if you are running php as a CGI under any web server (other than IIS)
+ if you are running PHP as a CGI under any web server (other than IIS)
  The alternative is to use the 
  cgi.force_redirect configuration below.
 
Index: phpdoc/en/chapters/install.configure.misc.xml
diff -u phpdoc/en/chapters/install.configure.misc.xml:1.11 
phpdoc/en/chapters/install.configure.misc.xml:1.12
--- phpdoc/en/chapters/install.configure.misc.xml:1.11  Wed May 14 08:00:02 2003
+++ phpdoc/en/chapters/install.configure.misc.xml   Sat Dec 20 20:22:46 2003
@@ -1,5 +1,5 @@
 
-
+
  
   Misc options
   
@@ -81,7 +81,7 @@
 
 
  
-  Include experimental php streams. Do not use unless you are testing the 
+  Include experimental PHP streams. Do not use unless you are testing the 
 code!
  
 
Index: phpdoc/en/chapters/install.iis.xml
diff -u phpdoc/en/chapters/install.iis.xml:1.5 phpdoc/en/chapters/install.iis.xml:1.6
--- phpdoc/en/chapters/install.iis.xml:1.5  Mon Jan 20 13:11:52 2003
+++ phpdoc/en/chapters/install.iis.xml  Sat Dec 20 20:22:46 2003
@@ -1,5 +1,5 @@
 
-
+
   
Servers-IIS/PWS

@@ -82,7 +82,7 @@
 
 
  The following steps do not affect the web server installation
- and only apply if you want your php scripts to be executed when
+ and only apply if you want your PHP scripts to be executed when
  they are run from the command line (ex. run
  c:\myscripts\test.php) or by double clicking
  on them in a directory viewer window. You may wish to skip these
@@ -284,7 +284,7 @@
 performance penalty, IIS (or PWS) will check that the script
 file exists and sort out authentication before firing up php.
 This means that you will get sensible 404 style error messages
-instead of cgi errors complaining that php did not output any data.
+instead of cgi errors complaining that PHP did not output any data.


 You must start over from the previous step for each
Index: phpdoc/en/chapters/install.iplanet.xml
diff -u phpdoc/en/chapters/install.iplanet.xml:1.11 
phpdoc/en/chapters/install.iplanet.xml:1.12
--- phpdoc/en/chapters/install.iplanet.xml:1.11 Fri Dec 12 14:56:02 2003
+++ phpdoc/en/chapters/install.iplanet.xml  Sat Dec 20 20:22:46 2003
@@ -1,5 +1,5 @@
 
-
+
   
Servers-Netscape, iPlanet and SunONE

@@ -259,7 +259,7 @@
  
  
   
-   Do it for each web server instance you want php to run
+   Do it for each web server instance you want PHP to run
   
  
 
Index: phpdoc/en/chapters/install.xitami.xml
diff -u phpdoc/en/chapters/install.xitami.xml:1.4 
phpdoc/en/chapters/install.xitami.xml:1.5
--- phpdoc/en/chapters/install.xitami.xml:1.4   Thu Jun 26 05:56:21 2003
+++ phpdoc/en/chapters/install.xitami.xml   Sat Dec 20 20:22:46 2003
@@ -1,5 +1,5 @@
 
-
+
   
Servers-Xitami

@@ -43,7 +43,7 @@
   

 In Filter command or script put the path a

[PHP-DOC] cvs: phpdoc /en/reference/domxml/functions DomNode-append-child.xml DomNode-append-sibling.xml domxml-open-file.xml domxml-open-mem.xml domxml-xslt-stylesheet-file.xml domxml-xslt-stylesheet.xml /en/reference/qtdom/functions qdom-tree.xml /en/reference/xml/functions xml-parse-into-struct.xml /en/reference/xslt/functions xslt-create.xml xslt-process.xml

2003-12-20 Thread Dave
daveSat Dec 20 22:17:54 2003 EDT

  Modified files:  
/phpdoc/en/reference/domxml/functions   DomNode-append-child.xml 
DomNode-append-sibling.xml 
domxml-open-file.xml 
domxml-open-mem.xml 
domxml-xslt-stylesheet-file.xml 
domxml-xslt-stylesheet.xml 
/phpdoc/en/reference/qtdom/functionsqdom-tree.xml 
/phpdoc/en/reference/xml/functions  xml-parse-into-struct.xml 
/phpdoc/en/reference/xslt/functions xslt-create.xml 
xslt-process.xml 
  Log:
  - xml -> XML, xsl -> XSL, and xslt -> XSLT where appropriate.
  
  Index: phpdoc/en/reference/domxml/functions/DomNode-append-child.xml
diff -u phpdoc/en/reference/domxml/functions/DomNode-append-child.xml:1.7 
phpdoc/en/reference/domxml/functions/DomNode-append-child.xml:1.8
--- phpdoc/en/reference/domxml/functions/DomNode-append-child.xml:1.7   Mon Dec 15 
13:42:07 2003
+++ phpdoc/en/reference/domxml/functions/DomNode-append-child.xml   Sat Dec 20 
22:17:52 2003
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -26,7 +26,7 @@
  child is a completely new copy which can be modified without changing the
  node which was passed to this function. If the node passed has children
  itself, they will be duplicated as well, which makes it quite easy to
- duplicate large parts of a xml document. The return value is the
+ duplicate large parts of an XML document. The return value is the
  appended child. If you plan to do further modifications on the appended
  child you must use the returned node.
 
@@ -39,7 +39,7 @@
  (PHP >= 4.3.2)  The new child newnode is first 
  unlinked from its existing context, if it's already in the tree. Therefore
  the node is moved and not copied. This is the behaviour  according to the
- W3C specifications. If you want to duplicate large parts of a xml document,
+ W3C specifications. If you want to duplicate large parts of an XML document,
  use DomNode->clone_node() before appending.
 
 
Index: phpdoc/en/reference/domxml/functions/DomNode-append-sibling.xml
diff -u phpdoc/en/reference/domxml/functions/DomNode-append-sibling.xml:1.3 
phpdoc/en/reference/domxml/functions/DomNode-append-sibling.xml:1.4
--- phpdoc/en/reference/domxml/functions/DomNode-append-sibling.xml:1.3 Sat Jan 18 
18:03:18 2003
+++ phpdoc/en/reference/domxml/functions/DomNode-append-sibling.xml Sat Dec 20 
22:17:52 2003
@@ -1,5 +1,5 @@
 
-
+
   

 DomNode->append_sibling
@@ -25,7 +25,7 @@
  child is a completely new copy which can be modified without changing the
  node which was passed to this function. If the node passed has children
  itself, they will be duplicated as well, which makes it quite easy to
- duplicate large parts of a xml document. The return value is the
+ duplicate large parts of an XML document. The return value is the
  added sibling. If you plan to do further modifications on the added
  sibling you must use the returned node.
 
Index: phpdoc/en/reference/domxml/functions/domxml-open-file.xml
diff -u phpdoc/en/reference/domxml/functions/domxml-open-file.xml:1.3 
phpdoc/en/reference/domxml/functions/domxml-open-file.xml:1.4
--- phpdoc/en/reference/domxml/functions/domxml-open-file.xml:1.3   Mon Dec 15 
11:48:51 2003
+++ phpdoc/en/reference/domxml/functions/domxml-open-file.xml   Sat Dec 20 22:17:52 
2003
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -20,7 +20,7 @@
 
 
  
-  Opening a xml document from a file
+  Opening an XML document from a file
   
 

[PHP-DOC] cvs: phpdoc /en/appendices debugger.xml transports.xml /en/chapters config.xml install.iplanet.xml install.unix.xml streams.common.xml streams.socket.xml /en/faq build.xml databases.xml general.xml installation.xml /en/features commandline.xml /en/reference/calendar/functions easter-date.xml easter-days.xml jdtounix.xml unixtojd.xml /en/reference/curl/functions curl-setopt.xml /en/reference/datetime/functions gmmktime.xml microtime.xml mktime.xml strftime.xml strtotime.xml time.xml /en/reference/dbplus reference.xml /en/reference/errorfunc ini.xml /en/reference/filesystem/functions chmod.xml fnmatch.xml linkinfo.xml stat.xml /en/reference/ftp/functions ftp-mdtm.xml ftp-systype.xml /en/reference/http/functions setcookie.xml /en/reference/ibase/functions ibase-fetch-assoc.xml ibase-fetch-object.xml ibase-fetch-row.xml /en/reference/info/functions dl.xml /en/reference/ming configure.xml /en/reference/ming/functions swfaction.xml /en/reference/mnogosearch/functions udm-set-agent-param.xml /en/reference/nsapi/functions nsapi-virtual.xml /en/reference/oracle/functions ora-error.xml /en/reference/sem reference.xml /en/reference/session reference.xml /en/reference/shmop reference.xml /en/reference/sockets reference.xml /en/reference/sockets/functions socket-connect.xml socket-getpeername.xml socket-getsockname.xml /en/reference/stream/functions stream-socket-client.xml stream-socket-server.xml /en/reference/xslt configure.xml

2003-12-20 Thread Dave
daveSat Dec 20 23:22:01 2003 EDT

  Modified files:  
/phpdoc/en/appendices   debugger.xml transports.xml 
/phpdoc/en/chapters config.xml install.iplanet.xml install.unix.xml 
streams.common.xml streams.socket.xml 
/phpdoc/en/faq  build.xml databases.xml general.xml installation.xml 
/phpdoc/en/features commandline.xml 
/phpdoc/en/reference/calendar/functions easter-date.xml 
easter-days.xml 
jdtounix.xml unixtojd.xml 
/phpdoc/en/reference/curl/functions curl-setopt.xml 
/phpdoc/en/reference/datetime/functions gmmktime.xml microtime.xml 
mktime.xml strftime.xml 
strtotime.xml time.xml 
/phpdoc/en/reference/dbplus reference.xml 
/phpdoc/en/reference/errorfunc  ini.xml 
/phpdoc/en/reference/filesystem/functions   chmod.xml fnmatch.xml 
linkinfo.xml stat.xml 
/phpdoc/en/reference/ftp/functions  ftp-mdtm.xml ftp-systype.xml 
/phpdoc/en/reference/http/functions setcookie.xml 
/phpdoc/en/reference/ibase/functionsibase-fetch-assoc.xml 
ibase-fetch-object.xml 
ibase-fetch-row.xml 
/phpdoc/en/reference/info/functions dl.xml 
/phpdoc/en/reference/ming   configure.xml 
/phpdoc/en/reference/ming/functions swfaction.xml 
/phpdoc/en/reference/mnogosearch/functions  udm-set-agent-param.xml 
/phpdoc/en/reference/nsapi/functionsnsapi-virtual.xml 
/phpdoc/en/reference/oracle/functions   ora-error.xml 
/phpdoc/en/reference/semreference.xml 
/phpdoc/en/reference/sessionreference.xml 
/phpdoc/en/reference/shmop  reference.xml 
/phpdoc/en/reference/socketsreference.xml 
/phpdoc/en/reference/sockets/functions  socket-connect.xml 
socket-getpeername.xml 
socket-getsockname.xml 
/phpdoc/en/reference/stream/functions   stream-socket-client.xml 
stream-socket-server.xml 
/phpdoc/en/reference/xslt   configure.xml 
  Log:
  - Standardize the Unix acronym. Unix is the preferred capitalization
as UNIX is a registered trademark by the Open Group. References to UNIX
were left in where it made sense, like example outputs, and so forth.
You can read the Trademark User Guide for "UNIX" at:
http://www.unix.org/tmug2.ps or http://www.unix.org/tmug2.pdf
  
  Index: phpdoc/en/appendices/debugger.xml
diff -u phpdoc/en/appendices/debugger.xml:1.25 phpdoc/en/appendices/debugger.xml:1.26
--- phpdoc/en/appendices/debugger.xml:1.25  Wed Jun 25 01:44:36 2003
+++ phpdoc/en/appendices/debugger.xml   Sat Dec 20 23:21:39 2003
@@ -1,5 +1,5 @@
 
-
+
  
   Debugging PHP
 
@@ -47,7 +47,7 @@
  

Set up a TCP listener on that port somewhere (for example
-   socket -l -s 1400 on UNIX).
+   socket -l -s 1400 on Unix systems).
   
  
  
Index: phpdoc/en/appendices/transports.xml
diff -u phpdoc/en/appendices/transports.xml:1.5 phpdoc/en/appendices/transports.xml:1.6
--- phpdoc/en/appendices/transports.xml:1.5 Fri Dec 12 14:56:04 2003
+++ phpdoc/en/appendices/transports.xml Sat Dec 20 23:21:39 2003
@@ -1,5 +1,5 @@
 
-
+
 
  List of Supported Socket Transports
  
@@ -168,7 +168,7 @@
  
 
  
-  Unix Domain: UNIX and UDG
+  Unix Domain: Unix and UDG
   
unix:// since PHP 3, 
udg:// since PHP 5
@@ -181,13 +181,13 @@
 
   
unix:// provides access to a socket stream
-   connection in the unix domain. udg:// provides
-   an alternate transport to a unix domain socket using the user datagram
+   connection in the Unix domain. udg:// provides
+   an alternate transport to a Unix domain socket using the user datagram
protocol.
   
 
   
-   Unix Domain sockets, unlike Internet Domain sockets, do not expect
+   Unix domain sockets, unlike Internet domain sockets, do not expect
a port number.  In the case of fsockopen the
portno parameter should be set to 0.
   
Index: phpdoc/en/chapters/config.xml
diff -u phpdoc/en/chapters/config.xml:1.113 phpdoc/en/chapters/config.xml:1.114
--- phpdoc/en/chapters/config.xml:1.113 Sat Dec 20 20:22:45 2003
+++ phpdoc/en/chapters/config.xml   Sat Dec 20 23:21:40 2003
@@ -1,5 +1,5 @@
 
-
+
  
   Runtime Configuration
 
@@ -1010,11 +1010,11 @@
  and fopen_with_path functions look for
  files.  The format is like the system's PATH
  environment variable: a list of directories separated with a
- colon in UNIX or semicolon in Windows.
+ colon in Unix or semicolon in Windows.
 
 
  
-  UN

[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 @@
 
-
+
  
   Migrating from PHP 3 to PHP 4

@@ -34,7 +34,7 @@
  FreeBSD (3.2, 4.0 tested)


-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 @@
 
-
+
 
  Unix/OpenBSD installs
  
@@ -51,7 +51,7 @@
   Using Ports
   
You can also compile up PHP from source using the ports tree.
-   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 @@
 
-
+
  
   Migrating from PHP 3 to PHP 4
   Migrating from PHP 3 to PHP 4
@@ -13,7 +13,7 @@

 
  
-  Migrating from PHP3 to PHP4
+  Migrating from PHP 3 to PHP 4
  
 
 
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 @@
 
-
+
  
   Types
 
@@ -2124,7 +2124,7 @@
 
 
  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 @@
 
-
+
 
  
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 @@
 
-
+
  
   Multi-Byte String Functions 
   Multi-Byte String
@@ -35,7 +35,7 @@
  encoding that works with PHP.
 
 
- PHP4 Character Encoding Requirements 
+ PHP 4 Character Encoding Requirements 
 
 
  
Index: phpdoc/en/reference/mysql/functions/mysql-free-result.xml
diff -u phpdoc/en/reference/mysql/functions/mysql-free-result.xml:1.2 
phpdoc/en/reference/mysql/functions/mysql-free-result.xml:1.3
--- phpdoc/en/reference/mysql/functions/mysql-free-result.xml:1.2   Wed Apr 17 
02:41:12 2002
+++ phpdoc/en/reference/mysql/functions/mysql-free-result.xml   Sun Dec 21 09:42:21 
2003
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -21,7 +21,7 @@
  you are concerned about how much memory is being used for queries
  that return large result sets.  All associated result memory is
  automatically freed at the end of the script's execution.
- 
+ 
 
 
  &return.success;
Index: phpdoc/en/reference/pcre/functions/pcre.pattern.modifiers.xml
diff -u phpdoc/en/reference/pcre/functions/pcre.pattern.modifiers.xml:1.5 
phpdoc/en/refer

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] #35616 [Opn->Csd]: mistake in documentation of CURLOPT_FAILONERROR

2005-12-09 Thread dave
 ID:   35616
 Updated by:   [EMAIL PROTECTED]
 Reported By:  humbads at alum dot mit dot edu
-Status:   Open
+Status:   Closed
 Bug Type: Documentation problem
 Operating System: Windows XP SP2
 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:


[2005-12-09 22:30:37] humbads at alum dot mit dot edu

Description:

In the curl_setopt documentation page, under CURLOPT_FAILONERROR, it
says "TRUE to fail silently if the HTTP code returned is greater than
300..."  It should say "greater than or equal to 400" not "greater than
300".

Expected result:

HTTP status codes >= 400 are errors according to RFC2616:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
  
The option's behavior is correct.  When I ran a simple HTTP GET with
against a page that returns 301 (redirect), with CURLOPT_FAILONERROR
set to true, the error code returned is zero (no error).

If you look in the libcurl documentation of error codes, it says,
"CURLE_HTTP_RETURNED_ERROR (22)  This is returned if
CURLOPT_FAILONERROR is set TRUE and the HTTP server returns an error
code that is >= 400."

http://curl.haxx.se/libcurl/c/libcurl-errors.html

However, if you look in the set_opt function's documentation, it says,
"CURLOPT_FAILONERROR A non-zero parameter tells the library to fail
silently if the HTTP code returned is equal to or larger than 300..."

http://curl.haxx.se/libcurl/c/curl_easy_setopt.html

This is probably wrong.  I have contacted libcurl to update this.







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


[PHP-DOC] #37215 [Opn->Csd]: Grammar correction for language.oop.php page

2006-04-27 Thread dave
 ID:   37215
 Updated by:   [EMAIL PROTECTED]
 Reported By:  bugs at jlevine dot oo dot net
-Status:   Open
+Status:   Closed
 Bug Type: Documentation problem
 Operating System: Windows XP
 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-04-27 06:11:20] bugs at jlevine dot oo dot net

Description:

On the manual page at http://php.net/manual/en/language.oop.php
a part of the text contains a typo.

"Instead, in order to be able to access it's own functions" 
should read:
"Instead, in order to be able to access its own functions"

I would also recommend rephrasing the fragment of the preceding line
from:
"it was unknown that the object will be named $cart or $another_cart
later."
to
"it was unknown whether the object would be named $cart, $another_cart,
or something else later."

Expected result:

Webpage with correct English.

Actual result:
--
Webpage containing typo.





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


[PHP-DOC] #37215 [Csd->Opn]: Grammar correction for language.oop.php page

2006-04-27 Thread dave
 ID:   37215
 Updated by:   [EMAIL PROTECTED]
 Reported By:  bugs at jlevine dot oo dot net
-Status:   Closed
+Status:   Open
 Bug Type: Documentation problem
 Operating System: Windows XP
 PHP Version:  Irrelevant
 New Comment:

Seems I acted a bit early, go ahead Vrana.


Previous Comments:


[2006-04-27 07:26:26] [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-04-27 06:11:20] bugs at jlevine dot oo dot net

Description:

On the manual page at http://php.net/manual/en/language.oop.php
a part of the text contains a typo.

"Instead, in order to be able to access it's own functions" 
should read:
"Instead, in order to be able to access its own functions"

I would also recommend rephrasing the fragment of the preceding line
from:
"it was unknown that the object will be named $cart or $another_cart
later."
to
"it was unknown whether the object would be named $cart, $another_cart,
or something else later."

Expected result:

Webpage with correct English.

Actual result:
--
Webpage containing typo.





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


[PHP-DOC] #37373 [Opn->Asn]: filter.default changed value

2006-05-08 Thread dave
 ID:   37373
 Updated by:   [EMAIL PROTECTED]
 Reported By:  judas dot iscariote at gmail dot com
-Status:   Open
+Status:   Assigned
 Bug Type: Documentation problem
 Operating System: *
 PHP Version:  Irrelevant
-Assigned To:  
+Assigned To:  dave
 New Comment:

As soon as the newsgroups are working again, I will add the filter
changes.


Previous Comments:


[2006-05-08 23:57:14] judas dot iscariote at gmail dot com

Description:

filter extension has chenged the default value of default.filter
setting as well the Filter Configuration Options.






Reproduce code:
---
patch here :

http://www.onfocus.cl/judas/phpdoc/filter-doc.patch

Expected result:

see patch

Actual result:
--
see description.





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


[PHP-DOC] #37373 [Asn]: filter.default changed value

2006-05-08 Thread dave
 ID:   37373
 Updated by:   [EMAIL PROTECTED]
 Reported By:  judas dot iscariote at gmail dot com
 Status:   Assigned
 Bug Type: Documentation problem
 Operating System: *
 PHP Version:  Irrelevant
 Assigned To:  dave
 New Comment:

Before I update the documentation, it seems that FILTER_FLAG_ARRAY does
nothing, and simply reverts to the existing behaviour of using
php_zval_filter_recursive() (which accepts scalar as well as array
types). Was this intended?


Previous Comments:


[2006-05-09 00:02:05] [EMAIL PROTECTED]

As soon as the newsgroups are working again, I will add the filter
changes.



[2006-05-08 23:57:14] judas dot iscariote at gmail dot com

Description:

filter extension has chenged the default value of default.filter
setting as well the Filter Configuration Options.






Reproduce code:
---
patch here :

http://www.onfocus.cl/judas/phpdoc/filter-doc.patch

Expected result:

see patch

Actual result:
--
see description.





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


[PHP-DOC] #37373 [Asn]: filter.default changed value

2006-05-08 Thread dave
 ID:   37373
 Updated by:   [EMAIL PROTECTED]
 Reported By:  judas dot iscariote at gmail dot com
 Status:   Assigned
 Bug Type: Documentation problem
 Operating System: *
 PHP Version:  Irrelevant
 Assigned To:  dave
 New Comment:

Nevermind, I see that the default flag value is SCALAR for
input_get_args(), so setting ARRAY does something meaningful.


Previous Comments:


[2006-05-09 00:34:12] [EMAIL PROTECTED]

Before I update the documentation, it seems that FILTER_FLAG_ARRAY does
nothing, and simply reverts to the existing behaviour of using
php_zval_filter_recursive() (which accepts scalar as well as array
types). Was this intended?



[2006-05-09 00:02:05] [EMAIL PROTECTED]

As soon as the newsgroups are working again, I will add the filter
changes.



[2006-05-08 23:57:14] judas dot iscariote at gmail dot com

Description:

filter extension has chenged the default value of default.filter
setting as well the Filter Configuration Options.






Reproduce code:
---
patch here :

http://www.onfocus.cl/judas/phpdoc/filter-doc.patch

Expected result:

see patch

Actual result:
--
see description.





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


[PHP-DOC] #37373 [Asn->Csd]: filter.default changed value

2006-05-09 Thread dave
 ID:   37373
 Updated by:   [EMAIL PROTECTED]
 Reported By:  judas dot iscariote at gmail dot com
-Status:   Assigned
+Status:   Closed
 Bug Type: Documentation problem
 Operating System: *
 PHP Version:  Irrelevant
 Assigned To:  dave
 New Comment:

I added a changelog entry for the two INI settings. As far as what the
default might be in PHP 6, I don't think we really need to state that
just yet. The extension is still classified as experimental, and the
experimental warning already states "... may change without notice in a
future release of PHP", which I think is sufficient.

As far as managing the docs for stuff in CVS, we usually just document
it as per normal, including version information about the upcoming
release. So, for the INI settings changelog, I said "before Filter
0.9.5", even though 0.9.5 hasn't been released yet.


Previous Comments:


[2006-05-09 18:29:21] [EMAIL PROTECTED]

I changed it in CVS only. I would recommend to document the new
behavior for pecl release and how it would act later in php6.

It is not yet defined which default filter will be used in php6 (likely
"string").

About FILTER_FLAG_ARRAY and FILTER_FLAG_SCALAR, input_get will support
them as well in the next release.

One question, how do you manage the doc for CVS and the various
releases when behaviors change between them?



[2006-05-09 00:59:20] [EMAIL PROTECTED]

Nevermind, I see that the default flag value is SCALAR for
input_get_args(), so setting ARRAY does something meaningful.



[2006-05-09 00:34:12] [EMAIL PROTECTED]

Before I update the documentation, it seems that FILTER_FLAG_ARRAY does
nothing, and simply reverts to the existing behaviour of using
php_zval_filter_recursive() (which accepts scalar as well as array
types). Was this intended?



[2006-05-09 00:02:05] [EMAIL PROTECTED]

As soon as the newsgroups are working again, I will add the filter
changes.



[2006-05-08 23:57:14] judas dot iscariote at gmail dot com

Description:

filter extension has chenged the default value of default.filter
setting as well the Filter Configuration Options.






Reproduce code:
---
patch here :

http://www.onfocus.cl/judas/phpdoc/filter-doc.patch

Expected result:

see patch

Actual result:
--
see description.





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


[PHP-DOC] #37608 [Opn->Csd]: documentation typo on mysqli_stmt_bind_param

2006-05-26 Thread dave
 ID:   37608
 Updated by:   [EMAIL PROTECTED]
 Reported By:  chriswhite at interfuel dot com
-Status:   Open
+Status:   Closed
 Bug Type: Documentation problem
 Operating System: Linux
 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-05-26 22:09:24] chriswhite at interfuel dot com

Description:

Associated link:

http://www.php.net/manual/en/function.mysqli-stmt-bind-param.php

The description for blob transfer reads as follows:

"corresponding variable is a blob and will be send in packets"

this should read:

"corresponding variable is a blob and will be sent in packets"






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


[PHP-DOC] #39109 [Opn->Csd]: Minor whitespace issues after some tags.

2006-10-14 Thread dave
 ID:   39109
 Updated by:   [EMAIL PROTECTED]
 Reported By:  RQuadling at GMail dot com
-Status:   Open
+Status:   Closed
 Bug Type: Documentation problem
 Operating System: Windows XP SP2
 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.

Thanks a lot!


Previous Comments:


[2006-10-10 13:15:21] RQuadling at GMail dot com

More found. 

Files:
Index: appendices/about.xml
Index: features/safe-mode.xml
Index: install/unix/sun.xml
Index: internals/zendapi/arguments.xml
Index: internals/zendapi/calling-user-functions.xml
Index: internals/zendapi/variables.xml
Index: language/control-structures.xml
Index: reference/datetime/functions/date.xml
Index: reference/http/functions/parsers/http-parse-message.xml
Index: reference/hw/functions/hw-new-document.xml
Index: reference/ibase/constants.xml
Index: reference/ibm_db2/functions/db2-bind-param.xml
Index: reference/imap/functions/imap-fetchstructure.xml
Index: reference/mnogosearch/configure.xml
Index: reference/mnogosearch/functions/udm-cat-list.xml
Index: reference/mnogosearch/functions/udm-load-ispell-data.xml
Index: reference/ncurses/functions/ncurses-napms.xml
Index: reference/oci8/functions/oci-bind-array-by-name.xml
Index: reference/oci8/functions/oci-bind-by-name.xml
Index: reference/oci8/functions/oci-field-size.xml
Index: reference/pdf/functions/pdf-get-fontsize.xml
Index: reference/sesam/functions/sesam-fetch-array.xml
Index: reference/swf/functions/swf-defineline.xml
Index: reference/swf/functions/swf-lookat.xml

http://rquadling.php1h.com/whitespace_3.txt

I'll stop now.

Before I get carried away and do some real damage!



[2006-10-10 11:56:05] RQuadling at GMail dot com

More whitespace at http://rquadling.php1h.com/whitespace_2.txt

This time, 

[space].

becomes

.



[2006-10-10 11:38:09] RQuadling at GMail dot com

Description:

Following on from bug#39081, there are several more spaces missing
after a markup tag.

internals/zendapi/calling-user-functions.xml
internals/zendapi/variables.xml
reference/datetime/functions/date.xml
reference/hw/functions/hw-new-document.xml
reference/ibase/constants.xml
reference/imap/functions/imap-fetchstructure.xml
reference/mnogosearch/configure.xml
reference/mnogosearch/functions/udm-cat-list.xml
reference/mnogosearch/functions/udm-load-ispell-data.xml
reference/oci8/functions/oci-bind-array-by-name.xml
reference/oci8/functions/oci-bind-by-name.xml
reference/oci8/functions/oci-field-size.xml
reference/pdf/functions/pdf-get-fontsize.xml
reference/sesam/functions/sesam-fetch-array.xml

A patch is available below and
http://rquadling.php1h.com/whitespace_1.txt

Index: internals/zendapi/calling-user-functions.xml
===
RCS file:
/repository/phpdoc/en/internals/zendapi/calling-user-functions.xml,v
retrieving revision 1.2
diff -u -r1.2 calling-user-functions.xml
--- internals/zendapi/calling-user-functions.xml22 Jan 2006 23:31:08
-   1.2
+++ internals/zendapi/calling-user-functions.xml9 Oct 2006 08:24:58
-
@@ -25,7 +25,7 @@
function_table  and object; either
will do. If you want to call a method, you have to supply the
object that contains this method, in which case
-   call_user_functionautomatically sets the
+   call_user_function automatically sets the
function table to this object's function table. Otherwise, you
only
need to specify function_table and can set
object to NULL.
Index: internals/zendapi/variables.xml
===
RCS file: /repository/phpdoc/en/internals/zendapi/variables.xml,v
retrieving revision 1.4
diff -u -r1.4 variables.xml
--- internals/zendapi/variables.xml 1 Sep 2006 22:59:45 -   1.4
+++ internals/zendapi/variables.xml 9 Oct 2006 08:24:58 -
@@ -999,7 +999,7 @@

 rsrc_id
 This is the address of the
- zval *container the user passed to
+ zval * container the user passed to
  your function, e.g. &z_resource if
  zval *z_resource is given.

Index: reference/datetime/functions/date.xml
===
RCS file:
/repository/phpdoc/en/reference/datetime/functions/date.xml,v
retrieving revision 1.32
diff -u -r1.32 date.xml
--- reference/datetime/functions/date.xml   8 Sep 2006 09:04:09
-   1.32
+++ reference/datetime/functions/date.xml   9 Oct 2006 08:25:00 

[PHP-DOC] #38918 [Opn]: fputcsv() fgetcsv() inconsistency odd number trailing backslashes

2006-10-14 Thread dave
 ID:   38918
 Updated by:   [EMAIL PROTECTED]
 Reported By:  mike at opendns dot com
 Status:   Open
 Bug Type: Documentation problem
 Operating System: Linux, debian sarge
 PHP Version:  5.1.6
 New Comment:

Are you sure this is a documentation problem? RFC 4180 says nothing
about \ characters needing to be escaped, and quotes (") _are_ escaped
properly in fputcsv(). The problem lies with fgetcsv() incorrectly
parsing a single \ at the end of a value (two \'s work, which is
inconsistent at best).


Previous Comments:


[2006-09-25 12:23:21] [EMAIL PROTECTED]

This is expected since "\" is the escape character.
Reclassified as docu problem - fputcsv() does not escape the data, you
have to do it yourself.



[2006-09-22 00:03:09] mike at opendns dot com

Description:

If a string you write to a CSV file with fputcsv() ends with an _odd_
number of backslashes, then when you read it back in with fgetcsv(),
it'll miss the delimeter and combine two elements into one.

Reproduce code:
---
$tmp_file = '/tmp/csv_f_up.tmp';

$data_to_write = array('string ends with _odd_ number of backslashes
\\',"and isn't the last element");

echo "data_to_write:\n";
var_dump($data_to_write);

$h_w = fopen($tmp_file, 'w');
fputcsv($h_w, $data_to_write);
fclose($h_w);

$h_r = fopen($tmp_file, 'r');
$data_read_in = fgetcsv($h_r);
fclose($h_r);

echo "data_read_in:\n";
var_dump($data_read_in);

Expected result:

data_to_write:
array(2) {
  [0]=>
  string(48) "string ends with _odd_ number of backslashes \\\"
  [1]=>
  string(26) "and isn't the last element"
}
data_read_in:
array(2) {
  [0]=>
  string(48) "string ends with _odd_ number of backslashes \\\"
  [1]=>
  string(26) "and isn't the last element"
}
}

Actual result:
--
data_to_write:
array(2) {
  [0]=>
  string(48) "string ends with _odd_ number of backslashes \\\"
  [1]=>
  string(26) "and isn't the last element"
}
data_read_in:
array(1) {
  [0]=>
  string(77) "string ends with _odd_ number of backslashes \\\",and
isn't the last element""
}





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


[PHP-DOC] #38896 [Opn->Csd]: ftok: "should be" must be "must be"

2006-10-14 Thread dave
 ID:  38896
 Updated by:  [EMAIL PROTECTED]
 Reported By: jens dot nistler at media-soma dot de
-Status:  Open
+Status:  Closed
 Bug Type:Documentation problem
 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-09-20 12:41:51] jens dot nistler at media-soma dot de

Description:

"The proj parameter should be a one character string."
must be
"The proj parameter must be a one character string."

otherwise PHP throws a warning:
"Warning: ftok() [function.ftok]: Project identifier is invalid in
/media-soma/dev/webserver/www/shm/index.php5 on line 3"

Reproduce code:
---
ftok('anyfile.test', 'test');

Expected result:

"The proj parameter must be a one character string."

Actual result:
--
"The proj parameter should be a one character string."





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


[PHP-DOC] #38448 [Opn->Csd]: in which version did mysql_list_tables() become deprecated

2006-10-14 Thread dave
 ID:   38448
 Updated by:   [EMAIL PROTECTED]
 Reported By:  voorwiel at gmail dot com
-Status:   Open
+Status:   Closed
 Bug Type: Documentation problem
 Operating System: Windows XP
 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-14 10:43:40] voorwiel at gmail dot com

Description:

The documentation does not mention in which version mysql_list_tables
became deprecated. Can't find it in the changelogs either.






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


[PHP-DOC] #38463 [Opn->Csd]: Order of replacement using array in str_replace not documented

2006-10-14 Thread dave
 ID:   38463
 Updated by:   [EMAIL PROTECTED]
 Reported By:  IFokkema at Ileos dot nl
-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-08-15 08:29:43] IFokkema at Ileos dot nl

Description:

Hi guys,

After a discussion in the list, I've reread the manual page
(http://www.php.net/str_replace) and the comments, checked Google, but
need some confirmation.

When using an array as the search argument in str_replace(), the array
is processed first to last. As expected, but this behaviour is not
documented and therefor not reliable for my project.

$s = "Input\r\nMore input\rSome more\nEtc";
echo str_replace(array("\r\n", "\n", "\r"), '', $s);

This works as expected (putting exactly one  between every line of
input). Related comment on the manual page is from "jr at adslate dot
com (03-Jun-2004 02:52)".

But since it's not documented, I can't rely on this. If the order of
replacement is ever switched, my code stops working properly.

Now I have to do this, to process all OS specific line breaks
correctly:
$s = str_replace("\r\n", "\n", $s);
$s = str_replace("\r", "\n", $s);
echo str_replace("\n", '', $s);

Can you guys please document the order of handling the search array?

Thanks a bunch for all of your work.






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


[PHP-DOC] #38076 [Opn->Csd]: array_slice() always preserve string keys

2006-10-14 Thread dave
 ID:   38076
 Updated by:   [EMAIL PROTECTED]
 Reported By:  develar at gmail dot com
-Status:   Open
+Status:   Closed
 Bug Type: Documentation problem
 Operating System: Windows
 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-12 08:17:30] develar at gmail dot com

Description:

Function array_slice() always preserve string keys. The parameter
"preserve_keys" is necessary only for numerical keys. The documentation
is silent about it.

Reproduce code:
---
$form = array('one' => 'one value', 'two' => 'two value', 'three' =>
'three value');
print_r(array_slice($form, 2));

Expected result:

Array ( [0] => three value )

Actual result:
--
Array ( [three] => three value )





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


[PHP-DOC] #39238 [Opn->Csd]: Wrong "return values" description for ctype_cntrl

2006-11-04 Thread dave
 ID:  39238
 Updated by:  [EMAIL PROTECTED]
 Reported By: b0rland at yahoo dot com
-Status:  Open
+Status:  Closed
 Bug Type:Documentation problem
 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-10-23 15:13:49] b0rland at yahoo dot com

Description:

http://ua2.php.net/manual/en/function.ctype-cntrl.php
Incorrect "Return Values" text. Probably a copy-paste from ctype_alpha
help and incorrect for this functon (and quite misleading for a
newbie).
See expected/actual results fields.

Expected result:

Something like:
"Return Values

Returns TRUE if every character in text is a control character, FALSE
otherwise." 

Actual result:
--
"Return Values

Returns TRUE if every character in text is a letter from the current
locale, FALSE otherwise."






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


[PHP-DOC] #39792 [Opn->Csd]: Kill the ant!

2006-12-15 Thread dave
 ID:   39792
 Updated by:   [EMAIL PROTECTED]
 Reported By:  NoReply at Nowhere dot com
-Status:   Open
+Status:   Closed
-Bug Type: Website problem
+Bug Type: Documentation problem
 Operating System: Irrelevant
 PHP Version:  Irrelevant
 New Comment:

Next time you report a problem with the manual, please use
"Documentation problem" as the category. Thanks! :)


Previous Comments:


[2006-12-11 03:45:04] NoReply at Nowhere dot com

Description:

Page:
http://uk2.php.net/manual/en/faq.installation.php#faq.installation.addtopath

Problem:
Ant infestation started... someone should really stomp on it before it
starts laying eggs :¬/


Reproduce code:
---

Enter your PHP directory ant the end, including ';'
before (e.g.
;C:\php)
   

Expected result:

Enter your PHP directory at the end, including ';' before (e.g.
;C:\php)

Actual result:
--
Enter your PHP directory ant the end, including ';' before (e.g.
;C:\php)






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


[PHP-DOC] #37255 [Fbk->Opn]: Column spanning with named columns doesn't work

2007-06-05 Thread dave
 ID:  37255
 Updated by:  [EMAIL PROTECTED]
 Reported By: [EMAIL PROTECTED]
-Status:  Feedback
+Status:  Open
 Bug Type:Livedocs problem
 PHP Version: Irrelevant
 New Comment:

The patch is on a decommissioned server. I'll boot it up sometime and
re-upload. Maybe CC Jacques and see if he has a copy?


Previous Comments:


[2007-06-05 12:57:49] [EMAIL PROTECTED]

404 file not found...



[2006-05-01 02:58:21] [EMAIL PROTECTED]

Description:

This is a known bug (see livedocs/BUGS).

This patch solves the problem:
http://www.powertrip.co.za/livedocs/viewpatch.php?patch=22






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


Re: [PHP-DOC] cvs: phpdoc /en/reference/mysqli/functions mysqli-affected-rows.xml mysqli-autocommit.xml mysqli-bind-param.xml mysqli-bind-result.xml mysqli-change-user.xml mysqli-character-set-name.xml mysqli-close.xml mysqli-commit.xml mysqli-connect.xml mysqli-data-seek.xml mysqli-debug.xml mysqli-dump-debug-info.xml mysqli-errno.xml mysqli-error.xml mysqli-execute.xml mysqli-fetch-array.xml mysqli-fetch-assoc.xml mysqli-fetch-field-direct.xml mysqli-fetch-field.xml mysqli-fetch-fields.xml mysqli-fetch-lengths.xml mysqli-fetch-object.xml mysqli-fetch-row.xml mysqli-fetch.xml mysqli-field-count.xml mysqli-field-seek.xml mysqli-field-tell.xml mysqli-free-result.xml mysqli-get-client-info.xml mysqli-get-host-info.xml mysqli-get-proto-info.xml mysqli-get-server-info.xml mysqli-get-server-version.xml mysqli-info.xml mysqli-init.xml mysqli-insert-id.xml mysqli-kill.xml mysqli-num-fields.xml mysqli-num-rows.xml mysqli-options.xml mysqli-param-count.xml mysqli-ping.xml my! sqli-prepare.xml mysqli-query.xml mysqli-real-connect.xml mysqli-real-escape-string.xml mysqli-real-query.xml mysqli-rollback.xml mysqli-select-db.xml mysqli-send-long-data.xml mysqli-ssl-set.xml mysqli-stat.xml mysqli-stmt-affected-rows.xml mysqli-stmt-close.xml mysqli-stmt-errno.xml mysqli-stmt-error.xml mysqli-stmt-store-result.xml mysqli-store-result.xml mysqli-thread-id.xml mysqli-thread-safe.xml mysqli-use-result.xml mysqli-warning-count.xml

2004-01-28 Thread Dave
On Thursday, January 29, 2004, 10:18:43 AM, Georg wrote:

> georg Wed Jan 28 18:18:43 2004 EDT

>   Modified files:



>
>   mysqli-param-count.xml

The manual build fails. You're missing a  tag before
&reftitle.returnvalues; in this file.

Dave


[PHP-DOC] cvs: phpdoc /en language-snippets.ent /en/appendices transports.xml wrappers.xml /en/chapters config.xml tutorial.xml /en/faq html.xml /en/language control-structures.xml variables.xml /en/reference/curl configure.xml /en/reference/dir/functions opendir.xml /en/reference/errorfunc ini.xml /en/reference/filesystem/functions copy.xml mkdir.xml rename.xml rmdir.xml unlink.xml /en/reference/image/functions exif-read-data.xml imagettfbbox.xml /en/reference/misc/functions highlight-file.xml /en/reference/mnogosearch/functions udm-add-search-limit.xml udm-api-version.xml /en/reference/session ini.xml /en/reference/stream/functions stream-socket-client.xml stream-socket-server.xml stream-wrapper-register.xml /en/reference/strings/functions parse-str.xml /en/reference/url/functions http-build-query.xml urlencode.xml /en/security cgi-bin.xml

2004-01-28 Thread Dave
daveWed Jan 28 19:35:33 2004 EDT

  Modified files:  
/phpdoc/en  language-snippets.ent 
/phpdoc/en/appendices   transports.xml wrappers.xml 
/phpdoc/en/chapters config.xml tutorial.xml 
/phpdoc/en/faq  html.xml 
/phpdoc/en/language control-structures.xml variables.xml 
/phpdoc/en/reference/curl   configure.xml 
/phpdoc/en/reference/dir/functions  opendir.xml 
/phpdoc/en/reference/errorfunc  ini.xml 
/phpdoc/en/reference/filesystem/functions   copy.xml mkdir.xml 
rename.xml rmdir.xml 
unlink.xml 
/phpdoc/en/reference/image/functionsexif-read-data.xml 
imagettfbbox.xml 
/phpdoc/en/reference/misc/functions highlight-file.xml 
/phpdoc/en/reference/mnogosearch/functions  udm-add-search-limit.xml 
udm-api-version.xml 
/phpdoc/en/reference/sessionini.xml 
/phpdoc/en/reference/stream/functions   stream-socket-client.xml 
stream-socket-server.xml 
stream-wrapper-register.xml 
/phpdoc/en/reference/strings/functions  parse-str.xml 
/phpdoc/en/reference/url/functions  http-build-query.xml 
urlencode.xml 
/phpdoc/en/security cgi-bin.xml 
  Log:
  - s/url/URL/ where appropriate and "an URL" -> "a URL".
  
  http://cvs.php.net/diff.php/phpdoc/en/language-snippets.ent?r1=1.66&r2=1.67&ty=u
Index: phpdoc/en/language-snippets.ent
diff -u phpdoc/en/language-snippets.ent:1.66 phpdoc/en/language-snippets.ent:1.67
--- phpdoc/en/language-snippets.ent:1.66Mon Jan 26 15:23:25 2004
+++ phpdoc/en/language-snippets.ent Wed Jan 28 19:35:21 2004
@@ -1,4 +1,4 @@
-
+
 
 This extension is
 EXPERIMENTAL. The behaviour of this extension --
@@ -41,7 +41,7 @@
 
 As of 
 PHP 5.0.0 this function can also be used with 
-some url wrappers.  Refer to 
+some URL wrappers.  Refer to 
  for a listing of which wrappers support 
 stat family of functionality.'>
 
http://cvs.php.net/diff.php/phpdoc/en/appendices/transports.xml?r1=1.6&r2=1.7&ty=u
Index: phpdoc/en/appendices/transports.xml
diff -u phpdoc/en/appendices/transports.xml:1.6 phpdoc/en/appendices/transports.xml:1.7
--- phpdoc/en/appendices/transports.xml:1.6 Sat Dec 20 23:21:39 2003
+++ phpdoc/en/appendices/transports.xml Wed Jan 28 19:35:21 2004
@@ -1,5 +1,5 @@
 
-
+
 
  List of Supported Socket Transports
  
@@ -42,7 +42,7 @@
Internet Domain sockets expect a port number in addition
to a target address.  In the case of fsockopen
this is specified in a second parameter and therefore does
-   not impact the formatting of transport url.  With
+   not impact the formatting of transport URL.  With
stream_socket_client and related functions
as with traditional URLs however, the port number is specified
as a suffix of the transport URL delimited by a colon.
http://cvs.php.net/diff.php/phpdoc/en/appendices/wrappers.xml?r1=1.33&r2=1.34&ty=u
Index: phpdoc/en/appendices/wrappers.xml
diff -u phpdoc/en/appendices/wrappers.xml:1.33 phpdoc/en/appendices/wrappers.xml:1.34
--- phpdoc/en/appendices/wrappers.xml:1.33  Tue Dec 30 06:31:52 2003
+++ phpdoc/en/appendices/wrappers.xml   Wed Jan 28 19:35:21 2004
@@ -1,5 +1,5 @@
 
-
+
 
  List of Supported Protocols/Wrappers
  
@@ -116,7 +116,7 @@
   
Redirects have been supported since PHP 4.0.5; if you are using
an earlier version you will need to include trailing slashes in
-   your URLs.  If it's important to know the url of the resource where
+   your URLs.  If it's important to know the URL of the resource where
your document came from (after all redirects have been processed),
you'll need to process the series of response headers returned by the
stream.
@@ -319,7 +319,7 @@
Appending

 As of PHP 5.0.0 files may be appended via the
-ftp:// url wrapper.  In prior versions, attempting
+ftp:// URL wrapper.  In prior versions, attempting
 to append to a file via ftp:// will result in failure.

   
http://cvs.php.net/diff.php/phpdoc/en/chapters/config.xml?r1=1.114&r2=1.115&ty=u
Index: phpdoc/en/chapters/config.xml
diff -u phpdoc/en/chapters/config.xml:1.114 phpdoc/en/chapters/config.xml:1.115
--- phpdoc/en/chapters/config.xml:1.114 Sat Dec 20 23:21:40 2003
+++ phpdoc/en/chapters/config.xml   Wed Jan 28 19:35:22 2004
@@ -1,5 +1,5 @@
 
-
+
  
   Runtime Configuration
 
@@ -710,7 +710,7 @@
 
  Tells whether or not to register the EGPCS (Environment, GET,
  POST, Cookie, Server) variables as global variables. For example;
- if register_globals = on, the url 
+ if register_globals = on, the URL 
  http://www

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

2004-01-28 Thread Dave
daveWed Jan 28 19:41:55 2004 EDT

  Modified files:  
/phpdoc/en/reference/mysqli/functions   mysqli-param-count.xml 
  Log:
  - Missing refsect1.
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-param-count.xml?r1=1.4&r2=1.5&ty=u
Index: phpdoc/en/reference/mysqli/functions/mysqli-param-count.xml
diff -u phpdoc/en/reference/mysqli/functions/mysqli-param-count.xml:1.4 
phpdoc/en/reference/mysqli/functions/mysqli-param-count.xml:1.5
--- phpdoc/en/reference/mysqli/functions/mysqli-param-count.xml:1.4 Wed Jan 28 
18:18:42 2004
+++ phpdoc/en/reference/mysqli/functions/mysqli-param-count.xml Wed Jan 28 19:41:55 
2004
@@ -1,5 +1,5 @@
 
-
+
   

 mysqli_param_count
@@ -23,6 +23,7 @@
   markers present in the prepared statement. 
  

+   
 &reftitle.returnvalues;
 
  returns an integer representing the number of parameters.


Re: [PHP-DOC] cvs: phpdoc /en/reference/mysqli/functions mysqli-affected-rows.xml mysqli-autocommit.xml mysqli-bind-param.xml mysqli-bind-result.xml mysqli-change-user.xml mysqli-character-set-name.xml mysqli-close.xml mysqli-commit.xml mysqli-connect.xml mysqli-data-seek.xml mysqli-debug.xml mysqli-dump-debug-info.xml mysqli-errno.xml mysqli-error.xml mysqli-execute.xml mysqli-fetch-array.xml mysqli-fetch-assoc.xml mysqli-fetch-field-direct.xml mysqli-fetch-field.xml mysqli-fetch-fields.xml mysqli-fetch-lengths.xml mysqli-fetch-object.xml mysqli-fetch-row.xml mysqli-fetch.xml mysqli-field-count.xml mysqli-field-seek.xml mysqli-field-tell.xml mysqli-free-result.xml mysqli-get-client-info.xml mysqli-get-host-info.xml mysqli-get-proto-info.xml mysqli-get-server-info.xml mysqli-get-server-version.xml mysqli-info.xml mysqli-init.xml mysqli-insert-id.xml mysqli-kill.xml mysqli-num-fields.xml mysqli-num-rows.xml mysqli-options.xml mysqli-param-count.xml mysqli-ping.xml my! ! sqli-prepare.xml mysqli-query.xml mysqli-real-connect.xml mysqli-real-escape-string.xml mysqli-real-query.xml mysqli-rollback.xml mysqli-select-db.xml mysqli-send-long-data.xml mysqli-ssl-set.xml mysqli-stat.xml mysqli-stmt-affected-rows.xml mysqli-stmt-close.xml mysqli-stmt-errno.xml mysqli-stmt-error.xml mysqli-stmt-store-result.xml mysqli-store-result.xml mysqli-thread-id.xml mysqli-thread-safe.xml mysqli-use-result.xml mysqli-warning-count.xml

2004-01-28 Thread Dave
On Thursday, January 29, 2004, 10:58:36 AM, Dave wrote:

> On Thursday, January 29, 2004, 10:18:43 AM, Georg wrote:

>> georgWed Jan 28 18:18:43 2004 EDT

>>   Modified files:

> 

>>
>>  mysqli-param-count.xml

> The manual build fails. You're missing a  tag before
> &reftitle.returnvalues; in this file.

> Dave

Nevermind, fixed it.

Dave


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

2004-02-05 Thread Dave
On Friday, February 6, 2004, 6:44:52 AM, Nuno wrote:

> nlopess   Thu Feb  5 14:44:52 2004 EDT

>   Modified files:  
> /phpdoc/en/reference/filesystem/functions clearstatcache.xml 
>   Log:
>   fix #27134
>   php dont cache info about non-existent files
  


> +
> + You should also note that PHP don't cache information about non-existent
> + files. So, if you call file_exists on a file that
> + doesn't exist, it will return &false; untill you create the file. If you
> + create the file, it will return &true; even if you then delete the file.
> +
>  
>   
> This function caches information about specific filenames, so you only

"If you create the file, it will return &true; even if you then delete
the file". Are you sure?



Outputs:

bool(false)
bool(true)
bool(false)

for me, on PHP 4.3.4RC1 (cgi) (yeah I know, I need to upgrade :P).

"PHP don't cache information", should also be "PHP doesn't cache
information", or "PHP does not cache information".

Dave


[PHP-DOC] #27177 [Opn->Bgs]: [chm] bug on function.php-logo-guid.html

2004-02-07 Thread dave
 ID:   27177
 Updated by:   [EMAIL PROTECTED]
 Reported By:  bojanv55 at hotmail dot com
-Status:   Open
+Status:   Bogus
 Bug Type: Documentation problem
 Operating System: windows
 PHP Version:  Irrelevant
 New Comment:

This was fixed almost 4 months ago. The CHM documentation has not been
built for a while. Next time you'd like to report a typographical
error, check the website's manual first. The CHM version uses exactly
the same documentation as the website does, but the website is updated
a lot more often. Thanks!


Previous Comments:


[2004-02-07 07:46:32] bojanv55 at hotmail dot com

Description:

I have found a bug on page function.php-logo-guid.html
[chm date: 2003-09-06]...

Reproduce code:
---
'; 

?>

Expected result:

'; 

?>






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


[PHP-DOC] cvs: phpdoc /en/reference/gmp/functions gmp-abs.xml gmp-add.xml gmp-and.xml gmp-clrbit.xml gmp-cmp.xml gmp-com.xml gmp-div-q.xml gmp-div-r.xml gmp-divexact.xml gmp-fact.xml gmp-gcd.xml gmp-hamdist.xml gmp-intval.xml gmp-invert.xml gmp-jacobi.xml gmp-legendre.xml gmp-mod.xml gmp-mul.xml gmp-neg.xml gmp-or.xml gmp-perfect-square.xml gmp-popcount.xml gmp-pow.xml gmp-powm.xml gmp-prob-prime.xml gmp-random.xml gmp-scan0.xml gmp-scan1.xml gmp-setbit.xml gmp-sign.xml gmp-sqrt.xml gmp-sqrtrem.xml gmp-sub.xml gmp-xor.xml

2004-02-08 Thread Dave
daveSun Feb  8 03:46:26 2004 EDT

  Modified files:  
/phpdoc/en/reference/gmp/functions  gmp-abs.xml gmp-add.xml 
gmp-and.xml gmp-clrbit.xml 
gmp-cmp.xml gmp-com.xml 
gmp-div-q.xml gmp-div-r.xml 
gmp-divexact.xml gmp-fact.xml 
gmp-gcd.xml gmp-hamdist.xml 
gmp-intval.xml gmp-invert.xml 
gmp-jacobi.xml gmp-legendre.xml 
gmp-mod.xml gmp-mul.xml 
gmp-neg.xml gmp-or.xml 
gmp-perfect-square.xml 
gmp-popcount.xml gmp-pow.xml 
gmp-powm.xml gmp-prob-prime.xml 
gmp-random.xml gmp-scan0.xml 
gmp-scan1.xml gmp-setbit.xml 
gmp-sign.xml gmp-sqrt.xml 
gmp-sqrtrem.xml gmp-sub.xml 
gmp-xor.xml 
  Log:
  - Add GMP function examples, and fix a few problems.
  
  http://cvs.php.net/diff.php/phpdoc/en/reference/gmp/functions/gmp-abs.xml?r1=1.2&r2=1.3&ty=u
Index: phpdoc/en/reference/gmp/functions/gmp-abs.xml
diff -u phpdoc/en/reference/gmp/functions/gmp-abs.xml:1.2 
phpdoc/en/reference/gmp/functions/gmp-abs.xml:1.3
--- phpdoc/en/reference/gmp/functions/gmp-abs.xml:1.2   Wed Apr 17 02:38:22 2002
+++ phpdoc/en/reference/gmp/functions/gmp-abs.xml   Sun Feb  8 03:46:22 2004
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -15,6 +15,29 @@
 
  Returns absolute value of a.
 
+
+ gmp_abs example
+ 
+
+ 
+ 
+  The printout of the above program will be:
+ 
+ 
+
+ 
+

   
 
http://cvs.php.net/diff.php/phpdoc/en/reference/gmp/functions/gmp-add.xml?r1=1.2&r2=1.3&ty=u
Index: phpdoc/en/reference/gmp/functions/gmp-add.xml
diff -u phpdoc/en/reference/gmp/functions/gmp-add.xml:1.2 
phpdoc/en/reference/gmp/functions/gmp-add.xml:1.3
--- phpdoc/en/reference/gmp/functions/gmp-add.xml:1.2   Wed Apr 17 02:38:23 2002
+++ phpdoc/en/reference/gmp/functions/gmp-add.xml   Sun Feb  8 03:46:22 2004
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -17,6 +17,25 @@
  Add two GMP numbers. The result will be a GMP number representing
  the sum of the arguments.
 
+
+ gmp_add example
+ 
+
+ 
+ 
+  The printout of the above program will be:
+ 
+ 
+
+ 
+

   
 
http://cvs.php.net/diff.php/phpdoc/en/reference/gmp/functions/gmp-and.xml?r1=1.2&r2=1.3&ty=u
Index: phpdoc/en/reference/gmp/functions/gmp-and.xml
diff -u phpdoc/en/reference/gmp/functions/gmp-and.xml:1.2 
phpdoc/en/reference/gmp/functions/gmp-and.xml:1.3
--- phpdoc/en/reference/gmp/functions/gmp-and.xml:1.2   Wed Apr 17 02:38:23 2002
+++ phpdoc/en/reference/gmp/functions/gmp-and.xml   Sun Feb  8 03:46:22 2004
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -16,6 +16,26 @@
 
  Calculates logical AND of two GMP numbers.
 
+
+ gmp_and example
+ 
+
+ 
+ 
+  The printout of the above program will be:
+ 
+ 
+
+ 
+

   
 
http://cvs.php.net/diff.php/phpdoc/en/reference/gmp/functions/gmp-clrbit.xml?r1=1.2&r2=1.3&ty=u
Index: phpdoc/en/reference/gmp/functions/gmp-clrbit.xml
diff -u phpdoc/en/reference/gmp/functions/gmp-clrbit.xml:1.2 
phpdoc/en/reference/gmp/functions/gmp-clrbit.xml:1.3
--- phpdoc/en/reference/gmp/functions/gmp-clrbit.xml:1.2Wed Apr 17 02:38:23 
2002
+++ phpdoc/en/reference/gmp/functions/gmp-clrbit.xmlSun Feb  8 03:46:22 2004
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -9,13 +9,42 @@

 Description
  
-  resourcegmp_clrbit
+  voidgmp_clrbit
   resource&a
   intindex
  
 
  Clears (sets to 0) bit index in
- a.
+ a. The index starts at 0.
+
+
+ 
+  Unlike most of the other GMP functions, gmp_clrbit
+  must be called with a GMP resource that already exists (using
+  gmp_init for example). One will not be
+  automatically created.
+ 
+
+
+ gmp_clrbit example
+ 
+
+ 
+ 
+  The printout of the above program will be:
+ 
+ 
+
+ 
+
+
+ See also gmp_setbit.
 

   
http://cvs.php.net/diff.php/phpdoc/en/reference/gmp/functions/gmp-cmp.xml?r1=1.2&r2=1.3&ty=u
Index: phpdoc/en/reference/gmp/functions/gmp-cmp.xml
diff -u phpdoc/en/reference/gmp/functions/gmp-cmp.xml:1.2 
phpdoc/en/reference/gmp/functions/gmp-cmp.xml:1.3
--- phpdoc/en/reference/gmp/functions/gmp-cmp.xml:1.2   Wed Apr 17 02:38:23 2002
+++ phpdoc/en/reference/gmp/functions/gmp-cmp.xml   Sun Feb  8 03:46:22 2004
@@ -1

[PHP-DOC] cvs: phpdoc /en/reference/gmp/functions gmp-sqrtrm.xml

2004-02-08 Thread Dave
daveSun Feb  8 21:05:11 2004 EDT

  Removed files:   
/phpdoc/en/reference/gmp/functions  gmp-sqrtrm.xml 
  Log:
  - This function does not exist.
  
  


[PHP-DOC] cvs: phpdoc /en/reference/gmp/functions gmp-clrbit.xml gmp-xor.xml

2004-02-08 Thread Dave
daveSun Feb  8 22:32:37 2004 EDT

  Modified files:  
/phpdoc/en/reference/gmp/functions  gmp-clrbit.xml gmp-xor.xml 
  Log:
  - Forgot http://cvs.php.net/diff.php/phpdoc/en/reference/gmp/functions/gmp-clrbit.xml?r1=1.3&r2=1.4&ty=u
Index: phpdoc/en/reference/gmp/functions/gmp-clrbit.xml
diff -u phpdoc/en/reference/gmp/functions/gmp-clrbit.xml:1.3 
phpdoc/en/reference/gmp/functions/gmp-clrbit.xml:1.4
--- phpdoc/en/reference/gmp/functions/gmp-clrbit.xml:1.3Sun Feb  8 03:46:22 
2004
+++ phpdoc/en/reference/gmp/functions/gmp-clrbit.xmlSun Feb  8 22:32:36 2004
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -29,9 +29,11 @@
  gmp_clrbit example
  
 
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/gmp/functions/gmp-xor.xml?r1=1.3&r2=1.4&ty=u
Index: phpdoc/en/reference/gmp/functions/gmp-xor.xml
diff -u phpdoc/en/reference/gmp/functions/gmp-xor.xml:1.3 
phpdoc/en/reference/gmp/functions/gmp-xor.xml:1.4
--- phpdoc/en/reference/gmp/functions/gmp-xor.xml:1.3   Sun Feb  8 03:46:23 2004
+++ phpdoc/en/reference/gmp/functions/gmp-xor.xml   Sun Feb  8 22:32:36 2004
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -20,6 +20,7 @@
  gmp_xor example
  
 

[PHP-DOC] cvs: phpdoc /en/reference/gmp/functions gmp-setbit.xml

2004-02-08 Thread Dave
daveSun Feb  8 22:34:38 2004 EDT

  Modified files:  
/phpdoc/en/reference/gmp/functions  gmp-setbit.xml 
  Log:
  - Oops.
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/gmp/functions/gmp-setbit.xml?r1=1.3&r2=1.4&ty=u
Index: phpdoc/en/reference/gmp/functions/gmp-setbit.xml
diff -u phpdoc/en/reference/gmp/functions/gmp-setbit.xml:1.3 
phpdoc/en/reference/gmp/functions/gmp-setbit.xml:1.4
--- phpdoc/en/reference/gmp/functions/gmp-setbit.xml:1.3Sun Feb  8 03:46:23 
2004
+++ phpdoc/en/reference/gmp/functions/gmp-setbit.xmlSun Feb  8 22:34:38 2004
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -18,7 +18,7 @@
  Sets bit index in
  a. set_clear
  defines if the bit is set to 0 or 1. By default the bit is set to
- 1. Index 
+ 1. Index starts at 0.
 
 
  


Re: [PHP-DOC] cvs question - again

2004-02-10 Thread Dave
On Wednesday, February 11, 2004, 12:02:03 AM, Serban wrote:

> Hello

> After i made some modifications in phpdoc-ro/ro/security i noticed that i
> modified the files in a wrong way. The directory /security/ didnt exist
> before. I am asking for someone to delete it for me
> (phpdoc-ro/ro/security/), and also please tell me what i am doing wrong:

> (14:52:56 <~>) 0 $ cvs login
> Logging in to :pserver:[EMAIL PROTECTED]:2401/repository
> CVS password:
> (14:53:14 <~>) 0 $ cvs remove phpdoc-ro/ro/security/
> cvs [remove aborted]: no such directory `phpdoc-ro/ro/security'
> (14:53:52 <~>) 0 $ cvs remove /ro/security/
> cvs [remove aborted]: no such directory `/ro/security'
> (14:54:02 <~>) 0 $ cvs remove /phpdoc-ro/ro/security/
> cvs [remove aborted]: no such directory `/phpdoc-ro/ro/security'

> I read the cvs manual and the documentation located at php.net, but i didnt
> get enough details about deleting a file/directory. In the future maybe i'll
> reconsider and add some more details on /howto/ manual because i dont think
> it is fully documented, and users like me could make mistakes.

> thanks
> Serban Ghita

You cannot remove directories in CVS with the "remove" command. The
only way to accomplish this is to mess with the repository on the CVS
server itself. This is a failing of CVS, and something that I've hated
about CVS for a very long time. :P

Dave


[PHP-DOC] cvs: phpdoc /en/reference/gmp/functions gmp-scan1.xml

2004-02-14 Thread Dave
daveSat Feb 14 22:43:50 2004 EDT

  Modified files:  
/phpdoc/en/reference/gmp/functions  gmp-scan1.xml 
  Log:
  - Add note about -1 return value.
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/gmp/functions/gmp-scan1.xml?r1=1.3&r2=1.4&ty=u
Index: phpdoc/en/reference/gmp/functions/gmp-scan1.xml
diff -u phpdoc/en/reference/gmp/functions/gmp-scan1.xml:1.3 
phpdoc/en/reference/gmp/functions/gmp-scan1.xml:1.4
--- phpdoc/en/reference/gmp/functions/gmp-scan1.xml:1.3 Sun Feb  8 03:46:23 2004
+++ phpdoc/en/reference/gmp/functions/gmp-scan1.xml Sat Feb 14 22:43:49 2004
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -17,7 +17,7 @@
  Scans a, starting with bit
  start, towards more significant bits,
  until the first set bit is found. Returns the index of the found
- bit.
+ bit. If no set bit is found, -1 is returned.
 
 
  gmp_scan1 example


[PHP-DOC] cvs: phpdoc /en/reference/gmp/functions gmp-and.xml

2004-02-26 Thread Dave
daveThu Feb 26 06:05:11 2004 EDT

  Modified files:  
/phpdoc/en/reference/gmp/functions  gmp-and.xml 
  Log:
  - Add  tags.
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/gmp/functions/gmp-and.xml?r1=1.3&r2=1.4&ty=u
Index: phpdoc/en/reference/gmp/functions/gmp-and.xml
diff -u phpdoc/en/reference/gmp/functions/gmp-and.xml:1.3 
phpdoc/en/reference/gmp/functions/gmp-and.xml:1.4
--- phpdoc/en/reference/gmp/functions/gmp-and.xml:1.3   Sun Feb  8 03:46:22 2004
+++ phpdoc/en/reference/gmp/functions/gmp-and.xml   Thu Feb 26 06:05:11 2004
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -20,10 +20,12 @@
  gmp_and example
  
 
  
  


[PHP-DOC] cvs: phpdoc /en/reference/soap/functions SoapClient-SoapClient.xml SoapClient-__call.xml SoapClient-__getLastRequest.xml SoapClient-__getLastResponse.xml SoapFault-SoapFault.xml SoapHeader-SoapHeader.xml SoapParam-SoapParam.xml SoapServer-SoapServer.xml SoapServer-addFunction.xml SoapServer-handle.xml SoapServer-setClass.xml SoapServer-setPersistence.xml SoapVar-SoapVar.xml is-soap-fault.xml

2004-02-27 Thread Dave
daveFri Feb 27 08:59:44 2004 EDT

  Modified files:  
/phpdoc/en/reference/soap/functions SoapClient-SoapClient.xml 
SoapClient-__call.xml 
SoapClient-__getLastRequest.xml 
SoapClient-__getLastResponse.xml 
SoapFault-SoapFault.xml 
SoapHeader-SoapHeader.xml 
SoapParam-SoapParam.xml 
SoapServer-SoapServer.xml 
SoapServer-addFunction.xml 
SoapServer-handle.xml 
SoapServer-setClass.xml 
SoapServer-setPersistence.xml 
SoapVar-SoapVar.xml 
is-soap-fault.xml 
  Log:
  - Fix typos/grammatical mistakes, and make things a bit easier to read.
  
  http://cvs.php.net/diff.php/phpdoc/en/reference/soap/functions/SoapClient-SoapClient.xml?r1=1.1&r2=1.2&ty=u
Index: phpdoc/en/reference/soap/functions/SoapClient-SoapClient.xml
diff -u phpdoc/en/reference/soap/functions/SoapClient-SoapClient.xml:1.1 
phpdoc/en/reference/soap/functions/SoapClient-SoapClient.xml:1.2
--- phpdoc/en/reference/soap/functions/SoapClient-SoapClient.xml:1.1Tue Feb 24 
09:31:49 2004
+++ phpdoc/en/reference/soap/functions/SoapClient-SoapClient.xmlFri Feb 27 
08:59:44 2004
@@ -1,5 +1,5 @@
 
-
+
   

 SoapClient::SoapClient
@@ -15,27 +15,28 @@
  arrayoptions
 
 
- This constructor allows creating SoapClient objects in WSDL or nonWSDL mode.
- The first case requires URI of WSDL file as first parameter and an optional
- options array. The second case requires &null; as
- first parameter and options array with
- location and uri options set.
- Where location is a URL to request and uri is a target namespace of the SOAP
- service.
+ This constructor allows creating SoapClient objects in WSDL or non-WSDL mode.
+ The first case requires the URI of WSDL file as the first parameter and an
+ optional options array. The second case requires &null;
+ as the first parameter and the options array with
+ location and uri options set,
+ where location is a URL to request and uri
+ is a target namespace of the SOAP service.
 
 
- style and use options has effect only on
- nonWSDL (in WSDL mode they comes from WSDL file).
+ The style and use options only work in
+ non-WSDL mode. In WSDL mode, they comes from the WSDL file.
 
 
- the soap_version option allows to work as SOAP 1.1 or
- SOAP 1.2 client.
+ The soap_version option specifies whether to use SOAP
+ 1.1, or SOAP 1.2 client.
 
 
- Some additional options allow using HTTP authentication (login
- and password) and HTTP connection through proxy server
- (proxy_host, proxy_port,
- proxy_login and proxy_password).
+ For HTTP authentication, you may use the login and
+ password options. For making a HTTP connection through
+ a proxy server, use the options proxy_host,
+ proxy_port, proxy_login
+ and proxy_password.
 
 
  
http://cvs.php.net/diff.php/phpdoc/en/reference/soap/functions/SoapClient-__call.xml?r1=1.2&r2=1.3&ty=u
Index: phpdoc/en/reference/soap/functions/SoapClient-__call.xml
diff -u phpdoc/en/reference/soap/functions/SoapClient-__call.xml:1.2 
phpdoc/en/reference/soap/functions/SoapClient-__call.xml:1.3
--- phpdoc/en/reference/soap/functions/SoapClient-__call.xml:1.2Fri Feb 27 
08:26:12 2004
+++ phpdoc/en/reference/soap/functions/SoapClient-__call.xmlFri Feb 27 08:59:44 
2004
@@ -1,5 +1,5 @@
 
-
+
   

 SoapClient::__call
@@ -19,18 +19,18 @@
 
 
  This is a low level API function to make a SOAP call. Usually in WSDL mode
- you can simple call SOAP functions as SoapClient methods. It is useful for
- nonWSDL mode when soapaction is unknown, 
uri 
- is differ form default or when you like to send and/or receive SOAP Headers.
- On error call to SOAP function can cause PHP exceptions or return 
- SoapFault object, if exceptions was disabled.
- To check if function call was failed catch the SoapFault exceptions or 
- check the result with is_soap_fault function.
+ you can simply call SOAP functions as SoapClient methods. It is useful for
+ non-WSDL mode when soapaction is unknown, 
uri 
+ differs from the default or when you like to send and/or receive SOAP Headers.
+ On error, a call to a SOAP function can cause PHP exceptions or return a
+ SoapFault object if exceptions was disabled.
+ To check if the function call failed catch the SoapFault exceptions or 
+ check the resul

[PHP-DOC] cvs: phpdoc /en/reference/array/functions array-intersect-assoc.xml /en/reference/exec/functions proc-close.xml /en/reference/ibase/functions ibase-timefmt.xml /en/reference/image reference.xml /en/reference/image/functions imagepscopyfont.xml /en/reference/misc/functions constant.xml /en/reference/ncurses/functions ncurses-move-panel.xml /en/reference/openssl/functions openssl-csr-sign.xml openssl-pkcs7-decrypt.xml openssl-pkcs7-sign.xml /en/reference/outcontrol/functions ob-start.xml /en/reference/pcntl/functions pcntl-fork.xml /en/reference/pcre constants.xml /en/reference/pcre/functions preg-match-all.xml preg-match.xml preg-split.xml /en/reference/pgsql reference.xml /en/reference/printer/functions printer-set-option.xml /en/reference/session ini.xml /en/reference/uodbc/functions odbc-statistics.xml /en/reference/xmlrpc reference.xml /en/reference/xslt/functions xslt-process.xml

2004-02-28 Thread Dave
daveSat Feb 28 10:13:46 2004 EDT

  Modified files:  
/phpdoc/en/reference/array/functionsarray-intersect-assoc.xml 
/phpdoc/en/reference/exec/functions proc-close.xml 
/phpdoc/en/reference/ibase/functionsibase-timefmt.xml 
/phpdoc/en/reference/image  reference.xml 
/phpdoc/en/reference/image/functionsimagepscopyfont.xml 
/phpdoc/en/reference/misc/functions constant.xml 
/phpdoc/en/reference/ncurses/functions  ncurses-move-panel.xml 
/phpdoc/en/reference/openssl/functions  openssl-csr-sign.xml 
openssl-pkcs7-decrypt.xml 
openssl-pkcs7-sign.xml 
/phpdoc/en/reference/outcontrol/functions   ob-start.xml 
/phpdoc/en/reference/pcntl/functionspcntl-fork.xml 
/phpdoc/en/reference/pcre   constants.xml 
/phpdoc/en/reference/pcre/functions preg-match-all.xml 
preg-match.xml preg-split.xml 
/phpdoc/en/reference/pgsql  reference.xml 
/phpdoc/en/reference/printer/functions  printer-set-option.xml 
/phpdoc/en/reference/sessionini.xml 
/phpdoc/en/reference/uodbc/functionsodbc-statistics.xml 
/phpdoc/en/reference/xmlrpc reference.xml 
/phpdoc/en/reference/xslt/functions xslt-process.xml 
  Log:
  - it's => its.
  
  http://cvs.php.net/diff.php/phpdoc/en/reference/array/functions/array-intersect-assoc.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc/en/reference/array/functions/array-intersect-assoc.xml
diff -u phpdoc/en/reference/array/functions/array-intersect-assoc.xml:1.5 
phpdoc/en/reference/array/functions/array-intersect-assoc.xml:1.6
--- phpdoc/en/reference/array/functions/array-intersect-assoc.xml:1.5   Mon Dec 15 
11:47:04 2003
+++ phpdoc/en/reference/array/functions/array-intersect-assoc.xml   Sat Feb 28 
10:13:33 2004
@@ -1,5 +1,5 @@
 
-
+
   

 array_intersect_assoc
@@ -48,7 +48,7 @@
  In our example you see that only the pair "a" =>
  "green" is present in both arrays and thus is returned. 
  The value "red" is not returned because in 
- $array1 it's key is 0 while
+ $array1 its key is 0 while
  the key of "red" in $array2 is 
  1.
 
http://cvs.php.net/diff.php/phpdoc/en/reference/exec/functions/proc-close.xml?r1=1.4&r2=1.5&ty=u
Index: phpdoc/en/reference/exec/functions/proc-close.xml
diff -u phpdoc/en/reference/exec/functions/proc-close.xml:1.4 
phpdoc/en/reference/exec/functions/proc-close.xml:1.5
--- phpdoc/en/reference/exec/functions/proc-close.xml:1.4   Fri May  9 08:51:04 
2003
+++ phpdoc/en/reference/exec/functions/proc-close.xml   Sat Feb 28 10:13:34 2004
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -20,7 +20,7 @@
  except that it only works on processes opened by
  proc_open.
  proc_close waits for the process to terminate, and
- returns it's exit code.  If you have open pipes to that process, you
+ returns its exit code.  If you have open pipes to that process, you
  should fclose them prior to calling this function in
  order to avoid a deadlock - the child process may not be able to exit
  while the pipes are open.
http://cvs.php.net/diff.php/phpdoc/en/reference/ibase/functions/ibase-timefmt.xml?r1=1.3&r2=1.4&ty=u
Index: phpdoc/en/reference/ibase/functions/ibase-timefmt.xml
diff -u phpdoc/en/reference/ibase/functions/ibase-timefmt.xml:1.3 
phpdoc/en/reference/ibase/functions/ibase-timefmt.xml:1.4
--- phpdoc/en/reference/ibase/functions/ibase-timefmt.xml:1.3   Tue Sep  2 05:48:35 
2003
+++ phpdoc/en/reference/ibase/functions/ibase-timefmt.xml   Sat Feb 28 10:13:35 
2004
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -18,7 +18,7 @@
 
  Sets the format of timestamp, date or time type columns returned
  from queries. Internally, the columns are formatted by c-function
- strftime(), so refer to it's documentation regarding to the format
+ strftime(), so refer to its documentation regarding to the format
  of the string. columntype is one of the
  constants IBASE_TIMESTAMP, IBASE_DATE and IBASE_TIME. If omitted,
  defaults to IBASE_TIMESTAMP for backwards compatibility.
http://cvs.php.net/diff.php/phpdoc/en/reference/image/reference.xml?r1=1.18&r2=1.19&ty=u
Index: phpdoc/en/reference/image/reference.xml
diff -u phpdoc/en/reference/image/reference.xml:1.18 
phpdoc/en/reference/image/reference.xml:1.19
--- phpdoc/en/reference/image/reference.xml:1.18Tue Feb 24 03:45:53 2004
+++ phpdoc/en/reference/image/reference.xml Sat Feb 28 10:13:36 2004
@@ -1,5 +1,5 @@
 
-
+
 
  Image Functions
  Image
@@ -52,7 +52,7 @@
 Since PHP 4.3 there is a bundled version of the GD lib. This bundled
 version has some additional features like alpha blending, and should
 be used in preference to the external library
- 

[PHP-DOC] cvs: phpdoc /en/features http-auth.xml /en/reference/apache/functions apache-response-headers.xml /en/reference/array/functions array-key-exists.xml range.xml /en/reference/curl reference.xml /en/reference/imap/functions imap-get-quota.xml /en/reference/math/functions log.xml /en/reference/misc/functions exit.xml /en/reference/nsapi/functions nsapi-response-headers.xml /en/reference/strings/functions sprintf.xml

2004-03-05 Thread Dave
daveFri Mar  5 21:40:23 2004 EDT

  Modified files:  
/phpdoc/en/features http-auth.xml 
/phpdoc/en/reference/apache/functions   apache-response-headers.xml 
/phpdoc/en/reference/array/functionsarray-key-exists.xml range.xml 
/phpdoc/en/reference/curl   reference.xml 
/phpdoc/en/reference/imap/functions imap-get-quota.xml 
/phpdoc/en/reference/math/functions log.xml 
/phpdoc/en/reference/misc/functions exit.xml 
/phpdoc/en/reference/nsapi/functionsnsapi-response-headers.xml 
/phpdoc/en/reference/strings/functions  sprintf.xml 
  Log:
  - "PHP version x.y" => "PHP x.y" consistency.
  
  http://cvs.php.net/diff.php/phpdoc/en/features/http-auth.xml?r1=1.37&r2=1.38&ty=u
Index: phpdoc/en/features/http-auth.xml
diff -u phpdoc/en/features/http-auth.xml:1.37 phpdoc/en/features/http-auth.xml:1.38
--- phpdoc/en/features/http-auth.xml:1.37   Tue Jan  6 04:23:31 2004
+++ phpdoc/en/features/http-auth.xmlFri Mar  5 21:40:17 2004
@@ -1,5 +1,5 @@
 
-
+
  
   HTTP authentication with PHP
 
@@ -26,7 +26,7 @@

 Autoglobals, 
 such as $_SERVER, became 
-available in PHP version 4.1.0. 
+available in PHP 4.1.0. 
 $HTTP_SERVER_VARS has been available since PHP 3.

   
http://cvs.php.net/diff.php/phpdoc/en/reference/apache/functions/apache-response-headers.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc/en/reference/apache/functions/apache-response-headers.xml
diff -u phpdoc/en/reference/apache/functions/apache-response-headers.xml:1.5 
phpdoc/en/reference/apache/functions/apache-response-headers.xml:1.6
--- phpdoc/en/reference/apache/functions/apache-response-headers.xml:1.5Sun 
Dec  7 16:01:09 2003
+++ phpdoc/en/reference/apache/functions/apache-response-headers.xmlFri Mar  5 
21:40:18 2004
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -16,7 +16,7 @@
  
 
  Returns an array of all Apache response headers.  This functionality
- is only available in PHP version 4.3.0 and greater.
+ is only available in PHP 4.3.0 and greater.
 
 &reference.apache.note-nsapi-module;
 
http://cvs.php.net/diff.php/phpdoc/en/reference/array/functions/array-key-exists.xml?r1=1.7&r2=1.8&ty=u
Index: phpdoc/en/reference/array/functions/array-key-exists.xml
diff -u phpdoc/en/reference/array/functions/array-key-exists.xml:1.7 
phpdoc/en/reference/array/functions/array-key-exists.xml:1.8
--- phpdoc/en/reference/array/functions/array-key-exists.xml:1.7Fri Jul 25 
12:38:56 2003
+++ phpdoc/en/reference/array/functions/array-key-exists.xmlFri Mar  5 21:40:19 
2004
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -37,7 +37,7 @@
 
  
   The name of this function is key_exists
-  in PHP version 4.0.6.
+  in PHP 4.0.6.
  
 
 
http://cvs.php.net/diff.php/phpdoc/en/reference/array/functions/range.xml?r1=1.13&r2=1.14&ty=u
Index: phpdoc/en/reference/array/functions/range.xml
diff -u phpdoc/en/reference/array/functions/range.xml:1.13 
phpdoc/en/reference/array/functions/range.xml:1.14
--- phpdoc/en/reference/array/functions/range.xml:1.13  Thu Dec 18 12:43:30 2003
+++ phpdoc/en/reference/array/functions/range.xml   Fri Mar  5 21:40:19 2004
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -66,7 +66,7 @@
 
 
  
-  Prior to PHP version 4.1.0, range only generated
+  Prior to PHP 4.1.0, range only generated
   incrementing integer arrays.  Support for character sequences and
   decrementing arrays was added in 4.1.0.  Character sequence values
   are limited to a length of one.  If a length greater than one is
http://cvs.php.net/diff.php/phpdoc/en/reference/curl/reference.xml?r1=1.10&r2=1.11&ty=u
Index: phpdoc/en/reference/curl/reference.xml
diff -u phpdoc/en/reference/curl/reference.xml:1.10 
phpdoc/en/reference/curl/reference.xml:1.11
--- phpdoc/en/reference/curl/reference.xml:1.10 Mon Dec 15 11:47:50 2003
+++ phpdoc/en/reference/curl/reference.xml  Fri Mar  5 21:40:20 2004
@@ -1,5 +1,5 @@
 
-
+
  
   CURL, Client URL Library Functions
   CURL
@@ -28,7 +28,7 @@
  In order to use the CURL functions you need to install the CURL package. PHP requires that you use
  CURL 7.0.2-beta or higher. PHP will not work with any version of
- CURL below version 7.0.2-beta. In PHP version 4.2.3, you will need 
+ CURL below version 7.0.2-beta. In PHP 4.2.3, you will need 
  CURL version 7.9.0 or higher.  From PHP 4.3.0, you will need a CURL
  version that's 7.9.8 or higher.  PHP 5.0.0 will most likely require 
  a CURL version greater than 7.10.5
http://cvs.php.net/diff.php/phpdoc/en/reference/imap/functions/imap-get-quota.xml?r1=1.11&r2=1.12&ty=u
Index: phpdoc/en/reference/imap/functions/imap-get-quota.xml
diff -u phpdoc/en/reference/imap/functions/imap-get-quota.xml:1.11 
phpdoc/en/reference/imap/functions/imap-get-quota.xml:1.12
--- phpdoc/en/reference/imap/functions/imap-get-quota

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

2004-03-05 Thread Dave
daveFri Mar  5 21:50:47 2004 EDT

  Modified files:  
/phpdoc/en/appendices   reserved.xml 
  Log:
  - User-Agent, not User_Agent.
  
  
http://cvs.php.net/diff.php/phpdoc/en/appendices/reserved.xml?r1=1.37&r2=1.38&ty=u
Index: phpdoc/en/appendices/reserved.xml
diff -u phpdoc/en/appendices/reserved.xml:1.37 phpdoc/en/appendices/reserved.xml:1.38
--- phpdoc/en/appendices/reserved.xml:1.37  Thu Jan  1 18:00:27 2004
+++ phpdoc/en/appendices/reserved.xml   Fri Mar  5 21:50:47 2004
@@ -1,5 +1,5 @@
 
-
+
 
  
   List of Reserved Words
@@ -474,7 +474,7 @@
'HTTP_USER_AGENT'

 
- Contents of the User_Agent: header from
+ Contents of the User-Agent: header from
  the current request, if there is one. This is a string
  denoting the user agent being which is accessing the page. A
  typical example is: Mozilla/4.5 [en] (X11; U;


Re: [PHP-DOC] cvs: phpdoc /dsssl version.dsl

2004-03-17 Thread Dave
On Wednesday, March 17, 2004, 11:12:05 PM, Derick wrote:

> On Wed, 17 Mar 2004, ali wrote:

>> ali  Wed Mar 17 07:08:18 2004 EDT
>>
>>   Modified files:
>> /phpdoc/dssslversion.dsl
>>   Log:
>>   apache_get_version was added in 4.3.4

> There is no point in changing this file as it is autogenerated.

> Derick

Speaking of which, this file was last updated over 9 months ago by
hholzgra. Is it possible for this file to be updated more often? Maybe
just after each new release? hholzgra? I know it's generated from
hholzgra's functable system (cvs module functable), so maybe someone
else could do it if absolutely necessary.

Dave


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

2004-07-09 Thread Dave
daveFri Jul  9 12:02:28 2004 EDT

  Modified files:  
/phpdoc/en/language control-structures.xml 
  Log:
  - Fix #29077.
  
  
http://cvs.php.net/diff.php/phpdoc/en/language/control-structures.xml?r1=1.92&r2=1.93&ty=u
Index: phpdoc/en/language/control-structures.xml
diff -u phpdoc/en/language/control-structures.xml:1.92 
phpdoc/en/language/control-structures.xml:1.93
--- phpdoc/en/language/control-structures.xml:1.92  Tue Jul  6 14:33:58 2004
+++ phpdoc/en/language/control-structures.xml   Fri Jul  9 12:02:28 2004
@@ -1,5 +1,5 @@
 
-
+
  
   Control Structures
 
@@ -344,7 +344,7 @@
 Advanced C users may be familiar with a different usage of the
 do..while loop, to allow stopping execution in
 the middle of code blocks, by encapsulating them with
-do..while (0), and using the do..while (1), and using the break
 statement.  The following code fragment demonstrates this:
 
@@ -364,7 +364,7 @@
 
 /* process i */
 
-} while (0);
+} while (1);
 ?>
 ]]>
  


[PHP-DOC] #29077 [Opn->Csd]: do...while(0)

2004-07-09 Thread dave
 ID:  29077
 Updated by:  [EMAIL PROTECTED]
 Reported By: oliver at burtchen dot com
-Status:  Open
+Status:  Closed
 Bug Type:Documentation problem
 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:


[2004-07-09 17:51:58] oliver at burtchen dot com

Description:

The while-condition for the example should be 1 and not 0.


Expected result:

Advanced C users may be familiar with a different usage of the
do..while loop, to allow stopping execution in the middle of code
blocks, by encapsulating them with do..while (1), and using the break 
statement. The following code fragment demonstrates this:

 


Actual result:
--
Advanced C users may be familiar with a different usage of the
do..while loop, to allow stopping execution in the middle of code
blocks, by encapsulating them with do..while (0), and using the break 
statement. The following code fragment demonstrates this:

 






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


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

2004-07-09 Thread Dave
daveFri Jul  9 12:06:48 2004 EDT

  Modified files:  
/phpdoc/en/language control-structures.xml 
  Log:
  - Revert #29077.
  
  
http://cvs.php.net/diff.php/phpdoc/en/language/control-structures.xml?r1=1.93&r2=1.94&ty=u
Index: phpdoc/en/language/control-structures.xml
diff -u phpdoc/en/language/control-structures.xml:1.93 
phpdoc/en/language/control-structures.xml:1.94
--- phpdoc/en/language/control-structures.xml:1.93  Fri Jul  9 12:02:28 2004
+++ phpdoc/en/language/control-structures.xml   Fri Jul  9 12:06:48 2004
@@ -1,5 +1,5 @@
 
-
+
  
   Control Structures
 
@@ -344,7 +344,7 @@
 Advanced C users may be familiar with a different usage of the
 do..while loop, to allow stopping execution in
 the middle of code blocks, by encapsulating them with
-do..while (1), and using the do..while (0), and using the break
 statement.  The following code fragment demonstrates this:
 
@@ -364,7 +364,7 @@
 
 /* process i */
 
-} while (1);
+} while (0);
 ?>
 ]]>
  


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

2004-07-11 Thread Dave
daveSun Jul 11 11:41:38 2004 EDT

  Modified files:  
/phpdoc/en/reference/http/functions setrawcookie.xml 
  Log:
  - Fix #29094
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/http/functions/setrawcookie.xml?r1=1.1&r2=1.2&ty=u
Index: phpdoc/en/reference/http/functions/setrawcookie.xml
diff -u phpdoc/en/reference/http/functions/setrawcookie.xml:1.1 
phpdoc/en/reference/http/functions/setrawcookie.xml:1.2
--- phpdoc/en/reference/http/functions/setrawcookie.xml:1.1 Sat Feb  7 13:56:34 
2004
+++ phpdoc/en/reference/http/functions/setrawcookie.xml Sun Jul 11 11:41:38 2004
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -20,7 +20,7 @@
 
  setrawcookie is exactly the same as
  setcookie except that the cookie value will not
- automaticall be urlencoded when send to the browser.
+ be automatically urlencoded when sent to the browser.
 
 
  See also header, setcookie and the 


[PHP-DOC] #29094 [Opn->Csd]: setrawcookie spelling error in doc

2004-07-11 Thread dave
 ID:   29094
 Updated by:   [EMAIL PROTECTED]
 Reported By:  chris at hackmosphere dot com
-Status:   Open
+Status:   Closed
 Bug Type: Documentation problem
 Operating System: n/a
 PHP Version:  5.0.0RC3
 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:


[2004-07-11 17:37:02] chris at hackmosphere dot com

Description:

Automatically is spelled automaticall under the description for
setrawcookie() in the english php manual.

http://ca3.php.net/manual/en/function.setrawcookie.php






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


[PHP-DOC] cvs: phpdoc / TODO

2004-07-14 Thread Dave
daveWed Jul 14 15:26:00 2004 EDT

  Modified files:  
/phpdoc TODO 
  Log:
  - whilst this URL is valid, it's no longer in use. update it.
  
  
http://cvs.php.net/diff.php/phpdoc/TODO?r1=1.50&r2=1.51&ty=u
Index: phpdoc/TODO
diff -u phpdoc/TODO:1.50 phpdoc/TODO:1.51
--- phpdoc/TODO:1.50Wed Jul 14 15:09:37 2004
+++ phpdoc/TODO Wed Jul 14 15:26:00 2004
@@ -38,7 +38,7 @@
   - document every undocumented function.
   - see: http://www.zend.com/phpfunc/nodoku.php
   - add an example to most every function
-  - see: http://teleri.net/~dave/missing-examples.php
+  - see: http://www.erigol.com/php/missing-examples.php
   - overhaul the manual credits/author system
   - see: http://marc.theaimsgroup.com/?l=phpdoc&m=105188580930824
  http://marc.theaimsgroup.com/?l=phpdoc&m=108682738812688


[PHP-DOC] cvs: phpdoc /en/reference/soap/functions is-soap-fault.xml

2004-07-15 Thread Dave
daveThu Jul 15 19:00:53 2004 EDT

  Modified files:  
/phpdoc/en/reference/soap/functions is-soap-fault.xml 
  Log:
  - Fix #29195 and #29196.
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/soap/functions/is-soap-fault.xml?r1=1.4&r2=1.5&ty=u
Index: phpdoc/en/reference/soap/functions/is-soap-fault.xml
diff -u phpdoc/en/reference/soap/functions/is-soap-fault.xml:1.4 
phpdoc/en/reference/soap/functions/is-soap-fault.xml:1.5
--- phpdoc/en/reference/soap/functions/is-soap-fault.xml:1.4Fri Feb 27 11:36:36 
2004
+++ phpdoc/en/reference/soap/functions/is-soap-fault.xmlThu Jul 15 19:00:52 
2004
@@ -1,5 +1,5 @@
 
-
+
   

 is_soap_fault
@@ -34,10 +34,10 @@
   
 
@@ -49,10 +49,10 @@
 


[PHP-DOC] #29195 [Opn->Csd]: Does not create a "new" SoapClient in the examples.

2004-07-15 Thread dave
 ID:  29195
 Updated by:  [EMAIL PROTECTED]
 Reported By: mark dot meredith at shaw dot ca
-Status:  Open
+Status:  Closed
 Bug Type:Documentation problem
 PHP Version: 5.0.0
 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:


[2004-07-16 00:52:21] mark dot meredith at shaw dot ca

Description:

http://ca3.php.net/manual/en/function.is-soap-fault.php

The examples do not run because they do not use the 
"new" syntax to create the SOAP client. It should read 
something like...

$client = new SoapClient("some.wsdl");

... in both examples.






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


[PHP-DOC] #29196 [Opn->Csd]: faulstring instead of faultstring.

2004-07-15 Thread dave
 ID:  29196
 Updated by:  [EMAIL PROTECTED]
 Reported By: mark dot meredith at shaw dot ca
-Status:  Open
+Status:  Closed
 Bug Type:Documentation problem
 PHP Version: 5.0.0
 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:


[2004-07-16 00:56:57] mark dot meredith at shaw dot ca

Description:

http://ca3.php.net/manual/en/function.is-soap-fault.php

The fualtstring variable is named faulstring in the 
examples.






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


Re: [PHP-DOC] I have uptodate commiter stats

2004-07-18 Thread Dave
On Monday, July 19, 2004, 11:47:40 AM, Philip wrote:

> I thought we were going to scrap this whole "raw number of
> commits" thing in favor of individual credits per page.  Or
> will both be used?  In the very least I thought we agreed
> to never use raw numbers and to be an author you must
> prove it yourself.  Quality versus Quantity.  Show me the
> money!  Computers dumb, humans smart.  User note editors is
> one thing but being an author of the PHP manual?  It just
> doesn't feel right but maybe that's because I'm not an
> author ;)

> Someone needs to fix Bonsai so we can actually view these
> commits.

> Regards,
> Philip

I agree with Philip and don't think raw number of commits is a very
good solution. But per page would also get very messy over time. Why
not just have per-extension credits (where applicable)?

Also, a "commit" doesn't make you an "author" either. As Gabor noted,
I've mostly done search and replaces, fixing thousands of typos and
grammatical mistakes. The only real content I've added is writing all
the GMP function examples. I don't consider myself fitting into the
"author" category here, maybe the crazy-pedantic-proofreader/editor category?

Again, agreeing with Philip, I don't think you should get into the
author list automatically. If people really want to be credited, they
can email the list saying so, and why they think they should
included. This doesn't seem like it's asking too much, and the
raw # of commits has the potential for abuse. Whenever people see a
"Top 10" list, instinctual competition habits may arise.

Dave

> On Sun, 18 Jul 2004, Gabor Hojtsy wrote:

>> >   http://goba.hu/commiters.html (beware 376 Kbyte html file!)
>> 
>> Additionaly to this, here is the data of how many commits people had in
>> the last half year (since january 1 actually) (with only those CVS 
>> accounts who had at least one commit).
>> 
>> I propose we put a line above baoengb and add the people above it to the
>> frontpage authors list (this is nearly the same as the magic 100 mark we
>> use). I exclude baoengb here, because I know he achieved this high 
>> commit number mostly by adding translated stuff to the EN tree, and then
>> reverting (multiple times AFAIR). Others are mostly respected people
>> here AFAIK, and they deserve to be listed as top authors. Dave is 
>> someone to think about a bit, as he mostly achieved a top commiter 
>> rating by mass fixing small mistakes (html->HTML, php->PHP, PHP3->PHP 3,
>> and such).
>> 
>> Still I keep suggesting that the historical author list should contain
>> people above the 100 commit mark from the list presented at the URL
>> above (with a bit of human correction if needed).
>> 
>> Funny that I am just above the line :))
>> 
>> OK, now provide your suggestions!
>> 
>> +---+--+
>> | didou | 1291 | - Mehdi Achour
>> |   nlopess |  573 | - Nuno Lopes
>> | georg |  245 | - Georg Richter
>> |  betz |  244 | - Friedhelm Betz
>> |  tony2001 |  243 | - Antony Dovgal
>> |  dave |  233 | - Dave (? - mostly done search&replace)
>> | vrana |  219 | - Jakub Vrana
>> |  dams |  194 | - Damien Seguy
>> |   irchtml |  189 | - Kenneth Schwartz
>> |  goba |  172 | - Gabor Hojtsy
>> 
>> +===+==+ (suggested crediting mark)
>> 
>> |   baoengb |  106 |
>> |   wez |   64 |
>> |derick |   58 |
>> | moriyoshi |   44 |
>> |mg |   41 |
>> |   pollita |   37 |
>> |   progcom |   34 |
>> |   vincent |   31 |
>> |kennyt |   28 |
>> |et |   26 |
>> |   yannick |   21 |
>> |philip |   19 |
>> | derek |   18 |
>> |  hholzgra |   14 |
>> |  sean |   13 |
>> | dickmeiss |   11 |
>> |   ali |8 |
>> | abies |6 |
>> |   jan |5 |
>> |  thetaphi |4 |
>> |   samesch |4 |
>> | helly |4 |
>> |   gui |4 |
>> |  vlad |4 |
>> |  curt |3 |
>> |mj |3 |
>> |  stas |3 |
>> |  cucinato |3 |
>> |andrei |3 |
>> | alindeman |3 |
>> | jdonagher |2 |
>> |  hirokawa |2 |
>> |  joey |2 |
>> |leszek |2 |
>> | conni |1 |
>> |   poz |1 |
>> |ae |1 |
>> |rasmus |1 |
>> |   amt |1 |
>> | hakan |1 |
>> |rioter |1 |
>> |nathan |1 |
>> |  jsjohnst |1 |
>> |  cece |1 |
>> |sp |1 |
>> +---+--+
>>


Re: [PHP-DOC] make test fails

2004-07-18 Thread Dave
On Monday, July 19, 2004, 2:47:03 PM, Curt wrote:

> My 'make test' is resulting in this:

> /usr/local/bin/nsgmls -i lang-en -D . -s
> ./dtds/dbxml-4.1.2/phpdocxml.dcl manual.xml
> /usr/local/bin/nsgmls:/usr/home/curt/cvs/php/phpdoc/en/preface.xml:50:4:E:
> general entity "contributors" not defined and no default entity
> /usr/local/bin/nsgmls:/usr/home/curt/cvs/php/phpdoc/en/appendices/filters.xml:282:19:X:
> reference to non-existent ID "zlib"
> *** Error code 1


> looks like two issues but the zlib is stoping me from completeing
> the test.

> Curt

Works fine for me. Make sure you do this:

cvs update -dP && ./configure && make test

Dave


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

2004-07-18 Thread Dave
daveMon Jul 19 00:57:49 2004 EDT

  Modified files:  
/phpdoc/en/language/oop5constants.xml 
  Log:
  - Typo fixes :)
  
  
http://cvs.php.net/diff.php/phpdoc/en/language/oop5/constants.xml?r1=1.2&r2=1.3&ty=u
Index: phpdoc/en/language/oop5/constants.xml
diff -u phpdoc/en/language/oop5/constants.xml:1.2 
phpdoc/en/language/oop5/constants.xml:1.3
--- phpdoc/en/language/oop5/constants.xml:1.2   Mon Jul 19 00:52:41 2004
+++ phpdoc/en/language/oop5/constants.xml   Mon Jul 19 00:57:49 2004
@@ -1,11 +1,11 @@
 
-
+
  
   Object Constants
   
It is possible to define constant values on a per-class basis remaining 
-   the same and unchangeable. Constant's differ from normal variables
-   in that you dont use the $ symbol to declare or use 
+   the same and unchangeable. Constants differ from normal variables
+   in that you don't use the $ symbol to declare or use 
them.  Like  members, constant
values can not be accessed with a variable that is an instance of the 
object.


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

2004-07-20 Thread Dave
daveTue Jul 20 06:25:33 2004 EDT

  Modified files:  
/phpdoc/en/reference/filesystem/functions   fgets.xml 
  Log:
  - Fix #28836.
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/filesystem/functions/fgets.xml?r1=1.12&r2=1.13&ty=u
Index: phpdoc/en/reference/filesystem/functions/fgets.xml
diff -u phpdoc/en/reference/filesystem/functions/fgets.xml:1.12 
phpdoc/en/reference/filesystem/functions/fgets.xml:1.13
--- phpdoc/en/reference/filesystem/functions/fgets.xml:1.12 Mon May 17 15:42:15 
2004
+++ phpdoc/en/reference/filesystem/functions/fgets.xml  Tue Jul 20 06:25:33 2004
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -14,10 +14,10 @@
   intlength
  
 
- Returns a string of up to length - 1 bytes read from the file
- pointed to by handle. Reading ends when
- length - 1 bytes have been read, on a newline (which is included
- in the return value), or on EOF (whichever comes first). If no length
+ Returns a string of up to length - 1 bytes read from
+ the file pointed to by handle. Reading ends when
+ length - 1 bytes have been read, on a newline (which is
+ included in the return value), or on EOF (whichever comes first). If no length
  is specified, the length defaults to 1k, or 1024 bytes.
 
 


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

2004-07-21 Thread Dave
daveWed Jul 21 04:00:06 2004 EDT

  Modified files:  
/phpdoc/en/reference/image/functionsimagefilter.xml 
  Log:
  - Document imagefilter() and add examples.
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagefilter.xml?r1=1.2&r2=1.3&ty=u
Index: phpdoc/en/reference/image/functions/imagefilter.xml
diff -u phpdoc/en/reference/image/functions/imagefilter.xml:1.2 
phpdoc/en/reference/image/functions/imagefilter.xml:1.3
--- phpdoc/en/reference/image/functions/imagefilter.xml:1.2 Mon Apr 12 18:58:32 
2004
+++ phpdoc/en/reference/image/functions/imagefilter.xml Wed Jul 21 04:00:06 2004
@@ -1,10 +1,10 @@
 
-
+
   

 imagefilter
 
- Applies Filter an image using a custom angle
+ Applies a filter to an image
 


@@ -15,9 +15,151 @@
  intfiltertype
   intargs
 
+
+ imagefilter applies the filter
+ filtertype to the image, using
+ args where necessary.
+
+
+ filtertype can be one of the following:
+ 
+  
+   
+IMG_FILTER_NEGATE: Reverses all colors of
+the image.
+   
+  
+  
+   
+IMG_FILTER_GRAYSCALE: Converts the image into
+grayscale.
+   
+  
+  
+   
+IMG_FILTER_BRIGHTNESS: Changes the brightness
+of the image. Use args to set the level of
+brightness.
+   
+  
+  
+   
+IMG_FILTER_CONTRAST: Changes the contrast of
+the image. Use args to set the level of
+contrast.
+   
+  
+  
+   
+IMG_FILTER_COLORIZE: Like
+IMG_FILTER_GRAYSCALE, except you can specify the
+color. Use 3 separate args, in the form of
+red, blue,
+green. The range for each color is 0 to 255.
+   
+  
+  
+   
+IMG_FILTER_EDGEDETECT: Uses edge detection to
+highlight the edges in the image.
+   
+  
+  
+   
+IMG_FILTER_EMBOSS: Embosses the image.
+   
+  
+  
+   
+IMG_FILTER_GAUSSIAN_BLUR: Blurs the image using
+the Gaussian method.
+   
+  
+  
+   
+IMG_FILTER_SELECTIVE_BLUR: Blurs the image.
+   
+  
+  
+   
+IMG_FILTER_MEAN_REMOVAL: Uses mean removal to
+achieve a "sketchy" effect.
+   
+  
+  
+   
+IMG_FILTER_SMOOTH: Makes the image smoother.
+Use args to set the level of smoothness.
+   
+  
+ 
+
+¬e.bundled.gd;
+
+ &return.success;
+
+
+ 
+  imagefilter grayscale example
+  
+
+  
+ 
+
+
+ 
+  imagefilter brightness example
+  
+
+  
+ 
+
+
+ 
+  imagefilter colorize example
+  
+
+  
+ 
+

   
 


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

2004-07-21 Thread Dave
daveWed Jul 21 09:14:37 2004 EDT

  Modified files:  
/phpdoc/en  contributors.xml 
  Log:
  - Add missing comma.
  
  
http://cvs.php.net/diff.php/phpdoc/en/contributors.xml?r1=1.3&r2=1.4&ty=u
Index: phpdoc/en/contributors.xml
diff -u phpdoc/en/contributors.xml:1.3 phpdoc/en/contributors.xml:1.4
--- phpdoc/en/contributors.xml:1.3  Wed Jul 21 06:13:51 2004
+++ phpdoc/en/contributors.xml  Wed Jul 21 09:14:36 2004
@@ -1,5 +1,5 @@
 
-
+
 
  
Oliver Hinckel, 
Hartmut Holzgraefe, 
-   Rasmus Lerdorf  
+   Rasmus Lerdorf, 
Andrew Lindeman,
Maxim Maletsky, 
James Moore,


Re: [PHP-DOC] Problems building the manual

2004-07-23 Thread Dave
On Friday, July 23, 2004, 9:58:45 PM, Gabor wrote:

> Hi Jon,

> What OS are you using? I remember seeing this problem myself before, but
> sadly I cannot remember what was the solution. So it would be a good
> idea to search in the archives
> (http://marc.theaimsgroup.com/?l=phpdoc).

> Goba

This happened to me once, the fix was using "cvs update -dP" to prune
empty directories.

Dave

> Jon Wood írta:
>> Hey,
>> 
>> I'm trying to build the manual from CVS by following the howto guide
>> at php.net, however I'm having problems when it gets to the actual
>> building of the manual.
>> 
>> The input/output is shown below, any help would be appreciated :)
>> 
>> [EMAIL PROTECTED]:~/phpdoc> autoconf
>> [EMAIL PROTECTED]:~/phpdoc> ./configure
>> file versions
>> Makefile.in,v 1.150
>> configure.in,v 1.201
>> configure options:
>> source directory: .
>> working directory: /home/jon/phpdoc
>>  
>> checking for php... /usr/bin/php
>> checking php version... 5.0.0 cli
>> checking for php.ini path... ./scripts
>> checking for openjade... /usr/bin/openjade
>> checking for onsgmls... /usr/bin/onsgmls
>> checking for xsltproc... /usr/bin/xsltproc
>> checking for xmllint... /usr/bin/xmllint
>> checking for docbook.dsl... ./dsssl/docbook (default)
>> checking for PHP source path... no
>> checking for PEAR source path... no
>> checking for additional PHP extensions... no
>> checking for ZendAPI... not found
>> checking for CSS to use for html docs... none
>> checking for chmonly inclusion... disabled (default)
>> checking for language... en (default)
>> checking for treesaving... saving trees: #f
>> configure: creating ./config.status
>> [...snip, creating various files...]
>>  
>> creating entities/file-entities.ent...
>>  Zend part not found
>>  Using the install part from installpart.xml
>>  
>> testing the manual for missing elements...
>>  entities/missing-entities.ent created
>>  entities/missing-ids.xml created
>> 
>> [EMAIL PROTECTED]:~/phpdoc> make html
>> touch .manual.xml
>> CONFIG_FILES=manual.xml CONFIG_HEADERS= ./config.status
>> config.status: creating manual.xml
>> /usr/bin/php -q ./scripts/rtlpatch/hackmanuallang.php en
>> /usr/bin/openjade -D . -wno-idref -c ./entities/ISO/catalog -c
>> ./dsssl/docbook/catalog -c /usr/share/sgml/CATALOG.docbk41 -c
>> /usr/share/sgml/CATALOG.jade_dsl -c ./dsssl/defaults/catalog -d
>> dsssl/html.dsl -V use-output-dir -t sgml
>> ./dtds/dbxml-4.1.2/phpdocxml.dcl manual.xml
>> /usr/bin/openjade:E: error reading "dsssl/catalog" (Is a directory)
>> make: *** [html/index.html] Interrupt
>>  [... Output stalls here ...]
>> [EMAIL PROTECTED]:~/phpdoc>
>> 



Dave


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

2004-07-26 Thread Dave
daveMon Jul 26 03:03:33 2004 EDT

  Modified files:  
/phpdoc/en/reference/mysqli reference.xml 
  Log:
  - typo fixes, case-consistency, ()-consistency.
  
  http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/reference.xml?r1=1.17&r2=1.18&ty=u
Index: phpdoc/en/reference/mysqli/reference.xml
diff -u phpdoc/en/reference/mysqli/reference.xml:1.17 
phpdoc/en/reference/mysqli/reference.xml:1.18
--- phpdoc/en/reference/mysqli/reference.xml:1.17   Mon Jul 26 02:28:48 2004
+++ phpdoc/en/reference/mysqli/reference.xmlMon Jul 26 03:03:32 2004
@@ -1,5 +1,5 @@
 
-
+
  
   Improved MySQL Extension
   mysqli
@@ -49,7 +49,7 @@
   &reftitle.constructor;
   

-mysqli() - construct a 
new mysqli object
+mysqli - construct a new 
mysqli object

   
  
@@ -57,10 +57,10 @@
   &reftitle.methods;
   

-autocommit() - turns 
on or off auto-commiting database modifications
+autocommit - turns on 
or off auto-commiting database modifications


-change_user() - 
changes the user of the specified database connection
+change_user - 
changes the user of the specified database connection


 character_set_name - returns the 
default character set for the database connection
@@ -105,7 +105,7 @@
 multi_query - 
performs multiple queries


-more_results - 
check if more results exists from currently executed multi-query
+more_results - 
check if more results exist from currently executed multi-query


 next_result - reads 
next result from currently executed multi-query
@@ -126,7 +126,7 @@
 real_connect - 
attempts to open a connection to MySQL database server


-escape_string 
- Escapes special characters in a string for use in a SQL statement, taking into 
account the current charset of the connection
+escape_string 
- escapes special characters in a string for use in a SQL statement, taking into 
account the current charset of the connection


 rollback - rolls back 
the current transaction
@@ -141,7 +141,7 @@
 stat - gets the current 
system status


-stmt_initInitializes a 
statement for use with mysqli_stmt_prepare
+stmt_init- initializes 
a statement for use with mysqli_stmt_prepare


 store_result - 
transfers a resultset from last query
@@ -164,7 +164,7 @@
 client_info - 
returns the MySQL client version as a string


-client_version -returns the MySQL 
client version as an integer
+client_version - returns the MySQL 
client version as an integer


 errno - returns the error 
code for the most recent function call
@@ -194,7 +194,7 @@
 thread_id - returns 
the thread ID for the current connection


-warning-count - 
returns the number of warnings generated during execution of the previous SQL 
statement 
+warning-count - 
returns the number of warnings generated during execution of the previous SQL 
statement

 
   
@@ -210,40 +210,40 @@
   &reftitle.methods;
   

-bind_param - Binds 
variables to a prepared statement
+bind_param - binds 
variables to a prepared statement


-bind_result - Binds 
variables to a prepared statement for result storage
+bind_result - binds 
variables to a prepared statement for result storage


-close - Closes a 
prepared statement
+close - closes a 
prepared statement


-data-seek - Seeks 
to an arbitrary row in a statement result set
+data-seek - seeks 
to an arbitrary row in a statement result set


-execute - Executes a 
prepared statement
+execute - executes a 
prepared statement


-fetch - Fetches result 
from a prepared statement into bound variables
+fetch - fetches result 
from a prepared statement into bound variables


-free_result - 
Frees stored result memory for the given statement handle
+free_result - 
frees stored result memory for the given statement handle


-result_metadata - Retrieves a 
resultset from a prepared statement for metadata information
+result_metadata - retrieves a 
resultset from a prepared statement for metadata information


 prepare - prepares 
a SQL query


-send_long_data - 
Sends data in chunks
+send_long_data - 
sends data in chunks


 reset - resets a 
prepared statement


-store_result - 
Buffers complete resultset from a prepared statement
+store_result - 
buffers complete resultset from 

[PHP-DOC] cvs: phpdoc /en/reference/array/functions array-diff-key.xml array-diff-ukey.xml array-intersect-key.xml array-intersect-ukey.xml

2004-07-26 Thread Dave
daveTue Jul 27 00:16:00 2004 EDT

  Added files: 
/phpdoc/en/reference/array/functionsarray-diff-key.xml 
array-diff-ukey.xml 
array-intersect-key.xml 
array-intersect-ukey.xml 
  Log:
  - Document 4 new array functions.
  
  
http://cvs.php.net/co.php/phpdoc/en/reference/array/functions/array-diff-key.xml?r=1.1&p=1
Index: phpdoc/en/reference/array/functions/array-diff-key.xml
+++ phpdoc/en/reference/array/functions/array-diff-key.xml


  
   
array_diff_key
Computes the difference of arrays using keys for 
comparison
   
   
Description
 
  arrayarray_diff_key
  arrayarray1
  arrayarray2
  array 
...
 

 array_diff_key returns an array
 containing all the values of array1
 that have keys that are not present in any of the other arguments.
 Note that the associativity is preserved. This function is like
 array_diff except the comparison is done on the
 keys instead of the values.


 
  array_diff_key example
  

  
  
   The printout of the above program will be:
  
  

  
 


 The two keys from the key => value pairs are
 considered equal only if 
 (string) $key1 === (string) $key2 . In other words
 a strict type check is executed so the string representation must be
 the same.


 
  Please note that this function only checks one dimension of a n-dimensional
  array. Of course you can check deeper dimensions by using
  array_diff_key($array1[0], $array2[0]);.
 


 See also array_diff,
 array_udiff
 array_diff_assoc,
 array_diff_uassoc,
 array_udiff_assoc,
 array_udiff_uassoc,
 array_diff_ukey,
 array_intersect,
 array_intersect_assoc,
 array_intersect_uassoc,
 array_intersect_key and
 array_intersect_ukey.

   
  



http://cvs.php.net/co.php/phpdoc/en/reference/array/functions/array-diff-ukey.xml?r=1.1&p=1
Index: phpdoc/en/reference/array/functions/array-diff-ukey.xml
+++ phpdoc/en/reference/array/functions/array-diff-ukey.xml


  
   
array_diff_ukey
Computes the difference of arrays using a callback function on the 
keys for comparison
   
   
Description
 
  arrayarray_diff_ukey
  arrayarray1
  arrayarray2
  array 
...
  
callbackkey_compare_func
 

 array_diff_ukey returns an array
 containing all the values of array1
 that have keys that are not present in any of the other arguments.
 Note that the associativity is preserved. This function is like
 array_diff except the comparison is done on the
 keys instead of the values.


 This comparison is done by a user supplied callback function.
 It must return an integer less than, equal to, or greater than zero if the
 first key is considered to be respectively less than, equal to, or
 greater than the second.


 
  array_diff_ukey example
  

  
  
   The printout of the above program will be:
  
  

  
 


 The two keys from the key => value pairs are
 considered equal only if 
 (string) $key1 === (string) $key2 . In other words
 a strict type check is executed so the string representation must be
 the same.


 
  Please note that this function only checks one dimension of a n-dimensional
  array. Of course you can check deeper dimensions by using
  array_diff_ukey($array1[0], $array2[0], 'callback_func');.
 


 See also array_diff,
 array_udiff
 array_diff_assoc,
 array_diff_uassoc,
 array_udiff_assoc,
 array_udiff_uassoc,
 array_diff_key,
 array_intersect,
 array_intersect_assoc,
 array_intersect_uassoc,
 array_intersect_key and
 array_intersect_ukey.

   
  



http://cvs.php.net/co.php/phpdoc/en/reference/array/functions/array-intersect-key.xml?r=1.1&p=1
Index: phpdoc/en/reference/array/functions/array-intersect-key.xml
+++ phpdoc/en/reference/array/functions/array-intersect-key.xml


  
   
array_intersect_key
Computes the intersection of arrays using keys for 
comparison
   
   
Description
 
  arrayarray_intersect_key
  arrayarray1
  arrayarray2
  array 
...
 

 array_intersect_key returns an array
 containing all the values of array1
 which have matching keys that are present in all the arguments.


 
  array_intersect_key example
  

  
  
   The printout of the above program will be:
  
  

  
 


 In our example you see that only the keys 'blue'
 and 'green' are present in both arrays and thus
 returned. Also notice tha

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

2004-07-26 Thread Dave
daveTue Jul 27 00:28:31 2004 EDT

  Modified files:  
/phpdoc/en/reference/array/functionsarray-intersect-uassoc.xml 
  Log:
  - s/function/functions/, move a para around and add some see alsos.
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/array/functions/array-intersect-uassoc.xml?r1=1.1&r2=1.2&ty=u
Index: phpdoc/en/reference/array/functions/array-intersect-uassoc.xml
diff -u phpdoc/en/reference/array/functions/array-intersect-uassoc.xml:1.1 
phpdoc/en/reference/array/functions/array-intersect-uassoc.xml:1.2
--- phpdoc/en/reference/array/functions/array-intersect-uassoc.xml:1.1  Mon Jul 26 
06:08:51 2004
+++ phpdoc/en/reference/array/functions/array-intersect-uassoc.xml  Tue Jul 27 
00:28:31 2004
@@ -1,9 +1,9 @@
 
-
+
   

 array_intersect_uassoc
-Computes the intersection of arrays with additional index check. The 
indexes are compared by using a callback functions.
+Computes the intersection of arrays with additional index check. The 
indexes are compared by using a callback function


 Description
@@ -19,7 +19,12 @@
  containing all the values of array1
  that are present in all the arguments. Note that the keys are used in
  the comparison unlike in array_intersect.
- The indexes are compared by using a callback functions.
+
+
+ The index comparison is done by a user supplied callback function.
+ It must return an integer less than, equal to, or greater than zero
+ if the first argument is considered to be respectively less than,
+ equal to, or greater than the second.
 
 
  
@@ -48,17 +53,12 @@
  
 
 
- For comparison is used the user supplied callback function.
- It must return an integer less than, equal
- to, or greater than zero if the first argument is considered to
- be respectively less than, equal to, or greater than the
- second.
-
-
  See also array_intersect,
  array_intersect_assoc,
- array_uintersect_assoc and
- array_uintersect_uassoc.
+ array_uintersect_assoc,
+ array_uintersect_uassoc,
+ array_intersect_key and
+ array_intersect_ukey.
 

   


Re: [PHP-DOC] a few coding standards

2004-07-28 Thread Dave
On Wednesday, July 28, 2004, 9:11:44 PM, Nuno wrote:

>> Hello all!
>>
>> Just want to confirm that the following are true as I don't
>> believe these have been made official [yet]:
>>
>> a) No ending period in the reftitle

> agree here

Obviously I agree, after that commit I did fixing the few functions
that didn't conform. :)

>> b) No ending period in the see also

> Why not?
> "See also echo and print."

> The ending period makes sense to me!

This also make sense to me. Unlike the refpurpose, the "see also"
paragraph is exactly that; a paragraph in the body of the text, and
should end in a period like any other sentence.

Consistency between these sorts of things may not be as important as
content, but it does make for a more refined and professional manual.



> Nuno

Dave


Re: [PHP-DOC] PECL doc proposal

2004-07-28 Thread Dave
On Thursday, July 29, 2004, 8:43:27 AM, Philip wrote:

> Hello!

> In documenting the PECL extension changes I came across a few 
> bumps and ended up with the following, please add suggestions 
> on how this could be improved.  This is for bug #28018 and also
> a PECL bug #2008

>   http://pecl.php.net/bugs/bug.php?id=2008
>   http://bugs.php.net/bug.php?id=28018

> Using ref.crack as an example:

> from configure.xml
> ---
>  
>   &pecl.linux.php45;
>url="&url.pecl.package;crack">&url.pecl.package;crack.
>   In order to use these functions, you must compile PHP with Crack support
>   by using the  role="configure">--with-crack[=DIR] option.
>  
>  
>   Windows users will enable php_crack.dll in order to
>   use these functions.
>   &pecl.windows.php45;
>  

> from language-snippets.ent
> ---
>  extensions/ directory within your PHP 
> Windows binaries download.  In PHP 5 it can be found in the 
> separate PECL download from 
> PHP Downloads.'>

>  resides in the ext/ directory within the PHP 
> sources.  In PHP 5 this is no longer bundled and instead can be 
> found in PECL here:'>

> Regards,
> Philip

Looks good except for "this PECL extensions".

Dave


[PHP-DOC] cvs: phpdoc /en/reference/ftp/functions ftp-chmod.xml ftp-close.xml

2004-07-28 Thread Dave
daveThu Jul 29 01:54:45 2004 EDT

  Modified files:  
/phpdoc/en/reference/ftp/functions  ftp-chmod.xml ftp-close.xml 
  Log:
  - proto fixes.
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/ftp/functions/ftp-chmod.xml?r1=1.4&r2=1.5&ty=u
Index: phpdoc/en/reference/ftp/functions/ftp-chmod.xml
diff -u phpdoc/en/reference/ftp/functions/ftp-chmod.xml:1.4 
phpdoc/en/reference/ftp/functions/ftp-chmod.xml:1.5
--- phpdoc/en/reference/ftp/functions/ftp-chmod.xml:1.4 Wed Jun  9 08:10:05 2004
+++ phpdoc/en/reference/ftp/functions/ftp-chmod.xml Thu Jul 29 01:54:45 2004
@@ -1,5 +1,5 @@
 
-
+
   

 ftp_chmod
@@ -8,7 +8,7 @@

 Description
  
-  stringftp_chmod
+  intftp_chmod
   
resourceftp_stream
   intmode
   stringfilename
@@ -19,6 +19,9 @@
  given as an octal value.
 
 
+ Returns mode on success, or &false; on failure.
+
+
  
   ftp_chmod example
   
@@ -33,7 +36,7 @@
 $login_result = ftp_login($conn_id, $ftp_user_name, $ftp_user_pass);
 
 // try to chmod $file to 644
-if (ftp_chmod($conn_id, 0644, $file)) {
+if (ftp_chmod($conn_id, 0644, $file) !== false) {
  echo "$file chmoded successfully to 644\n";
 } else {
  echo "could not chmod $file\n";
http://cvs.php.net/diff.php/phpdoc/en/reference/ftp/functions/ftp-close.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc/en/reference/ftp/functions/ftp-close.xml
diff -u phpdoc/en/reference/ftp/functions/ftp-close.xml:1.5 
phpdoc/en/reference/ftp/functions/ftp-close.xml:1.6
--- phpdoc/en/reference/ftp/functions/ftp-close.xml:1.5 Fri Dec 19 09:40:54 2003
+++ phpdoc/en/reference/ftp/functions/ftp-close.xml Thu Jul 29 01:54:45 2004
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -9,15 +9,18 @@

 Description
  
-  voidftp_close
+  boolftp_close
   
resourceftp_stream
  
- 
+ 
   ftp_close closes ftp_stream
   and releases the resource.  After calling this function, 
   you can no longer use the FTP connection and must create a new one 
   with ftp_connect.
-
+
+
+ &return.success;
+
 
  
   ftp_close example


[PHP-DOC] cvs: phpdoc /en/reference/dir/functions getcwd.xml /en/reference/strings/functions fprintf.xml printf.xml vprintf.xml

2004-07-29 Thread Dave
daveFri Jul 30 00:20:42 2004 EDT

  Modified files:  
/phpdoc/en/reference/dir/functions  getcwd.xml 
/phpdoc/en/reference/strings/functions  fprintf.xml printf.xml 
vprintf.xml 
  Log:
  - Proto fixes.
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/dir/functions/getcwd.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc/en/reference/dir/functions/getcwd.xml
diff -u phpdoc/en/reference/dir/functions/getcwd.xml:1.5 
phpdoc/en/reference/dir/functions/getcwd.xml:1.6
--- phpdoc/en/reference/dir/functions/getcwd.xml:1.5Mon Feb  9 07:30:42 2004
+++ phpdoc/en/reference/dir/functions/getcwd.xmlFri Jul 30 00:20:42 2004
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -13,7 +13,7 @@
   
  
 
- Returns the current working directory.
+ Returns the current working directory, or &false; on failure.
 
 
  
http://cvs.php.net/diff.php/phpdoc/en/reference/strings/functions/fprintf.xml?r1=1.2&r2=1.3&ty=u
Index: phpdoc/en/reference/strings/functions/fprintf.xml
diff -u phpdoc/en/reference/strings/functions/fprintf.xml:1.2 
phpdoc/en/reference/strings/functions/fprintf.xml:1.3
--- phpdoc/en/reference/strings/functions/fprintf.xml:1.2   Fri May 30 12:47:59 
2003
+++ phpdoc/en/reference/strings/functions/fprintf.xml   Fri Jul 30 00:20:42 2004
@@ -1,5 +1,5 @@
 
-
+
   

 fprintf
@@ -119,6 +119,9 @@
   
  
 
+
+ Returns the length of the outputted string.
+
 
  See also: printf,
  sprintf,
http://cvs.php.net/diff.php/phpdoc/en/reference/strings/functions/printf.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc/en/reference/strings/functions/printf.xml
diff -u phpdoc/en/reference/strings/functions/printf.xml:1.5 
phpdoc/en/reference/strings/functions/printf.xml:1.6
--- phpdoc/en/reference/strings/functions/printf.xml:1.5Fri May 21 19:05:20 
2004
+++ phpdoc/en/reference/strings/functions/printf.xmlFri Jul 30 00:20:42 2004
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -9,13 +9,16 @@

 Description
  
-  voidprintf
+  intprintf
   stringformat
   mixedargs
  
 
  Produces output according to format, which
  is described in the documentation for sprintf.
+
+
+ Returns the length of the outputted string.
 
 
  See also 
http://cvs.php.net/diff.php/phpdoc/en/reference/strings/functions/vprintf.xml?r1=1.3&r2=1.4&ty=u
Index: phpdoc/en/reference/strings/functions/vprintf.xml
diff -u phpdoc/en/reference/strings/functions/vprintf.xml:1.3 
phpdoc/en/reference/strings/functions/vprintf.xml:1.4
--- phpdoc/en/reference/strings/functions/vprintf.xml:1.3   Sat Jul 27 00:07:06 
2002
+++ phpdoc/en/reference/strings/functions/vprintf.xml   Fri Jul 30 00:20:42 2004
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -9,7 +9,7 @@

 Description
  
-  voidvprintf
+  intvprintf
   stringformat
   arrayargs
  
@@ -21,6 +21,9 @@
 
  Operates as printf but accepts an array of
  arguments, rather than a variable number of arguments.  
+
+
+ Returns the length of the outputted string.
 
 
  See also printf, sprintf, 


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

2004-07-29 Thread Dave
daveFri Jul 30 01:04:21 2004 EDT

  Modified files:  
/phpdoc/en/reference/strings/functions  fprintf.xml sprintf.xml 
  Log:
  - Remove the format documentation from fprintf and link to the
documentation in sprintf. Keeping it in one place is better and the
fprintf version was outdated anyway.
  
  - The precision specifier works on strings too. Document this and add
examples.
  
  - Add some basic examples of each type specifier.
  
  http://cvs.php.net/diff.php/phpdoc/en/reference/strings/functions/fprintf.xml?r1=1.3&r2=1.4&ty=u
Index: phpdoc/en/reference/strings/functions/fprintf.xml
diff -u phpdoc/en/reference/strings/functions/fprintf.xml:1.3 
phpdoc/en/reference/strings/functions/fprintf.xml:1.4
--- phpdoc/en/reference/strings/functions/fprintf.xml:1.3   Fri Jul 30 00:20:42 
2004
+++ phpdoc/en/reference/strings/functions/fprintf.xml   Fri Jul 30 01:04:21 2004
@@ -1,5 +1,5 @@
 
-
+
   

 fprintf
@@ -14,112 +14,12 @@
   mixedargs
  
 
- Write a string produced according to the formatting string
- format to the stream resource specified
- by handle..
+ Write a string produced according to format
+ to the stream resource specified by handle.
+ format is described in the documentation for
+ sprintf.
 
 
- The format string is composed of zero or more directives:
- ordinary characters (excluding %) that are
- copied directly to the result, and conversion
- specifications, each of which results in fetching its
- own parameter.  This applies to fprintf,
- sprintf, and printf.
-
-
- Each conversion specification consists of a percent sign
- (%), followed by one or more of these
- elements, in order:
- 
-  
-   
-An optional padding specifier that says
-what character will be used for padding the results to the
-right string size.  This may be a space character or a
-0 (zero character).  The default is to pad
-with spaces.  An alternate padding character can be specified
-by prefixing it with a single quote (').
-See the examples below.
-   
-  
-  
-   
-An optional alignment specifier that says
-if the result should be left-justified or right-justified.
-The default is right-justified; a -
-character here will make it left-justified.
-   
-  
-  
-   
-An optional number, a width specifier
-that says how many characters (minimum) this conversion should
-result in.
-   
-  
-  
-   
-An optional precision specifier that says
-how many decimal digits should be displayed for floating-point
-numbers.  This option has no effect for other types than
-float. (Another function useful for formatting numbers is
-number_format.)
-   
-  
-  
-   
-A type specifier that says what type the
-argument data should be treated as.  Possible types:
-
- 
-  % - a literal percent character. No
-  argument is required.
- 
- 
-  b - the argument is treated as an
-  integer, and presented as a binary number.
- 
- 
-  c - the argument is treated as an
-  integer, and presented as the character with that ASCII
-  value.
- 
- 
-  d - the argument is treated as an
-  integer, and presented as a (signed) decimal number.
- 
- 
-  u - the argument is treated as an
-  integer, and presented as an unsigned decimal number.
- 
- 
-  f - the argument is treated as a
-  float, and presented as a floating-point number.
- 
- 
-  o - the argument is treated as an
-  integer, and presented as an octal number.
- 
- 
-  s - the argument is treated as and
-  presented as a string.
- 
- 
-  x - the argument is treated as an integer
-  and presented as a hexadecimal number (with lowercase
-  letters).
- 
- 
-  X - the argument is treated as an integer
-  and presented as a hexadecimal number (with uppercase
-  letters).
- 
-
-   
-  
- 
-
-
  Returns the length of the outputted string.
 
 
@@ -134,26 +34,36 @@
 Examples
 
  
-  sprintf: zero-padded integers
+  fprintf: zero-padded integers
   
 
   
  
  
-  sprintf: formatting currency
+  fprintf: formatting currency
   
 
   
http://cvs.php.net/diff.php/phpdoc/en/reference/strings/functions/sprintf.xml?r1=1.9&r2=1.10&ty=u
Index: phpdoc/en/reference/strings/functions/sprintf.xml
diff -u phpdoc/en/reference/strings/functions/sprintf.xml:1.9 
phpdoc/en/refere

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

2004-07-31 Thread Dave
daveSat Jul 31 05:56:10 2004 EDT

  Modified files:  
/phpdoc/en/reference/strings/functions  count-chars.xml 
  Log:
  - Typo.
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/strings/functions/count-chars.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc/en/reference/strings/functions/count-chars.xml
diff -u phpdoc/en/reference/strings/functions/count-chars.xml:1.5 
phpdoc/en/reference/strings/functions/count-chars.xml:1.6
--- phpdoc/en/reference/strings/functions/count-chars.xml:1.5   Mon Oct 20 07:54:57 
2003
+++ phpdoc/en/reference/strings/functions/count-chars.xml   Sat Jul 31 05:56:10 
2004
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -18,7 +18,7 @@
 
  Counts the number of occurrences of every byte-value (0..255) in
  string and returns it in various ways.
- The optional parameter mode default to
+ The optional parameter mode defaults to
  0. Depending on mode
  count_chars returns one of the following:
  


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

2004-07-31 Thread Dave
daveSat Jul 31 08:44:00 2004 EDT

  Modified files:  
/phpdoc/en  contributors.xml 
  Log:
  - At the request of Kenneth.
  
  
http://cvs.php.net/diff.php/phpdoc/en/contributors.xml?r1=1.8&r2=1.9&ty=u
Index: phpdoc/en/contributors.xml
diff -u phpdoc/en/contributors.xml:1.8 phpdoc/en/contributors.xml:1.9
--- phpdoc/en/contributors.xml:1.8  Thu Jul 29 09:34:59 2004
+++ phpdoc/en/contributors.xml  Sat Jul 31 08:44:00 2004
@@ -1,5 +1,5 @@
 
-
+
 
  
Aidan Lister,
Nuno Lopes,  
-   Kenneth Schwartz&listendand; 
Tom Sommer.  
   
  


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

2004-07-31 Thread Dave
daveSat Jul 31 08:53:07 2004 EDT

  Modified files:  
/phpdoc/en  bookinfo.xml 
  Log:
  - At the request of Kenneth.
  
  
http://cvs.php.net/diff.php/phpdoc/en/bookinfo.xml?r1=1.41&r2=1.42&ty=u
Index: phpdoc/en/bookinfo.xml
diff -u phpdoc/en/bookinfo.xml:1.41 phpdoc/en/bookinfo.xml:1.42
--- phpdoc/en/bookinfo.xml:1.41 Wed Jul 28 17:22:01 2004
+++ phpdoc/en/bookinfo.xml  Sat Jul 31 08:53:07 2004
@@ -1,5 +1,5 @@
 
-
+
 
  
   &PHPManual;
@@ -27,10 +27,6 @@


 GeorgRichter 
-   
-
-   
-KennethSchwartz 

 



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

2004-07-31 Thread Dave
daveSat Jul 31 08:55:22 2004 EDT

  Modified files:  
/phpdoc/en  contributors.xml 
  Log:
  - Add listendand back. Oops.
  
  
http://cvs.php.net/diff.php/phpdoc/en/contributors.xml?r1=1.9&r2=1.10&ty=u
Index: phpdoc/en/contributors.xml
diff -u phpdoc/en/contributors.xml:1.9 phpdoc/en/contributors.xml:1.10
--- phpdoc/en/contributors.xml:1.9  Sat Jul 31 08:44:00 2004
+++ phpdoc/en/contributors.xml  Sat Jul 31 08:55:22 2004
@@ -1,5 +1,5 @@
 
-
+
 
  
Vincent Gevers,  
Aidan Lister,
-   Nuno Lopes,  
+   Nuno Lopes&listendand;   
Tom Sommer.  
   
  


Re: [PHP-DOC] cvs: phpdoc /en contributors.xml

2004-07-31 Thread Dave
On Saturday, July 31, 2004, 11:24:26 PM, Gabor wrote:

> Hm, why?

> Goba

I'm not sure exactly, we got speaking and I mentioned that he was
listed on the contributor page and the bookinfo page, and he asked
that he be removed.

Maybe you can email him directly? irchtml at php dot net probably
still works.

Dave

>> dave Sat Jul 31 08:44:00 2004 EDT
>> 
>>   Modified files:  
>> /phpdoc/en   contributors.xml 
>>   Log:
>>   - At the request of Kenneth.
>>   
>>   
>> http://cvs.php.net/diff.php/phpdoc/en/contributors.xml?r1=1.8&r2=1.9&ty=u
>> Index: phpdoc/en/contributors.xml
>> diff -u phpdoc/en/contributors.xml:1.8 phpdoc/en/contributors.xml:1.9
>> --- phpdoc/en/contributors.xml:1.8   Thu Jul 29 09:34:59 2004
>> +++ phpdoc/en/contributors.xml   Sat Jul 31 08:44:00 2004
>> @@ -1,5 +1,5 @@
>>  
>> -
>> +
>>  
>>   
>> Aidan Lister,
>> Nuno Lopes,  
>> -   Kenneth Schwartz&listendand; 
>> Tom Sommer.  
>>
>>   
>> 


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

2004-08-04 Thread Dave
daveWed Aug  4 10:55:47 2004 EDT

  Modified files:  
/phpdoc/en/reference/strings/functions  substr-compare.xml 
  Log:
  - Fix #29525.
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/strings/functions/substr-compare.xml?r1=1.2&r2=1.3&ty=u
Index: phpdoc/en/reference/strings/functions/substr-compare.xml
diff -u phpdoc/en/reference/strings/functions/substr-compare.xml:1.2 
phpdoc/en/reference/strings/functions/substr-compare.xml:1.3
--- phpdoc/en/reference/strings/functions/substr-compare.xml:1.2Mon Apr 26 
13:43:26 2004
+++ phpdoc/en/reference/strings/functions/substr-compare.xmlWed Aug  4 10:55:47 
2004
@@ -1,5 +1,5 @@
 
-
+
   

 substr_compare
@@ -15,7 +15,7 @@
  stringstr
  intoffset
  intlength
- boolcase_sensitivity
+ boolcase_insensitivity
 
 
 
@@ -32,8 +32,8 @@
  substr_compare prints warning and returns &false;.
 
 
- If case_sensitivity is &true;, comparison is case
- sensitive.
+ If case_insensitivity is &true;, comparison is case
+ insensitive.
 
 
  


[PHP-DOC] #29525 [Opn->Csd]: substr_compare documentation paramer sensitivity should be insensitivity?

2004-08-04 Thread dave
 ID:   29525
 Updated by:   [EMAIL PROTECTED]
 Reported By:  echion at joshua dot haninge dot kth dot se
-Status:   Open
+Status:   Closed
 Bug Type: Documentation problem
 Operating System: Linux
 PHP Version:  5.0.0
 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.

You're right, as the purpose of the function states, "... optionally
case insensitive".


Previous Comments:


[2004-08-04 16:32:26] echion at joshua dot haninge dot kth dot se

Description:

The parameter case_sensitivity should probably be named
case_insensitivity in the documentation.

"int substr_compare ( string main_str, string str, int offset [, int
length [, bool case_sensitivity]])"

and

"If case_sensitivity is TRUE, comparison is case sensitive."


Reproduce code:
---
print substr_compare("abc", "ABC", 0, 3, TRUE);
print substr_compare("abc", "ABC", 0, 3, FALSE);

Expected result:

1
0

Actual result:
--
0
1





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


  1   2   3   >