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

2007-06-15 Thread Mehdi Achour
didou   Sat Jun 16 01:47:38 2007 UTC

  Modified files:  
/phpdoc/en/reference/printerreference.xml 
  Log:
  printer ...
  # sounds like it's time for bed :)
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/printer/reference.xml?r1=1.9&r2=1.10&diff_format=u
Index: phpdoc/en/reference/printer/reference.xml
diff -u phpdoc/en/reference/printer/reference.xml:1.9 
phpdoc/en/reference/printer/reference.xml:1.10
--- phpdoc/en/reference/printer/reference.xml:1.9   Sat Jun 16 01:45:34 2007
+++ phpdoc/en/reference/printer/reference.xml   Sat Jun 16 01:47:37 2007
@@ -1,5 +1,5 @@
 
-
+
 
 
 
@@ -31,7 +31,7 @@

 &reftitle.constants;
 
- See also the Printer Predefined 
Constants
+ See also the Printer Predefined 
Constants
 




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

2007-06-15 Thread Mehdi Achour
didou   Sat Jun 16 01:46:46 2007 UTC

  Added files: 
/phpdoc/en/reference/printerconstants.xml 
  Log:
  Document printer constants
  # forgot to cvs add the file
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/printer/constants.xml?view=markup&rev=1.1
Index: phpdoc/en/reference/printer/constants.xml
+++ phpdoc/en/reference/printer/constants.xml



 
  Constants
  Printer Predefined Constants
 
 
 
  &reftitle.constants;
  &extension.constants;
  
   

 PRINTER_COPIES
 (integer)


 
  
 

   
   

 PRINTER_MODE
 (integer)


 
  
 

   
   

 PRINTER_TITLE
 (integer)


 
  
 

   
   

 PRINTER_DEVICENAME
 (integer)


 
  
 

   
   

 PRINTER_DRIVERVERSION
 (integer)


 
  
 

   
   

 PRINTER_OUTPUT_FILE
 (integer)


 
  
 

   
   

 PRINTER_RESOLUTION_Y
 (integer)


 
  
 

   
   

 PRINTER_RESOLUTION_X
 (integer)


 
  
 

   
   

 PRINTER_SCALE
 (integer)


 
  
 

   
   

 PRINTER_BACKGROUND_COLOR
 (integer)


 
  
 

   
   

 PRINTER_PAPER_LENGTH
 (integer)


 
  
 

   
   

 PRINTER_PAPER_WIDTH
 (integer)


 
  
 

   
   

 PRINTER_PAPER_FORMAT
 (integer)


 
  
 

   
   

 PRINTER_FORMAT_CUSTOM
 (integer)


 
  
 

   
   

 PRINTER_FORMAT_LETTER
 (integer)


 
  
 

   
   

 PRINTER_FORMAT_LEGAL
 (integer)


 
  
 

   
   

 PRINTER_FORMAT_A3
 (integer)


 
  
 

   
   

 PRINTER_FORMAT_A4
 (integer)


 
  
 

   
   

 PRINTER_FORMAT_A5
 (integer)


 
  
 

   
   

 PRINTER_FORMAT_B4
 (integer)


 
  
 

   
   

 PRINTER_FORMAT_B5
 (integer)


 
  
 

   
   

 PRINTER_FORMAT_FOLIO
 (integer)


 
  
 

   
   

 PRINTER_ORIENTATION
 (integer)


 
  
 

   
   

 PRINTER_ORIENTATION_PORTRAIT
 (integer)


 
  
 

   
   

 PRINTER_ORIENTATION_LANDSCAPE
 (integer)


 
  
 

   
   

 PRINTER_TEXT_COLOR
 (integer)


 
  
 

   
   

 PRINTER_TEXT_ALIGN
 (integer)


 
  
 

   
   

 PRINTER_TA_BASELINE
 (integer)


 
  
 

   
   

 PRINTER_TA_BOTTOM
 (integer)


 
  
 

   
   

 PRINTER_TA_TOP
 (integer)


 
  
 

   
   

 PRINTER_TA_CENTER
 (integer)


 
  
 

   
   

 PRINTER_TA_LEFT
 (integer)


 
  
 

   
   

 PRINTER_TA_RIGHT
 (integer)


 
  
 

   
   

 PRINTER_PEN_SOLID
 (integer)


 
  
 

   
   

 PRINTER_PEN_DASH
 (integer)


 
  
 

   
   

 PRINTER_PEN_DOT
 (integer)


 
  
 

   
   

 PRINTER_PEN_DASHDOT
 (integer)


 
  
 

   
   

 PRINTER_PEN_DASHDOTDOT
 (integer)


 
  
 

   
   

 PRINTER_PEN_INVISIBLE
 (integer)


 
  
 

   
   

 PRINTER_BRUSH_SOLID
 (integer)


 
  
 

   
   

 PRINTER_BRUSH_CUSTOM
 (integer)


 
  
 

   
   

 PRINTER_BRUSH_DIAGONAL
 (integer)


 
  
 

   
   

 PRINTER_BRUSH_CROSS
 (integer)


 
  
 

   
   

 PRINTER_BRUSH_DIAGCROSS
 (integer)


 
  
 

   
   

 PRINTER_BRUSH_FDIAGONAL
 (integer)


 
  
 

   
   

 PRINTER_BRUSH_HORIZONTAL
 (integer)


 
  
 

   
   

 PRINTER_BRUSH_VERTICAL
 (integer)


 
  
 

   
   

 PRINTER_FW_THIN
 (integer)


 
  
 

   
   

 PRINTER_FW_ULTRALIGHT
 (integer)


 
  
 

   
   

 PRINTER_FW_LIGHT
 (integer)


 
  
 

   
   

 PRINTER_FW_NORMAL
 (integer)


 
  
 

   
   

 PRINTER_FW_MEDIUM
 (integer)


 
  
 

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

2007-06-15 Thread Mehdi Achour
didou   Sat Jun 16 01:45:34 2007 UTC

  Modified files:  
/phpdoc/en/reference/printerreference.xml 
  Log:
  Document printer constants
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/printer/reference.xml?r1=1.8&r2=1.9&diff_format=u
Index: phpdoc/en/reference/printer/reference.xml
diff -u phpdoc/en/reference/printer/reference.xml:1.8 
phpdoc/en/reference/printer/reference.xml:1.9
--- phpdoc/en/reference/printer/reference.xml:1.8   Sat Mar  3 22:12:01 2007
+++ phpdoc/en/reference/printer/reference.xml   Sat Jun 16 01:45:34 2007
@@ -1,5 +1,5 @@
 
-
+
 
 
 
@@ -27,7 +27,14 @@
  font and to a pen.
 

-
+   
+   
+&reftitle.constants;
+
+ See also the Printer Predefined 
Constants
+
+   
+   
   
 
  &reference.printer.functions;


[PHP-DOC] cvs: phpdoc /en/reference/outcontrol/functions ob-get-status.xml

2007-06-15 Thread Mehdi Achour
didou   Sat Jun 16 01:13:53 2007 UTC

  Modified files:  
/phpdoc/en/reference/outcontrol/functions   ob-get-status.xml 
  Log:
  fix entity
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/outcontrol/functions/ob-get-status.xml?r1=1.5&r2=1.6&diff_format=u
Index: phpdoc/en/reference/outcontrol/functions/ob-get-status.xml
diff -u phpdoc/en/reference/outcontrol/functions/ob-get-status.xml:1.5 
phpdoc/en/reference/outcontrol/functions/ob-get-status.xml:1.6
--- phpdoc/en/reference/outcontrol/functions/ob-get-status.xml:1.5  Fri Jun 
15 19:09:20 2007
+++ phpdoc/en/reference/outcontrol/functions/ob-get-status.xml  Sat Jun 16 
01:13:53 2007
@@ -1,5 +1,5 @@
 
-
+
 
  
   ob_get_status
@@ -27,7 +27,7 @@
  full_status
  
   
-   &true; to return all active output buffer levels. If &false, or not
+   &true; to return all active output buffer levels. If &false; or not
set, only the top level output buffer is returned.
   
  


[PHP-DOC] cvs: phpdoc /en/reference/filesystem/functions feof.xml file-exists.xml file-get-contents.xml file-put-contents.xml filectime.xml flock.xml is-readable.xml is-uploaded-file.xml readlink.xml

2007-06-15 Thread Mehdi Achour
didou   Fri Jun 15 19:45:56 2007 UTC

  Modified files:  
/phpdoc/en/reference/filesystem/functions   feof.xml file-exists.xml 
file-get-contents.xml 
file-put-contents.xml 
filectime.xml flock.xml 
is-readable.xml 
is-uploaded-file.xml 
readlink.xml 
  Log:
  WS, prepare for new doc style
  http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/filesystem/functions/feof.xml?r1=1.13&r2=1.14&diff_format=u
Index: phpdoc/en/reference/filesystem/functions/feof.xml
diff -u phpdoc/en/reference/filesystem/functions/feof.xml:1.13 
phpdoc/en/reference/filesystem/functions/feof.xml:1.14
--- phpdoc/en/reference/filesystem/functions/feof.xml:1.13  Sat Feb  3 
08:13:44 2007
+++ phpdoc/en/reference/filesystem/functions/feof.xml   Fri Jun 15 19:45:56 2007
@@ -1,5 +1,5 @@
 
-
+
 
 
  
@@ -16,23 +16,23 @@
Returns &true; if the file pointer is at EOF or an error occurs
(including socket timeout); otherwise returns &false;.
   
-   
-
- If a connection opened by fsockopen wasn't closed
- by the server, feof will wait until a timeout has
- been reached to return &true;. The default timeout value is 60 seconds.
- You may use stream_set_timeout to change this
- value.
-
-   
-   &fs.validfp.all;
-   
-
- If passed file pointer is not valid you may get an infinite loop, because
- EOF fails to return TRUE.
- 
-  feof example with an invalid file 
pointer
-  
+  
+   
+If a connection opened by fsockopen wasn't closed
+by the server, feof will wait until a timeout has
+been reached to return &true;. The default timeout value is 60 seconds.
+You may use stream_set_timeout to change this
+value.
+   
+  
+  &fs.validfp.all;
+  
+   
+If passed file pointer is not valid you may get an infinite loop, because
+EOF fails to return TRUE.
+
+ feof example with an invalid file 
pointer
+ 
  
-  
- 
-
-   
+ 
+
+   
+  
  
 
 
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/filesystem/functions/file-exists.xml?r1=1.16&r2=1.17&diff_format=u
Index: phpdoc/en/reference/filesystem/functions/file-exists.xml
diff -u phpdoc/en/reference/filesystem/functions/file-exists.xml:1.16 
phpdoc/en/reference/filesystem/functions/file-exists.xml:1.17
--- phpdoc/en/reference/filesystem/functions/file-exists.xml:1.16   Fri Mar 
23 16:10:05 2007
+++ phpdoc/en/reference/filesystem/functions/file-exists.xmlFri Jun 15 
19:45:56 2007
@@ -1,5 +1,5 @@
 
-
+
 
 
  
@@ -53,7 +53,7 @@
 linkend="ini.safe-mode-include-dir">safe_mode_include_dir.

   
-  
+
   

 The check is done using the real UID/GID instead of the effective one.
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/filesystem/functions/file-get-contents.xml?r1=1.25&r2=1.26&diff_format=u
Index: phpdoc/en/reference/filesystem/functions/file-get-contents.xml
diff -u phpdoc/en/reference/filesystem/functions/file-get-contents.xml:1.25 
phpdoc/en/reference/filesystem/functions/file-get-contents.xml:1.26
--- phpdoc/en/reference/filesystem/functions/file-get-contents.xml:1.25 Thu Oct 
26 02:17:14 2006
+++ phpdoc/en/reference/filesystem/functions/file-get-contents.xml  Fri Jun 
15 19:45:56 2007
@@ -1,100 +1,101 @@
 
-
-
-  
-   
-file_get_contents 
-Reads entire file into a string
-   
-   
-&reftitle.description;
- 
-  stringfile_get_contents
-  
stringfilename
-  booluse_include_path
-  resourcecontext
-  intoffset
-  intmaxlen
- 
- 
- Identical to file, except that
- file_get_contents returns the file in a string,
- starting at the specified offset up to
- maxlen bytes.
- On failure, file_get_contents will return &false;.
-
-
- file_get_contents is the preferred way to read the
- contents of a file into a string.  It will use memory mapping techniques 
if
- supported by your OS to enhance performance.
-
-
- 
-  If you're opening a URI with special characters, such as spaces, you
-  need to encode the URI with urlencode.
- 
-
-
- 
-  context parameter can be skipped by &null;.
- 
-
-   
-
-   
-&reftitle.changelog;
-
- 
-  
-   
-
- &Version;
- &Description;
-
-   
-   
-
- 5.0.0
- 
-  Added the context support.
- 
-
-
- 5.1.0
- 
-  Added the offset and
-  maxlen parameters.
- 
-
-   
-  
- 
-
-   
-
-   
-&reftitle.notes;
-¬e.bin-safe;
-&tip.fopen-wrapper;
-¬e.context-support;
-&warn.ssl-non-standard;
-   
-
-   
-&reftitle.se

[PHP-DOC] cvs: phpdoc /en/reference/outcontrol/functions flush.xml ob-clean.xml ob-end-clean.xml ob-end-flush.xml ob-flush.xml ob-get-clean.xml ob-get-contents.xml ob-get-flush.xml ob-get-length.xml o

2007-06-15 Thread Mehdi Achour
didou   Fri Jun 15 19:09:20 2007 UTC

  Modified files:  
/phpdoc/en/reference/outcontrol/functions   flush.xml ob-clean.xml 
ob-end-clean.xml 
ob-end-flush.xml 
ob-flush.xml 
ob-get-clean.xml 
ob-get-contents.xml 
ob-get-flush.xml 
ob-get-length.xml 
ob-get-level.xml 
ob-get-status.xml 
ob-gzhandler.xml 
ob-implicit-flush.xml 
ob-list-handlers.xml 
ob-start.xml 
output-add-rewrite-var.xml 
output-reset-rewrite-vars.xml 
  Log:
  ref.outcontrol: new doc style
  http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/outcontrol/functions/flush.xml?r1=1.6&r2=1.7&diff_format=u
Index: phpdoc/en/reference/outcontrol/functions/flush.xml
diff -u phpdoc/en/reference/outcontrol/functions/flush.xml:1.6 
phpdoc/en/reference/outcontrol/functions/flush.xml:1.7
--- phpdoc/en/reference/outcontrol/functions/flush.xml:1.6  Fri Jun 15 
19:08:56 2007
+++ phpdoc/en/reference/outcontrol/functions/flush.xml  Fri Jun 15 19:09:20 2007
@@ -1,45 +1,43 @@
 
-
-
+
 
  
   flush
   Flush the output buffer
  
- 
-  Description
+ 
+ 
+  &reftitle.description;
   
voidflush

   
-  
-   Flushes the output buffers of PHP and whatever backend PHP is
-   using (CGI, a web server, etc).  This effectively tries to push
-   all the output so far to the user's browser.
-  
-  
-   flush has no effect on the buffering
-   scheme of your web server or the browser on the client
-   side.
+  
+   Flushes the output buffers of PHP and whatever backend PHP is using (CGI,
+   a web server, etc).  This effectively tries to push all the output so far
+   to the user's browser.
+  
+  
+   flush has no effect on the buffering scheme of your
+   web server or the browser on the client side.
Thus you need to call both ob_flush and
flush to flush the output buffers.
   
   
-   Several servers, especially on Win32, will still buffer
-   the output from your script until it terminates before
-   transmitting the results to the browser.
+   Several servers, especially on Win32, will still buffer the output from
+   your script until it terminates before transmitting the results to the
+   browser.
   
   
-   Server modules for Apache like mod_gzip may do buffering of their own
-   that will cause flush to not result in data being
-   sent immediately to the client.
+   Server modules for Apache like mod_gzip may do buffering of their own that
+   will cause flush to not result in data being sent
+   immediately to the client.
   
   
-   Even the browser may buffer its input before displaying it.
-   Netscape, for example, buffers text until it receives an
-   end-of-line or the beginning of a tag, and it won't render
-   tables until the  tag of the outermost table is
-   seen.
+   Even the browser may buffer its input before displaying it. Netscape, for
+   example, buffers text until it receives an end-of-line or the beginning of
+   a tag, and it won't render tables until the  tag of the
+   outermost table is seen.
   
   
Some versions of Microsoft Internet Explorer will only start to display
@@ -48,6 +46,14 @@
page.
   
  
+
+ 
+  &reftitle.returnvalues;
+  
+   &return.void;
+  
+ 
+
 
 
 
-
+
 
  
   ob_clean
   Clean (erase) the output buffer
  
- 
-  Description
+ 
+ 
+  &reftitle.description;
   
voidob_clean

@@ -19,12 +19,26 @@
This function does not destroy the output buffer like
ob_end_clean does.
   
+ 
+
+ 
+  &reftitle.returnvalues;
   
-   See also ob_flush,
-   ob_end_flush and
-   ob_end_clean.
+   &return.void;
   
  
+
+ 
+  &reftitle.seealso;
+  
+   
+ob_flush
+ob_end_flush
+ob_end_clean
+   
+  
+  
+
 
 
 
-
+
 
  
   ob_end_clean
   Clean (erase) the output buffer and turn off output 
buffering
  
- 
-  Description
+ 
+ 
+  &reftitle.description;
   
boolob_end_clean

   
   
-   This function discards the contents of the topmost output buffer and
-   turns off this output buffering. If you want to further
-   process the buffer's contents you have to call
-   ob_get_contents before
-   ob_end_clean as the buffer contents are
-   discarded when ob_end_clean is called.
-   The function returns &true; when it successfully
-   discarded one buffer and &false; otherwise. Reasons for failure are first
-   that you called the functio

[PHP-DOC] #41704 [NEW]: gnupg Functions doc issue

2007-06-15 Thread chris dot stdenis at smartt dot com
From: chris dot stdenis at smartt dot com
Operating system: Irrelevant
PHP version:  Irrelevant
PHP Bug Type: Documentation problem
Bug description:  gnupg Functions doc issue

Description:

gnupg Functions main page lists them as exparimental with a big warning.
There are stable releases in pecl. 


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


[PHP-DOC] #38442 [Asn]: Install instructions FastCGI

2007-06-15 Thread asonge
 ID:   38442
 Updated by:   [EMAIL PROTECTED]
 Reported By:  holliwell at gmx dot net
 Status:   Assigned
 Bug Type: Documentation problem
 Operating System: linux
 PHP Version:  Irrelevant
 Assigned To:  asonge
 New Comment:

Acknowledged


Previous Comments:


[2007-06-15 15:31:10] [EMAIL PROTECTED]

Alex is working on this



[2006-08-13 12:44:29] holliwell at gmx dot net

Description:

Hey,
the docs are missing install instructions for the FastCGI sapi. 

Regards
Friedhelm






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


[PHP-DOC] cvs: phpdoc /en/reference/mysql/functions mysql-set-charset.xml

2007-06-15 Thread Mehdi Achour
didou   Fri Jun 15 16:25:18 2007 UTC

  Added files: 
/phpdoc/en/reference/mysql/functionsmysql-set-charset.xml 
  Log:
  Document mysql_set_charset()
  

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



 
  mysql_set_charset
  Sets the client character set
 

 
  &reftitle.description;
  
   boolmysql_set_charset
   stringcharset
   resourcelink_identifier
  
  
   Sets the default character set for the current connection. 
  
 

 
  &reftitle.parameters;
  
   

 charset
 
  
   A valid character set name.
  
 

&mysql.linkid.description;
   
  
 

 
  &reftitle.returnvalues;
  
   &return.success;
  
 

 
  &reftitle.notes;
  
   
This function requires MySQL 5.0.7 or later.
   
  
 






[PHP-DOC] #41703 [NEW]: document file upload progress bar

2007-06-15 Thread [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Operating system: Mac
PHP version:  Irrelevant
PHP Bug Type: Documentation problem
Bug description:  document file upload progress bar

Description:

Document the file upload hooks [progress bar]. It would end up being seen
here:

  http://php.net/features.file-upload

Likely in a new section... file-upload. (progress|hooks)?

Also a known method for use is through APC. The APC docs currently
document the apc.rfc1867 related directives so file-upload.progress should
refer to them, and vice versa. This is the preferred method for use at this
time.

A nice example is here:

  http://progphp.com/progress.phps
  http://progphp.com/progress.php

Also, create a FAQ titled "How do I implement a file upload progress bar?"
and this FAQ can also mention alternative tools and methods such as these:

  http://swfupload.mammon.se/
  http://www.pixeline.be/experiments/jqUploader/

There is also the following but it's only a proof of concept at this
point:

  http://pecl.php.net/package/uploadprogress



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


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

2007-06-15 Thread Etienne Kneuss
colder  Fri Jun 15 16:08:49 2007 UTC

  Modified files:  
/phpdoc/en/reference/math/functions min.xml max.xml 
  Log:
  fix bogous port to new style
  http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/math/functions/min.xml?r1=1.8&r2=1.9&diff_format=u
Index: phpdoc/en/reference/math/functions/min.xml
diff -u phpdoc/en/reference/math/functions/min.xml:1.8 
phpdoc/en/reference/math/functions/min.xml:1.9
--- phpdoc/en/reference/math/functions/min.xml:1.8  Sat Mar 31 11:20:54 2007
+++ phpdoc/en/reference/math/functions/min.xml  Fri Jun 15 16:08:49 2007
@@ -1,5 +1,5 @@
 
-
+
 
  
   min
@@ -9,24 +9,18 @@
   &reftitle.description;

 mixedmin
-numberarg1
-numberarg2
-number...
+arrayvalues


 mixedmin
-arraynumbers
+mixedvalue1
+mixedvalue2
+mixedvalue3...

   
-   min returns the numerically lowest of the
-   parameter values.
-  
-  
If the first and only parameter is an array, min
-   returns the lowest value in that array.  If the first parameter
-   is an integer, string or float, you need at least two parameters
-   and min returns the smallest of these values.
-   You can compare an unlimited number of values.
+   returns the lowest value in that array. If at least two parameters are 
+   provided, min returns the smallest of these values.
   
   

@@ -38,6 +32,31 @@
 0 is returned.

   
+ 
+ 
+  &reftitle.parameters;
+  
+   
+
+ values
+ 
+  
+   An array containing the values.
+  
+ 
+
+   
+  
+ 
+ 
+  &reftitle.returnvalues;
+  
+   min returns the numerically lowest of the
+   parameter values.
+  
+ 
+ 
+  &reftitle.examples;
   

 Example uses of min
@@ -63,43 +82,13 @@
 

   
-  
-   See also max and
-   count.
-  
- 
- 
-  &reftitle.parameters;
-  
-   
-
-  
- 
-  
-
-  
- 
-
-   
-  
- 
- 
-  &reftitle.returnvalues;
-  
-
-  
- 
- 
-  &reftitle.examples;
-  
-
-  
  
  
   &reftitle.seealso;
   

- 
+max
+count

   
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/math/functions/max.xml?r1=1.9&r2=1.10&diff_format=u
Index: phpdoc/en/reference/math/functions/max.xml
diff -u phpdoc/en/reference/math/functions/max.xml:1.9 
phpdoc/en/reference/math/functions/max.xml:1.10
--- phpdoc/en/reference/math/functions/max.xml:1.9  Sat Mar 31 11:20:54 2007
+++ phpdoc/en/reference/math/functions/max.xml  Fri Jun 15 16:08:49 2007
@@ -1,5 +1,5 @@
 
-
+
 
  
   max
@@ -9,24 +9,20 @@
   &reftitle.description;
   
mixedmax
-   numberarg1
-   numberarg2
-   number...
+   arrayvalues
   
   
mixedmax
-   arraynumbers
+   mixedvalue1
+   mixedvalue2
+   mixedvalue3...
   
   
-   max returns the numerically highest of the
-   parameter values.
   
   
If the first and only parameter is an array, max
-   returns the highest value in that array.  If the first parameter
-   is an integer, string or float, you need at least two parameters
-   and max returns the biggest of these values.
-   You can compare an unlimited number of values.
+   returns the highest value in that array. If at least two parameters are 
+   provided, max returns the biggest of these values.
   
   

@@ -38,45 +34,16 @@
 value will be returned.

   
-  
-   
-Example uses of max
-
-
-
-   
-  
-  
-   See also min and
-   count.
-  
  
  
   &reftitle.parameters;
   

 
-  
+ values
  
   
-
+   An array containing the values.
   
  
 
@@ -86,20 +53,44 @@
  
   &reftitle.returnvalues;
   
-
+   max returns the numerically highest of the
+   parameter values.
   
  
  
   &reftitle.examples;
   
+   
+Example uses of max
+
+
+
+ 
   
  
  
   &reftitle.seealso;
   

- 
+min
+count

   
  


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

2007-06-15 Thread Jakub Vrana
vrana   Fri Jun 15 15:53:50 2007 UTC

  Modified files:  
/phpdoc/scripts check-references.php 
  Log:
  Enable output
  
http://cvs.php.net/viewvc.cgi/phpdoc/scripts/check-references.php?r1=1.23&r2=1.24&diff_format=u
Index: phpdoc/scripts/check-references.php
diff -u phpdoc/scripts/check-references.php:1.23 
phpdoc/scripts/check-references.php:1.24
--- phpdoc/scripts/check-references.php:1.23Fri Jun 15 15:49:31 2007
+++ phpdoc/scripts/check-references.php Fri Jun 15 15:53:49 2007
@@ -370,11 +370,11 @@
$counts["return"]++;
$modifier = (preg_match('~::__construct$~', 
$function_name) ? "i" : "");
if (!preg_match("~(" . 
$return_types[$function_name][0] . ")~$modifier", $return_type) && 
($return_types[$function_name][0] != "object" || 
preg_match("~($valid_types|$invalid_types)~", $return_type))) {
-   //~ echo "Wrong return type in $filename on 
line $lineno.\n";
-   //~ echo ": (" . 
$return_types[$function_name][0] . ") in " . $return_types[$function_name][1] . 
" on line " . $return_types[$function_name][2] . ".\n";
+   echo "Wrong return type in $filename on line 
$lineno.\n";
+   echo ": (" . $return_types[$function_name][0] . 
") in " . $return_types[$function_name][1] . " on line " . 
$return_types[$function_name][2] . ".\n";
}
} elseif 
(preg_match("~(callback|$invalid_types)~", $return_type)) {
-   //~ echo "Wrong return type in $filename on line 
$lineno.\n";
+   echo "Wrong return type in $filename on line 
$lineno.\n";
}

// references
@@ -446,14 +446,14 @@
$count = count($matches[3]);
if (!$matches[3] || substr($matches[3][$count - 1], -3) 
!= "...") {
if ($count > $max_args) {
-   //~ echo "Warning: Too much parameters 
in $function_name.\n";
+   echo "Warning: Too much parameters in 
$function_name.\n";
} elseif ($count < $max_args) {
$disallowed += array_fill($count + 1, 
$max_args - $count, true);
}
}
if ($source_arg_count[0] != $disallowed) {
-   //~ echo "Wrong arguments count in $filename on 
line $lineno.\n";
-   //~ echo ": source in $source_arg_count[1] on 
line $source_arg_count[2].\n";
+   echo "Wrong arguments count in $filename on 
line $lineno.\n";
+   echo ": source in $source_arg_count[1] on line 
$source_arg_count[2].\n";
}
}
}


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

2007-06-15 Thread Jakub Vrana
vrana   Fri Jun 15 15:49:32 2007 UTC

  Modified files:  
/phpdoc/scripts check-references.php 
  Log:
  Local refs
  Optional single extension
  Unicode return types
  Constructor return types
  http://cvs.php.net/viewvc.cgi/phpdoc/scripts/check-references.php?r1=1.22&r2=1.23&diff_format=u
Index: phpdoc/scripts/check-references.php
diff -u phpdoc/scripts/check-references.php:1.22 
phpdoc/scripts/check-references.php:1.23
--- phpdoc/scripts/check-references.php:1.22Fri Jun 15 11:45:17 2007
+++ phpdoc/scripts/check-references.php Fri Jun 15 15:49:31 2007
@@ -29,7 +29,7 @@
 
 if (!isset($_SERVER["argv"][1]) || !is_dir($phpdoc_dir)) {
echo "Purpose: Check parameters (types, optional, reference, count) and 
return types.\n";
-   echo "Usage: check-references.php language\n";
+   echo "Usage: check-references.php language [path_to_extension]\n";
echo "Notes:\n";
echo "- Compares documentation with PHP sources (Zend, extensions, 
PECL, SAPI).\n";
echo "- Functions not found in sources are checked as without 
references.\n";
@@ -37,51 +37,23 @@
exit();
 }
 
+$extension = $_SERVER["argv"][2];
+
 // various names for parameters passed by reference
 // array() means list of parameters, number is position from which all 
parameters are passed by reference
 $number_refs = array(
+   "first_arg_force_ref" => array(1),
"second_arg_force_ref" => array(2),
"second_args_force_ref" => array(2),
-   "second_argument_force_ref" => array(2),
-   "exif_thumbnail_force_ref" => array(2, 3, 4),
-   "third_and_rest_force_ref" => 3,
"third_arg_force_ref" => array(3),
-   "third_args_force_ref" => array(3),
-   "third_argument_force_ref" => array(3),
-   "third_arg_force_by_ref_rest" => 3,
-   "second_arg_force_by_ref_rest" => 2,
-   "arg3to6of6_force_ref" => array(3, 4, 5, 6),
-   "second_thru_fourth_args_force_ref" => array(2, 3, 4),
-   "secondandthird_args_force_ref" => array(2, 3),
-   "first_arg_force_ref" => array(1),
-   "first_args_force_ref" => array(1),
-   "first_argument_force_ref" => array(1),
-   "firstandsecond_args_force_ref" => array(1, 2),
-   "arg2and3_force_ref" => array(2, 3),
-   "first_through_third_args_force_ref" => array(1, 2, 3),
"fourth_arg_force_ref" => array(4),
-   "second_and_third_args_force_ref" => array(2, 3),
-   "second_fifth_and_sixth_args_force_ref" => array(2, 5, 6),
-   "first_and_second__args_force_ref" => array(1, 2),
-   "third_and_fourth_args_force_ref" => array(3, 4),
-   "sixth_arg_force_ref" => array(6),
-   "msg_receive_args_force_ref" => array(3, 5, 8),
-   "all_args_force_by_ref" => 1,
+   "fifth_arg_force_ref" => array(5),
"all_args_by_ref" => 1,
-   "http_request_info_ref_3" => array(3),
-   "http_request_info_ref_4" => array(4),
-   "http_arg_pass_ref_3" => array(3),
-   "http_arg_pass_ref_4" => array(4),
-   "http_arg_pass_ref_5" => array(5),
-   "secondandthird_arg_force_ref" => array(2, 3),
-   "fifthandsixth_arg_force_ref" => array(5, 6),
-   "seventh_arg_force_ref" => array(7),
-   "eighth_arg_force_ref" => array(8),
 );
 
 $valid_types = "int|float|string|bool|resource|array|object|mixed|number";
 $invalid_types = "integer|long|double|boolean|class"; // objects are written 
as appropriate class name so there is no complete list of valid types
-$retval_mapping = array("TRUE" => "bool", "BOOL" => "bool", "LONG" => "int", 
"DOUBLE" => "float", "STRING" => "string", "STRINGL" => "string", "ARRAY" => 
"array", "OBJECT" => "object", "RESOURCE" => "resource", "ZVAL" => "mixed"); // 
FALSE and NULL omitted because they are used for errors
+$retval_mapping = array("TRUE" => "bool", "BOOL" => "bool", "LONG" => "int", 
"DOUBLE" => "float", "STRING" => "string", "STRINGL" => "string", "TEXT" => 
"string", "TEXTL" => "string", "UNICODE" => "unicode", "UNICODEL" => "unicode", 
"ASCII_STRING" => "unicode", "ASCII_STRINGL" => "unicode", "ARRAY" => "array", 
"OBJECT" => "object", "RESOURCE" => "resource", "ZVAL" => "mixed"); // FALSE 
and NULL omitted because they are used for errors
 $retval_types = implode('|', array_keys($retval_mapping));
 $operators = "!=|<=?|>=?|==";
 $max_args = 12; // maximum number of regular function arguments
@@ -190,7 +162,7 @@
 $source_types = array(); // array("function_name" => array("type_spec", 
filename, lineno), ...)
 $return_types = array(); // array("function_name" => array("doc_type", 
filename, lineno), ...)
 $source_arg_counts = array(); // array("function_name" => 
array(disallowed_count => true, ...), ...)
-foreach (array_merge(array($zend_dir), glob("$phpsrc_dir/ext/*", 
GLOB_ONLYDIR), glob("$pecl_dir/*", GLOB_ONLYDIR), glob("$phpsrc_dir/sapi/*", 
GLOB_ONLYDIR)) as $dirname) {
+foreach ((isset($extension) ? array($extension) : 
array_merge(array($zend_dir), glob("$phpsrc_dir/ext/*", GLOB_ONLYDIR)

[PHP-DOC] #38442 [Opn->Asn]: Install instructions FastCGI

2007-06-15 Thread philip
 ID:   38442
 Updated by:   [EMAIL PROTECTED]
 Reported By:  holliwell at gmx dot net
-Status:   Open
+Status:   Assigned
 Bug Type: Documentation problem
 Operating System: linux
 PHP Version:  Irrelevant
-Assigned To:  
+Assigned To:  asonge
 New Comment:

Alex is working on this


Previous Comments:


[2006-08-13 12:44:29] holliwell at gmx dot net

Description:

Hey,
the docs are missing install instructions for the FastCGI sapi. 

Regards
Friedhelm






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


[PHP-DOC] #41701 [NEW]: Error on Safe mode/ disable_functions page

2007-06-15 Thread [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Operating system: Irrelevant
PHP version:  Irrelevant
PHP Bug Type: Documentation problem
Bug description:  Error on Safe mode/ disable_functions page

Description:

The docpage claims we should add
disable_functions readfile,system  
to the php.ini, but it should be
disable_functions = readfile,system



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


[PHP-DOC] #41700 [NEW]: documentation not clear about "whatever() or return;"

2007-06-15 Thread looris at gmail dot com
From: looris at gmail dot com
Operating system: Irrilevant
PHP version:  Irrelevant
PHP Bug Type: Documentation problem
Bug description:  documentation not clear about "whatever() or return;"

Description:

I came across this: http://bugs.php.net/bug.php?id=40712

here's what iliaa wrote:

+

Thank you for taking the time to write to us, but this is not

a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at 
http://bugs.php.net/how-to-report.php

+

now, I guess that you can't do "..or return.." because return isn't a
function, ok, but, reading the documentation, nothing related to this sort
of thing is ever mentioned in these related articles:
http://www.php.net/manual/en/function.return.php
http://www.php.net/manual/en/functions.returning-values.php
http://www.php.net/manual/en/language.operators.logical.php
http://www.php.net/manual/en/language.functions.php

Maybe this thing is explained somewhere in the docs, but it seems a little
awkward to me that it doesn't appear on none of these related articles. I
think this kind of thing does really need to be mentioned somewhere in
these places. If this is not a documentation bug, i don't know what is.


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


[PHP-DOC] #41700 [Com]: documentation not clear about "whatever() or return;"

2007-06-15 Thread smlerman at gmail dot com
 ID:   41700
 Comment by:   smlerman at gmail dot com
 Reported By:  looris at gmail dot com
 Status:   Open
 Bug Type: Documentation problem
 Operating System: Irrilevant
 PHP Version:  Irrelevant
 New Comment:

>From http://www.php.net/manual/en/function.return.php:
"...the return() statement..."

Return is a statement, not a function or expression. It has to appear
on its own, not as part of some other statement.


Previous Comments:


[2007-06-15 12:37:21] looris at gmail dot com

Description:

I came across this: http://bugs.php.net/bug.php?id=40712

here's what iliaa wrote:

+

Thank you for taking the time to write to us, but this is not

a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at 
http://bugs.php.net/how-to-report.php

+

now, I guess that you can't do "..or return.." because return isn't a
function, ok, but, reading the documentation, nothing related to this
sort of thing is ever mentioned in these related articles:
http://www.php.net/manual/en/function.return.php
http://www.php.net/manual/en/functions.returning-values.php
http://www.php.net/manual/en/language.operators.logical.php
http://www.php.net/manual/en/language.functions.php

Maybe this thing is explained somewhere in the docs, but it seems a
little awkward to me that it doesn't appear on none of these related
articles. I think this kind of thing does really need to be mentioned
somewhere in these places. If this is not a documentation bug, i don't
know what is.






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


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

2007-06-15 Thread Jakub Vrana
vrana   Fri Jun 15 11:45:17 2007 UTC

  Modified files:  
/phpdoc/scripts check-references.php 
  Log:
  More numer_refs
  New Zend params
  
http://cvs.php.net/viewvc.cgi/phpdoc/scripts/check-references.php?r1=1.21&r2=1.22&diff_format=u
Index: phpdoc/scripts/check-references.php
diff -u phpdoc/scripts/check-references.php:1.21 
phpdoc/scripts/check-references.php:1.22
--- phpdoc/scripts/check-references.php:1.21Thu Nov 17 23:04:23 2005
+++ phpdoc/scripts/check-references.php Fri Jun 15 11:45:17 2007
@@ -73,6 +73,10 @@
"http_arg_pass_ref_3" => array(3),
"http_arg_pass_ref_4" => array(4),
"http_arg_pass_ref_5" => array(5),
+   "secondandthird_arg_force_ref" => array(2, 3),
+   "fifthandsixth_arg_force_ref" => array(5, 6),
+   "seventh_arg_force_ref" => array(7),
+   "eighth_arg_force_ref" => array(8),
 );
 
 $valid_types = "int|float|string|bool|resource|array|object|mixed|number";
@@ -96,12 +100,22 @@
"O" => "object",
"z" => "mixed",
"Z" => "mixed",
+   "t" => "string",
+   "u" => "unicode",
+   "C" => "class",
+   "h" => "array",
+   "U" => "unicode",
+   "S" => "string",
+   "f" => "callback",
+   "x" => "string",
+   "T" => "unicode",
+   
"|" => "optional"
);
$return = array();
for ($i=0; $i < strlen($type_spec); $i++) {
$ch = $type_spec[$i];
-   if ($ch != "/" && $ch != "!") {
+   if ($ch != "/" && $ch != "!" && $ch != "&" && $ch != "^" && $ch 
!= "*" && $ch != "+") {
if (!isset($zend_params[$ch])) {
echo "! Unknown formatting specifier '$ch' in 
'$type_spec'.\n";
$zend_params[$ch] = "unknown";
@@ -176,7 +190,6 @@
 $source_types = array(); // array("function_name" => array("type_spec", 
filename, lineno), ...)
 $return_types = array(); // array("function_name" => array("doc_type", 
filename, lineno), ...)
 $source_arg_counts = array(); // array("function_name" => 
array(disallowed_count => true, ...), ...)
-//~ foreach (array("$phpsrc_dir/ext/standard") as $dirname) {
 foreach (array_merge(array($zend_dir), glob("$phpsrc_dir/ext/*", 
GLOB_ONLYDIR), glob("$pecl_dir/*", GLOB_ONLYDIR), glob("$phpsrc_dir/sapi/*", 
GLOB_ONLYDIR)) as $dirname) {
if (dirname($dirname) == $pecl_dir && 
!file_exists("$phpdoc_dir/reference/" . strtolower(basename($dirname {
continue; // skip undocumented PECL extensions
@@ -225,7 +238,7 @@
}

// read parameters
-   
preg_match_all('~^(?:ZEND|PHP)(_NAMED)?_(?:FUNCTION|METHOD)\\(([^)]+)\\)(.*)^\\}~msU',
 $file, $matches, PREG_SET_ORDER | PREG_OFFSET_CAPTURE); // }}} is not in all 
sources so ^} is used instead
+   preg_match_all('~^(?:static 
)?(?:ZEND|PHP)(_NAMED)?_(?:FUNCTION|METHOD)\\(([^)]+)\\)(.*)^\\}~msU', $file, 
$matches, PREG_SET_ORDER | PREG_OFFSET_CAPTURE); // }}} is not in all sources 
so ^} is used instead
foreach ($matches as $val) {
$function_name = 
strtolower(trim(preg_replace('~\\s*,\\s*~', '::', ($val[1][0] ? 
$aliases[$val[2][0]] : $val[2][0];
$function_body = $val[3][0];


[PHP-DOC] #41679 [Csd->Opn]: variables_order parameter is ignored

2007-06-15 Thread sniper
 ID:   41679
 Updated by:   [EMAIL PROTECTED]
 Reported By:  denis_test at freemail dot ru
-Status:   Closed
+Status:   Open
-Bug Type: PHP options/info functions
+Bug Type: Translation problem
 Operating System: FreeBSD 6.2-RELEASE-p3
 PHP Version:  5.2.3
 New Comment:

Okay, I'm reclassifying this, the docs need some comment about this
issue.


Previous Comments:


[2007-06-15 07:00:42] denis_test at freemail dot ru

Yes, phpinfo() says:

Server API  CGI/FastCGI

Now it's clear. Thank you.



[2007-06-14 20:12:11] [EMAIL PROTECTED]

Are you by any chance using PHP as CGI/FastCGI binary here?
If so, this is expected, although not documented.
In CGI mode the environment is considered part of $_SERVER variables
too so having that 'S' causes these to be overwritten.




[2007-06-14 19:04:19] [EMAIL PROTECTED]

And now I misread the results. :D



[2007-06-14 19:03:43] [EMAIL PROTECTED]

You propably misunderstood how it works, it's the opposite:
http://www.php.net/manual/en/ini.core.php#ini.variables-order

"..for example if variables_order is set to "EGPCS", register_globals
is enabled, and both $_GET['action'] and $_POST['action'] are set, then
$action will contain the value of $_POST['action'] as P comes after
G.."




[2007-06-14 08:12:27] denis_test at freemail dot ru

You say: "Env is parsed first, so no wonder it gets overwritten by GET
that is parsed second."

But I am sorry, my situation is direct opposite. As you can see GET is
overwritten by Env.



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

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


[PHP-DOC] cvs: phpdoc /en/reference/sca reference.xml /en/reference/sca/functions SCA-getService.xml

2007-06-15 Thread Graham Charters
gcc Fri Jun 15 08:04:43 2007 UTC

  Modified files:  
/phpdoc/en/reference/scareference.xml 
/phpdoc/en/reference/sca/functions  SCA-getService.xml 
  Log:
  Renamed @binding.ws and @binding.wsdl to @binding.soap.
  Fixed some line length problems.
  Updated the description of getService to reflect the new parameters.
  http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/sca/reference.xml?r1=1.2&r2=1.3&diff_format=u
Index: phpdoc/en/reference/sca/reference.xml
diff -u phpdoc/en/reference/sca/reference.xml:1.2 
phpdoc/en/reference/sca/reference.xml:1.3
--- phpdoc/en/reference/sca/reference.xml:1.2   Thu Jun 14 02:34:50 2007
+++ phpdoc/en/reference/sca/reference.xml   Fri Jun 15 08:04:43 2007
@@ -1,5 +1,5 @@
 
-
+
 
 
 
@@ -85,7 +85,7 @@
  * Calculate a stock price for a given ticker symbol in a given currency.
  *
  * @service
- * @binding.ws
+ * @binding.soap
  */
 class ConvertedStockQuote {
 
@@ -101,7 +101,7 @@
  * The stock quote service to use.
  *
  * @reference
- * @binding.wsdl ../StockQuote/StockQuote.wsdl
+ * @binding.soap ../StockQuote/StockQuote.wsdl
  */
 public $stock_quote;
 
@@ -354,9 +354,9 @@
 
  
  The @binding annotation has two forms @binding.php and
- @@binding.ws, and indicates that the proxy is either for a local
+ @binding.soap, and indicates that the proxy is either for a local
  component or for a Web service respectively. For both @binding.php
- and @binding.ws, the annotation gives a target URI. 
+ and @binding.soap, the annotation gives a target URI. 
 
 
 
@@ -426,7 +426,7 @@
  * The stock quote service to use.
  *
  * @reference
- * @binding.wsdl ../StockQuote/StockQuote.wsdl
+ * @binding.soap ../StockQuote/StockQuote.wsdl
  */
 public $stock_quote;
 ?>
@@ -585,7 +585,7 @@
  service component, so that it can be easily deployed and exposed as a
  Web service. To provide SCA with the information it needs to
  generate the WSDL, it is necessary to add the annotation
- @binding.ws under the @service annotation and to specify the
+ @binding.soap under the @service annotation and to specify the
  parameters and return values of the methods using the @param and
  @return annotations. These annotations will be read when WSDL is
  generated, and the order and types of the parameters determine the
@@ -624,7 +624,7 @@
  * Scaffold implementation for a remote StockQuote Web service.
  *
  * @service
- * @binding.ws
+ * @binding.soap
  *
  */
 class StockQuote {
@@ -745,7 +745,7 @@
 
  
  SCA components that expose a Web service interface (i.e. have
- an @binding.ws annotation) will return their WSDL definition in
+ an @binding.soap annotation) will return their WSDL definition in
  response to an HTTP request with a get parameter of "wsdl". The usual
  way to obtain this is with "?wsdl" on the end of a URL. The example
  below uses
@@ -783,7 +783,7 @@
  Understanding how the WSDL is generated 
  
  SCA for PHP generates WSDL for components which contain an
- @binding.ws annotation after the @service annotation. To
+ @binding.soap annotation after the @service annotation. To
  generate WSDL, the SCA runtime reflects on the component and
  examines the @param and @return annotations for each public
  method, as well as any @types annotations within the component. The
@@ -1035,7 +1035,7 @@
  * Manage the portfolio for a customer.
  *
  * @service
- * @binding.ws
+ * @binding.soap
  *
  * @types http://www.example.org/Portfolio PortfolioTypes.xsd
  *
@@ -1167,7 +1167,7 @@
 http://addressbook ../AddressBook/AddressBook.xsd
 */
 class AddressBook {
@@ -1453,7 +1453,7 @@
  getService is called with the target of a
  WSDL file, a SOAP proxy is returned. A SOAP proxy is also injected
  into the instance variables of a component that are defined with an
- @reference and an @binding.ws anotations. When the script or
+ @reference and an @binding.soap anotations. When the script or
  component makes calls on the SOAP proxy, they are formed into Web
  service SOAP requests and passed on to the target component, with
  the help of the PHP Soap extension. 
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/sca/functions/SCA-getService.xml?r1=1.2&r2=1.3&diff_format=u
Index: phpdoc/en/reference/sca/functions/SCA-getService.xml
diff -u phpdoc/en/reference/sca/functions/SCA-getService.xml:1.2 
phpdoc/en/reference/sca/functions/SCA-getService.xml:1.3
--- phpdoc/en/reference/sca/functions/SCA-getService.xml:1.2Tue Jan 16 
17:05:54 2007
+++ phpdoc/en/reference/sca/functions/SCA-getService.xmlFri Jun 15 
08:04:43 2007
@@ -1,5 +1,5 @@
 
-
+
 
 
  
@@ -17,12 +17,22 @@
 string
 target

+   
+string
+binding
+  
+   
+array
+config
+  
   
 
   &warn.experimental.func;
 
-   Examine the target and initialis