[PHP-DOC] #40319 [NEW]: stream context parameters not documented

2007-02-01 Thread [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Operating system: irrelevant
PHP version:  Irrelevant
PHP Bug Type: Documentation problem
Bug description:  stream context parameters not documented

Description:

if you look at the docs for stream_context_create you are pointed at the
docs for stream_context_set_params which point you back to
stream_context_create


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


[PHP-DOC] cvs: phpdoc /en/reference/unicode/functions unicode-encode.xml

2007-02-01 Thread Philip Olson
philip  Fri Feb  2 05:52:50 2007 UTC

  Modified files:  
/phpdoc/en/reference/unicode/functions  unicode-encode.xml 
  Log:
  Documented this function (but will leave it marked undocumented as it's 
  not complete). The new example is based off a user note (Hugo Dworak). Added
  the flags parameter, error role, and more.
  Removed See Also unicode_decode() as this isn't in the manual (yet).
  
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/unicode/functions/unicode-encode.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/reference/unicode/functions/unicode-encode.xml
diff -u phpdoc/en/reference/unicode/functions/unicode-encode.xml:1.1 
phpdoc/en/reference/unicode/functions/unicode-encode.xml:1.2
--- phpdoc/en/reference/unicode/functions/unicode-encode.xml:1.1Fri Sep 
 9 22:12:34 2005
+++ phpdoc/en/reference/unicode/functions/unicode-encode.xmlFri Feb  2 
05:52:50 2007
@@ -1,9 +1,9 @@
 
-
+
 
  
   unicode_encode
-  Takes a unicode string and converts it to a string in the 
specified encoding
+  Set encoding of a unicode string
  
  
   &reftitle.description;
@@ -11,8 +11,13 @@
stringunicode_encode
unicodeinput

stringencoding
+   intflags
   
   &warn.undocumented.func;
+  
+   Takes a unicode string and converts it to a string in 
+   the specified encoding.
+  
  
 
  
@@ -23,7 +28,7 @@
  input
  
   
-   Its description
+   The unicode string that will be encoded.
   
  
 
@@ -31,7 +36,15 @@
  encoding
  
   
-   Its description
+   The new encoding for input.
+  
+ 
+
+
+ flags
+ 
+  
+   Flags
   
  
 
@@ -42,31 +55,45 @@
  
   &reftitle.returnvalues;
   
-   What the function returns, first on success, then on failure.
+   A string on success, or &false; on failure.
   
  
 
+
+  &reftitle.errors;
+  
+   Emits a E_WARNING level error if a converter cannot 
+   be created for the desired encoding.
+  
+ 
+ 
  
   &reftitle.examples;
   

 A unicode_encode example
 
- Any text that describes the purpose of t
+ Note: The characters will be seen instead of entities in the output.
 
 
 
 
-&example.outputs;
+&example.outputs.similar;
 
 
 

@@ -77,7 +104,7 @@
   &reftitle.seealso;
   

-unicode_decode
+unicode_symantics

   
  


[PHP-DOC] #40317 [NEW]: Only user-notes viewable, not the actual manual

2007-02-01 Thread vishwas_gagrani at yahoo dot co dot in
From: vishwas_gagrani at yahoo dot co dot in
Operating system: Windows XP Sp2
PHP version:  Irrelevant
PHP Bug Type: Documentation problem
Bug description:  Only user-notes viewable, not the actual manual

Description:

I downloaded the English version of the Windows Help File ( 11mb download
from php.net, containing php_manual.chm, and some other setting files, eg.
an exe that changes the skin options, buttons to be visible in chm file
etc). The problem is that i am only able to see the usernotes, NOT the
actual manual. The manual pages appear blank. They don't show up in any
ways ( eg. i right clicked --> properties--> copied the path-> pasted to
ie/ff , but again the blank page is showing). What may be the problem ?


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


[PHP-DOC] cvs: phpdoc /phpbook/phpbook-xsl html-common.xsl /scripts html_syntax.php

2007-02-01 Thread Hannes Magnusson
bjori   Thu Feb  1 14:51:15 2007 UTC

  Modified files:  
/phpdoc/scripts html_syntax.php 
/phpdoc/phpbook/phpbook-xsl html-common.xsl 
  Log:
  Make sure we don't highlight to little
  # Fixes a bug where examples with "" in them only partly highlight
  
  
http://cvs.php.net/viewvc.cgi/phpdoc/scripts/html_syntax.php?r1=1.7&r2=1.8&diff_format=u
Index: phpdoc/scripts/html_syntax.php
diff -u phpdoc/scripts/html_syntax.php:1.7 phpdoc/scripts/html_syntax.php:1.8
--- phpdoc/scripts/html_syntax.php:1.7  Tue Jan 30 18:30:29 2007
+++ phpdoc/scripts/html_syntax.php  Thu Feb  1 14:51:15 2007
@@ -58,7 +58,7 @@
//~ echo "$filename\n";
$original = file_get_contents($filename);
$highlighted = 
preg_replace_callback("!(.*)!sU", 
"callback_highlight_php", $original);
-   $highlighted = preg_replace_callback("!(.*)!sU", "callback_highlight_php", $highlighted); /* XSL 
build */
+   $highlighted = 
preg_replace_callback("@(.*)@sU", 
"callback_highlight_php", $highlighted); /* XSL build */
if ($original != $highlighted) {
// file_put_contents is only in PHP >= 5
$fp = fopen($filename, "wb");
http://cvs.php.net/viewvc.cgi/phpdoc/phpbook/phpbook-xsl/html-common.xsl?r1=1.5&r2=1.6&diff_format=u
Index: phpdoc/phpbook/phpbook-xsl/html-common.xsl
diff -u phpdoc/phpbook/phpbook-xsl/html-common.xsl:1.5 
phpdoc/phpbook/phpbook-xsl/html-common.xsl:1.6
--- phpdoc/phpbook/phpbook-xsl/html-common.xsl:1.5  Thu Feb  1 09:38:02 2007
+++ phpdoc/phpbook/phpbook-xsl/html-common.xsl  Thu Feb  1 14:51:15 2007
@@ -3,7 +3,7 @@
 
   html-common.xsl: Common HTML customizations
 
-  $Id: html-common.xsl,v 1.5 2007/02/01 09:38:02 bjori Exp $
+  $Id: html-common.xsl,v 1.6 2007/02/01 14:51:15 bjori Exp $
 
 -->
 http://www.w3.org/1999/XSL/Transform";
@@ -623,18 +623,20 @@

   
 
-  
-  
-  
-  
-  
-
+
+
+
+
+
+
 
 
-
+
+  
+  
+
 
 
-  
   
 
   


[PHP-DOC] #40272 [Opn->Csd]: Wrong info in preg_match_all documentation

2007-02-01 Thread didou
 ID:   40272
 Updated by:   [EMAIL PROTECTED]
 Reported By:  carlmonte_ at hotmail dot com
-Status:   Open
+Status:   Closed
 Bug Type: Documentation problem
 Operating System: Ubuntu 6.06.1
 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:


[2007-01-29 11:46:39] carlmonte_ at hotmail dot com

Description:

Documentation for preg_match_all when called using flag
PREG_OFFSET_CAPTURE says "Note that this changes the return value in an
array ...", which changes is the $matches parameter.

That is a misundertanding doc, because I report it.

Reproduce code:
---
Note that this changes the return value in an array ...

Expected result:

Note that this changes the $matches parameter in an array ...






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


[PHP-DOC] cvs: phpdoc /en/reference/pcre/functions preg-match-all.xml

2007-02-01 Thread Mehdi Achour
didou   Fri Feb  2 02:44:17 2007 UTC

  Modified files:  
/phpdoc/en/reference/pcre/functions preg-match-all.xml 
  Log:
  Fix #40272: affects the matches parameter, not the returned value
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pcre/functions/preg-match-all.xml?r1=1.19&r2=1.20&diff_format=u
Index: phpdoc/en/reference/pcre/functions/preg-match-all.xml
diff -u phpdoc/en/reference/pcre/functions/preg-match-all.xml:1.19 
phpdoc/en/reference/pcre/functions/preg-match-all.xml:1.20
--- phpdoc/en/reference/pcre/functions/preg-match-all.xml:1.19  Fri Jul  1 
13:07:49 2005
+++ phpdoc/en/reference/pcre/functions/preg-match-all.xml   Fri Feb  2 
02:44:17 2007
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -113,10 +113,11 @@

 
  If this flag is passed, for every occurring match the appendant string
- offset will also be returned. Note that this changes the return
- value in an array where every element is an array consisting of the
- matched string at offset 0 and its string offset
- into subject at offset 1.
+ offset will also be returned. Note that this changes the value of 
+ matches in an array where every element is an
+ array consisting of the matched string at offset 0
+ and its string offset into subject at offset 
+ 1.
  This flag is available since PHP 4.3.0 .
 



[PHP-DOC] #40299 [Opn->Csd]: PDF_endpath missing function definition

2007-02-01 Thread didou
 ID:  40299
 Updated by:  [EMAIL PROTECTED]
 Reported By: s dot schaap at gmail 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:


[2007-01-31 22:12:05] s dot schaap at gmail dot com

Description:

The manual page on the PDF_endpath() function
[http://www.php.net/manual/en/function.pdf-endpath.php] is missing its
function definition.






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


[PHP-DOC] cvs: phpdoc /en/reference/pdf/functions pdf-endpath.xml

2007-02-01 Thread Mehdi Achour
didou   Fri Feb  2 02:15:31 2007 UTC

  Modified files:  
/phpdoc/en/reference/pdf/functions  pdf-endpath.xml 
  Log:
  Fix #40299: missing protos for PDF_endpath
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pdf/functions/pdf-endpath.xml?r1=1.6&r2=1.7&diff_format=u
Index: phpdoc/en/reference/pdf/functions/pdf-endpath.xml
diff -u phpdoc/en/reference/pdf/functions/pdf-endpath.xml:1.6 
phpdoc/en/reference/pdf/functions/pdf-endpath.xml:1.7
--- phpdoc/en/reference/pdf/functions/pdf-endpath.xml:1.6   Fri Feb  2 
02:11:07 2007
+++ phpdoc/en/reference/pdf/functions/pdf-endpath.xml   Fri Feb  2 02:15:31 2007
@@ -1,5 +1,5 @@
 
-
+
 
  
   PDF_endpath
@@ -7,6 +7,10 @@
  
  
   &reftitle.description;
+  
+   boolPDF_endpath
+   resourcep
+  
   
Ends the current path without filling or stroking it.
   


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

2007-02-01 Thread Sean Coates
seanFri Feb  2 00:31:05 2007 UTC

  Modified files:  
/phpdoc/scripts functable.php 
  Log:
  sqlite create statement for db schema
  
http://cvs.php.net/viewvc.cgi/phpdoc/scripts/functable.php?r1=1.4&r2=1.5&diff_format=u
Index: phpdoc/scripts/functable.php
diff -u phpdoc/scripts/functable.php:1.4 phpdoc/scripts/functable.php:1.5
--- phpdoc/scripts/functable.php:1.4Wed Jan 31 11:53:38 2007
+++ phpdoc/scripts/functable.phpFri Feb  2 00:31:05 2007
@@ -15,7 +15,7 @@
 +--+
 | Authors:Sean Coates <[EMAIL PROTECTED]>   |
 +--+
-$Id: functable.php,v 1.4 2007/01/31 11:53:38 nlopess Exp $
+$Id: functable.php,v 1.5 2007/02/02 00:31:05 sean Exp $
 */
 
 // direct the output of this fiel into phpdoc/phpbook/phpbook-xsl/version.xml
@@ -25,6 +25,10 @@
 //  - TEST, please
 //  - PECL support
 
+// You'll need to set up an SQLite DB (see PATH_DB, below) with the following:
+// CREATE TABLE func_tag (func_name VARCHAR(50), tag_name VARCHAR(50),
+//   has_proto INT, is_alias INT, unicode_safe INT, source VARCHAR(255));
+
 // set up config:
 
 // set $_ENV['PATH_TMP'] to change the temporary directory


[PHP-DOC] cvs: phpdoc /en/reference/pdo_sqlite/functions PDO-sqliteCreateAggregate.xml PDO-sqliteCreateFunction.xml

2007-02-01 Thread Mehdi Achour
didou   Fri Feb  2 00:26:54 2007 UTC

  Modified files:  
/phpdoc/en/reference/pdo_sqlite/functions   
PDO-sqliteCreateAggregate.xml 
PDO-sqliteCreateFunction.xml 
  Log:
  Fix and document callbacks for PDO->sqliteCreateAggregate()
  Also fix links and revamp ref.pdo_sqlite
  http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pdo_sqlite/functions/PDO-sqliteCreateAggregate.xml?r1=1.4&r2=1.5&diff_format=u
Index: phpdoc/en/reference/pdo_sqlite/functions/PDO-sqliteCreateAggregate.xml
diff -u 
phpdoc/en/reference/pdo_sqlite/functions/PDO-sqliteCreateAggregate.xml:1.4 
phpdoc/en/reference/pdo_sqlite/functions/PDO-sqliteCreateAggregate.xml:1.5
--- phpdoc/en/reference/pdo_sqlite/functions/PDO-sqliteCreateAggregate.xml:1.4  
Sat Sep 10 16:45:52 2005
+++ phpdoc/en/reference/pdo_sqlite/functions/PDO-sqliteCreateAggregate.xml  
Fri Feb  2 00:26:54 2007
@@ -1,8 +1,8 @@
 
-
+
 
  
-  PDO::sqliteCreateAggregate
+  PDO->sqliteCreateAggregate()
   
Registers an aggregating User Defined Function for use in SQL statements
   
@@ -10,31 +10,26 @@
 
  
   &reftitle.description;
-  
-   boolPDO::sqliteCreateAggregate
-   
stringfunction_name
-   
callbackstep_func
-   
callbackfinalize_func
-   intnum_args
-  
+  
+   PDO
+   
+boolsqliteCreateAggregate
+
stringfunction_name
+
callbackstep_func
+
callbackfinalize_func
+intnum_args
+   
+  
   &warn.experimental.func;
   
-   PDO::sqliteCreateAggregate is similar to
-   PDO::sqliteCreateFunction except that it registers
-   functions that can be used to calculate a result aggregated across all the
-   rows of a query.
-  
-  
-   The key difference between this function and
-   PDO::sqliteCreateFunction is that two functions are
-   required to manage the aggregate; step_func is
-   called for each row of the result set.  Your PHP function should
-   accumulate the result and store it into the aggregation context.
-   Once all the rows have been processed,
-   finalize_func will be called and it should then
-   take the data from the aggregation context and return the result.
-   Callback functions should return a type understood by SQLite (i.e.
-   scalar type).
+   This method is similar to  except that it registers functions that can be used to calculate a
+   result aggregated across all the rows of a query.
+  
+  
+   The key difference between this method and  is that two functions are
+   required to manage the aggregate. 
   
  
 
@@ -54,7 +49,29 @@
  step_func
  
   
-   Callback function called for each row of the result set.
+   Callback function called for each row of the result set. Your PHP
+   function should accumulate the result and store it in the aggregation
+   context.
+  
+  
+   This function need to be defined as:
+   
+step
+
mixedcontext
+
intrownumber
+
mixedvalue1
+mixedvalue2
+mixed..
+   
+  
+  
+   context will be &null; for the first row; on
+   subsequent rows it will have the value that was previously returned
+   from the step function; you should use this to maintain the aggregate
+   state.
+  
+  
+   rownumber will hold the current row number.
   
  
 
@@ -62,7 +79,32 @@
  finalize_func
  
   
-   Callback function to aggregate the "stepped" data from each row.
+   Callback function to aggregate the "stepped" data from each row. 
+   Once all the rows have been processed, this function will be called
+   and it should then take the data from the aggregation context and
+   return the result. Callback functions should return a type understood
+   by SQLite (i.e. scalar type).
+  
+  
+   This function need to be defined as:
+   
+fini
+
mixedcontext
+
intrownumber
+   
+  
+  
+   context will hold the return value from the very
+   last call to the step function.
+  
+  
+   rownumber will hold the number of rows over which
+   the aggregate was performed.
+  
+  
+   The return value of this function will be used as the return value for
+   the aggregate.
   
  
 
@@ -107,14 +149,14 @@
 }
 $insert = null;
 
-function max_len_step(&$context, $string) 
+function max_len_step(&$context, $rownumber, $string) 
 {
 if (strlen($string) > $context) {
 $context = strlen($string);
 }
 }
 
-function max_len_finalize(&$context) 
+function max_len_finalize(&$context, $rownumber) 
 {
 return $context;
 }
@@ -158,9 +200,9 @@
   
   

-You can use PDO::sqliteCreateFunction and
-PDO::sqliteCreateAggregate to override SQLite native
-SQL functions.
+You can use  and
+ to override SQLite
+native SQL functions.

   
   
@@ -177,7 +219,7 @@
   &reftitle.seealso;
   

-PDO::sql

[PHP-DOC] #40309 [NEW]: Small oversights in polish translation

2007-02-01 Thread yestemin at onet dot eu
From: yestemin at onet dot eu
Operating system: 
PHP version:  Irrelevant
PHP Bug Type: Documentation problem
Bug description:  Small oversights in polish translation

Description:

The translation of description of function header()could be prettier;)
Actually I found some errors: 
 
1.'zapbiegać przeciwko ataką' 

2.Someone left 'It must by' among polish words.
thnx

Expected result:

1.zpobiegać atakom

Actual result:
--
1.Notatka:  Począwszy od PHP 4.4.2 i PHP 5.1.2 funkcja nie pozwala na
wysłanie więcej niż jednego nagłowka za jednym razem
aby ---> zapobiegać przeciwko ataką <--- typu iniekcja
nagłowka (header injection).

2.Notatka:  Identyfikator sesji nie jest przekazywany w nagłówku
Location chociażby session.use_trans_sid był włączony.
Musi zostać przekazany --->It must by <--- ręcznie
używając stałej SID.

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


[PHP-DOC] #40305 [NEW]: http_build_query outut changed - docs don't reflect this

2007-02-01 Thread jochem at iamjochem dot com
From: jochem at iamjochem dot com
Operating system: not applicable
PHP version:  Irrelevant
PHP Bug Type: Documentation problem
Bug description:  http_build_query outut changed - docs don't reflect this

Description:

prior to version 5.1.3 http_build_query did not url encode square brackets
- this was 'fixed' in 5.1.3 in accordance with
http://www.faqs.org/rfcs/rfc3986.html.

the manual still show an example (Example 3. on
http://php.net/http_build_query [english docs]) that http_build_query
output doesn't encode the square brackets.

I kindly request that the docs be updated to show the actual output
generated (with regard to square brackets) in current php versions and
that a note is added to explain that the urlencoding of square brackets
was added in version 5.1.3 

the following bug report explains wqhat the 'problem' was a indicates that
it was 'fixed':

http://bugs.php.net/bug.php?id=36656

thank you for taking the time to consider this.

kind regards,
Jochem

Reproduce code:
---
not applicable


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


[PHP-DOC] cvs: phpdoc /phpbook/phpbook-xsl html-common.xsl

2007-02-01 Thread Hannes Magnusson
bjori   Thu Feb  1 09:38:03 2007 UTC

  Modified files:  
/phpdoc/phpbook/phpbook-xsl html-common.xsl 
  Log:
  Fix bug#40303
  role != php should be escaped!
  
  
http://cvs.php.net/viewvc.cgi/phpdoc/phpbook/phpbook-xsl/html-common.xsl?r1=1.4&r2=1.5&diff_format=u
Index: phpdoc/phpbook/phpbook-xsl/html-common.xsl
diff -u phpdoc/phpbook/phpbook-xsl/html-common.xsl:1.4 
phpdoc/phpbook/phpbook-xsl/html-common.xsl:1.5
--- phpdoc/phpbook/phpbook-xsl/html-common.xsl:1.4  Wed Jan 31 11:53:14 2007
+++ phpdoc/phpbook/phpbook-xsl/html-common.xsl  Thu Feb  1 09:38:02 2007
@@ -3,7 +3,7 @@
 
   html-common.xsl: Common HTML customizations
 
-  $Id: html-common.xsl,v 1.4 2007/01/31 11:53:14 bjori Exp $
+  $Id: html-common.xsl,v 1.5 2007/02/01 09:38:02 bjori Exp $
 
 -->
 http://www.w3.org/1999/XSL/Transform";
@@ -626,7 +626,14 @@
   
   
   
-  
+  
+  
+
+
+
+
+
+
   
   
 


Re: [PHP-DOC] cvs: phpdoc /en/appendices ini.xml /en/language control-structures.xml /en/reference/classobj/functions get-declared-classes.xml /en/reference/info/functions get-included-files.xml /en/r

2007-02-01 Thread Hannes Magnusson

On 2/1/07, Jakub Vrana <[EMAIL PROTECTED]> wrote:

Hannes Magnusson wrote:
> +  require_once was added in PHP 4.0.1
> Shouldn't this rather be in version.xml ?

It is a language construct, not a function.


array, die, echo, empty, eval, isset... are too

-Hannes



Jakub Vrana



Re: [PHP-DOC] cvs: phpdoc /en/appendices ini.xml /en/language control-structures.xml /en/reference/classobj/functions get-declared-classes.xml /en/reference/info/functions get-included-files.xml /en/r

2007-02-01 Thread Jakub Vrana
Hannes Magnusson wrote:
> +  require_once was added in PHP 4.0.1
> Shouldn't this rather be in version.xml ?

It is a language construct, not a function.

Jakub Vrana


Re: [PHP-DOC] cvs: phpdoc /en/appendices ini.xml /en/language control-structures.xml /en/reference/classobj/functions get-declared-classes.xml /en/reference/info/functions get-included-files.xml /en/r

2007-02-01 Thread Philip Olson



-  require_once was added in PHP 4.0.1pl2
+  require_once was added in PHP 4.0.1

Shouldn't this rather be in version.xml ?


They can be but aren't in either functable versions currently. It was  
just a mass fix, feel free to add them to the new functable.php



And 4.0.1 < 4.0.1pl...


Yes it is, but, pl did not introduce new features. They existed to  
fix critical bugs within a week or so after a "real" release.


Regards,
Philip


Re: [PHP-DOC] cvs: phpdoc /en/appendices ini.xml /en/language control-structures.xml /en/reference/classobj/functions get-declared-classes.xml /en/reference/info/functions get-included-files.xml /en/r

2007-02-01 Thread Hannes Magnusson

Hi Philip

-  require_once was added in PHP 4.0.1pl2
+  require_once was added in PHP 4.0.1

Shouldn't this rather be in version.xml ?
And 4.0.1 < 4.0.1pl...

-Hannes

On 2/1/07, Philip Olson <[EMAIL PROTECTED]> wrote:

philip  Thu Feb  1 00:46:02 2007 UTC

  Modified files:
/phpdoc/en/appendices   ini.xml
/phpdoc/en/language control-structures.xml
/phpdoc/en/reference/classobj/functions get-declared-classes.xml
/phpdoc/en/reference/info/functions get-included-files.xml
/phpdoc/en/reference/opensslreference.xml
/phpdoc/en/reference/pcre/functions preg-replace.xml
/phpdoc/en/reference/sdodasrel  reference.xml
/phpdoc/en/reference/strings/functions  strip-tags.xml strrpos.xml
/phpdoc/en/reference/zlib/functions gzgetss.xml
  Log:
  Removed use of PL, RC, and BETA from PHP versions as they go against our
  conventions.
  # Thanks to etienne and nuno for being regex masters ;-)