Re: [PHP-DOC] cvs: phpdoc /en/reference/sem reference.xml /en/reference/sem/functions msg-receive.xml msg-stat-queue.xml sem-acquire.xml sem-get.xml shm-get-var.xml shm-put-var.xml shm-remove-var.xml shm-remove.xml

2004-04-29 Thread Antony Dovgal
On Wed, 28 Apr 2004 13:44:55 -0400
Damien Seguy [EMAIL PROTECTED] wrote:

 Antony,
 
 I got that too, then a clean check out made it disappear.
 Is that OK now?

Yep, it works ok now.

---
WBR,
Antony Dovgal aka tony2001
[EMAIL PROTECTED] || [EMAIL PROTECTED]


[PHP-DOC] #28214 [NEW]: oracle functions are typed wrongly

2004-04-29 Thread gorla dot massimo at comune dot novara dot it
From: gorla dot massimo at comune dot novara dot it
Operating system: any
PHP version:  Irrelevant
PHP Bug Type: Documentation problem
Bug description:  oracle functions are typed wrongly 

Description:

The manual section about Oracle 8 functions (chapter LXXIV) does NOT list
the correct function keywords.
Example: oci_fetch() will not be recognized. Instead of it OCIFetch() will
work.
The bug can be seen also in the online manual
(http://it2.php.net/manual/en/ref.oci8.php)
This happens in the english and italian language.



-- 
Edit bug report at http://bugs.php.net/?id=28214edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=28214r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=28214r=trysnapshot5
Fixed in CVS:   http://bugs.php.net/fix.php?id=28214r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=28214r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=28214r=needtrace
Need Reproduce Script:  http://bugs.php.net/fix.php?id=28214r=needscript
Try newer version:  http://bugs.php.net/fix.php?id=28214r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=28214r=support
Expected behavior:  http://bugs.php.net/fix.php?id=28214r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=28214r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=28214r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=28214r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28214r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=28214r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=28214r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=28214r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28214r=float


[PHP-DOC] #28214 [Opn-Csd]: oracle functions are typed wrongly

2004-04-29 Thread tony2001
 ID:   28214
 Updated by:   [EMAIL PROTECTED]
 Reported By:  gorla dot massimo at comune dot novara dot it
-Status:   Open
+Status:   Closed
 Bug Type: Documentation problem
 Operating System: any
 PHP Version:  Irrelevant
 New Comment:

First, there is a note:
--
Note: In PHP versions before 5.0.0 you must use ocifetch() instead.
This name still can be used, it was left as alias of oci_fetch() for
downwards compatability. This, however, is deprecated and not
recommended.
--
and second:
Wait for the next manual build, old function names will be restored.
This will happen in the next few days, just wait for a while.


Previous Comments:


[2004-04-29 08:18:31] gorla dot massimo at comune dot novara dot it

Description:

The manual section about Oracle 8 functions (chapter LXXIV) does NOT
list the correct function keywords.
Example: oci_fetch() will not be recognized. Instead of it OCIFetch()
will work.
The bug can be seen also in the online manual
(http://it2.php.net/manual/en/ref.oci8.php)
This happens in the english and italian language.







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


[PHP-DOC] cvs: phpdoc /en/reference/info/functions ini-set.xml

2004-04-29 Thread Derick Rethans
derick  Thu Apr 29 03:13:59 2004 EDT

  Modified files:  
/phpdoc/en/reference/info/functions ini-set.xml 
  Log:
  - Fixed docs: allow_url_fopen is a PHP_INI_SYSTEM setting
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/info/functions/ini-set.xml?r1=1.33r2=1.34ty=u
Index: phpdoc/en/reference/info/functions/ini-set.xml
diff -u phpdoc/en/reference/info/functions/ini-set.xml:1.33 
phpdoc/en/reference/info/functions/ini-set.xml:1.34
--- phpdoc/en/reference/info/functions/ini-set.xml:1.33 Wed Jan 28 10:40:22 2004
+++ phpdoc/en/reference/info/functions/ini-set.xml  Thu Apr 29 03:13:58 2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.33 $ --
+!-- $Revision: 1.34 $ --
 !-- splitted from ./en/functions/info.xml, last change in rev 1.23 --
   refentry id=function.ini-set
refnamediv
@@ -1170,7 +1170,7 @@
   row
entryallow_url_fopen/entry
entry1/entry
-   entryPHP_INI_ALL/entry
+   entryPHP_INI_SYSTEM/entry
   /row
   row
entryalways_populate_raw_post_data/entry


[PHP-DOC] uuencode/-decode

2004-04-29 Thread Friedhelm Betz

Hi,
to which section belongs uuencode and uudecode?
I would like to commit the skeletons...

Thx 
Friedhelm


Re: [PHP-DOC] cvs: phpdoc /en/reference/sem reference.xml /en/reference/sem/functions msg-receive.xml msg-stat-queue.xml sem-acquire.xml sem-get.xml shm-get-var.xml shm-put-var.xml shm-remove-var.xml

2004-04-29 Thread Derick Rethans
On Thu, 29 Apr 2004, Antony Dovgal wrote:

 On Wed, 28 Apr 2004 13:44:55 -0400
 Damien Seguy [EMAIL PROTECTED] wrote:

  Antony,
 
  I got that too, then a clean check out made it disappear.
  Is that OK now?

 Yep, it works ok now.

Because I fixed it in CVS ;-)

Derick


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

2004-04-29 Thread Derick Rethans
derick  Thu Apr 29 03:15:54 2004 EDT

  Modified files:  
/phpdoc/en/reference/filesystem ini.xml 
  Log:
  - Fix the setting here too.
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/filesystem/ini.xml?r1=1.5r2=1.6ty=u
Index: phpdoc/en/reference/filesystem/ini.xml
diff -u phpdoc/en/reference/filesystem/ini.xml:1.5 
phpdoc/en/reference/filesystem/ini.xml:1.6
--- phpdoc/en/reference/filesystem/ini.xml:1.5  Wed Dec 17 09:32:14 2003
+++ phpdoc/en/reference/filesystem/ini.xml  Thu Apr 29 03:15:54 2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.5 $ --
+!-- $Revision: 1.6 $ --
 section id=filesystem.configuration
  reftitle.runtime;
  extension.runtime;
@@ -18,7 +18,7 @@
  row
   entryallow_url_fopen/entry
   entry1/entry
-  entryPHP_INI_ALL/entry
+  entryPHP_INI_SYSTEM/entry
  /row
  row
   entryuser_agent/entry
@@ -64,6 +64,11 @@
   wrappers. 
  /para
  note
+  warning
+   This setting can only be set in php.ini due to security reasons.
+  /warning
+ /note
+ note
   para
This option was introduced immediately after the release of version 
4.0.3. For versions up to and including 4.0.3 you can only disable this 


[PHP-DOC] #28203 [Opn-Csd]: Php_value and php_flag directives ignored by apache-2.0.49

2004-04-29 Thread derick
 ID:   28203
 Updated by:   [EMAIL PROTECTED]
 Reported By:  drubior at tinet dot org
-Status:   Open
+Status:   Closed
-Bug Type: Apache2 related
+Bug Type: Documentation problem
 Operating System: Solaris 8
 PHP Version:  4.3.6
 New Comment:

This setting can only be set in php.ini; the documentation regarding to
this
(http://nl2.php.net/manual/en/ref.filesystem.php#ini.allow-url-fopen)
was wrong, but that I just fixed. The new pages will be up in a week or
so.


Previous Comments:


[2004-04-29 08:36:19] drubior at tinet dot org

Yes, I had 1 before trying with On, because it wasn't working ...

VirtualHost *
ServerName www.blahblah.org
DocumentRoot /users/tesp/html
ScriptAlias /cgi-bin/ /users/tesp/html/cgi-bin/
php_flag allow_url_fopen 1
/VirtualHost

This doesn't work ...



[2004-04-28 15:38:22] [EMAIL PROTECTED]

Not a bug, use 1 and 0 in httpd.conf, on and off don't work.



[2004-04-28 13:36:55] drubior at tinet dot org

Description:

I think that the directives passed to virtual hosts via httpd.conf are
failing.

Concretly I've only testet php_value and php_flag.

I'm under Solaris 8, with apache 2.0.49 and php 4.3.6

I've the directive allow_url_fopen set to Off on php.ini, but on the
virtual host definition I have:

VirtualHost *
ServerName www.pageyouwant.net
DocumentRoot /apps/pgyw/html
ScriptAlias /cgi-bin/ /apps/pgyw/html/cgi-bin/
php_flag allow_url_fopen on
/VirtualHost

My configure is:

'./configure' '--prefix=/apps/php-4.3.6'
'--with-apxs2=/apps/apache/bin/apxs' '--with-zlib' '--enable-exif'
'--with-jpeg-dir=/usr/local/lib' '--with-png-dir=/usr/local/lib'
'--with-pgsql=/apps/pg-7.4.1-altanet' '--with-openssl=/usr/local/ssl'
'--enable-calendar' '--enable-ftp' '--without-mysql' '--with-gnu-ld'
'--with-gd'

Reproduce code:
---
The script failing is someone using fopen with an url, e.g:

$this-url = http://somedomain.com/file.txt;;
$this-fp = fopen($this-url, r)

Expected result:

I expect to find some content placed in the referenced file

Actual result:
--
The php page makes a warning saying that url_fopen is not permitted by
my host:

Warning: fopen(): URL file-access is disabled in the server
configuration in /apps/pgyw/html/includes/noticies.php on line 42

Warning: fopen(http://somedomain.com/file.txt): failed to open stream:
no suitable wrapper could be found in
/apps/pgyw/html/includes/noticies.php on line 42






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


[PHP-DOC] using funcsummary.txt to generate a custom function reference

2004-04-29 Thread David Förster
Hello,

I'm looking for a possiblity to generate a custom function reference to
be used phpeclipse's context help from the php manual.

I stumbled over the file funcsummary.txt containing all functions
including the return type, arguments and the description which is
exactly what I need.

I just noticed that it contains not only the build-in php functions but
also some other stuff about objects like Reflection_Class and
Reflection_Method and later some other weird looking stuff:

# php-src/ext/dom/documenttype.c
entitiesnamednodemap


Does it make sense to use that file for what I want?
What exactly does that file contain beside the built-in functions?
Is this file always up to date or do I need to regenerate it by myself?

Any help is appreciated.

David

ps: please cc me, I'm not on the list


pgp0.pgp
Description: PGP signature


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

2004-04-29 Thread Enrique Garcia Briones
baoengb Thu Apr 29 09:38:04 2004 EDT

  Modified files:  
/phpdoc/en/reference/mysqli/functions   mysqli-rollback.xml 
  Log:
  use of void /
  
http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-rollback.xml?r1=1.5r2=1.6ty=u
Index: phpdoc/en/reference/mysqli/functions/mysqli-rollback.xml
diff -u phpdoc/en/reference/mysqli/functions/mysqli-rollback.xml:1.5 
phpdoc/en/reference/mysqli/functions/mysqli-rollback.xml:1.6
--- phpdoc/en/reference/mysqli/functions/mysqli-rollback.xml:1.5Thu Feb 26 
13:32:30 2004
+++ phpdoc/en/reference/mysqli/functions/mysqli-rollback.xmlThu Apr 29 09:38:04 
2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.5 $ --
+!-- $Revision: 1.6 $ --
   refentry id=function.mysqli-rollback
refnamediv
 refnamemysqli_rollback/refname
@@ -17,7 +17,7 @@
  methodsynopsis
   typebool/type
   methodnamerollback/methodname
-  methodparamtypevoid/typeparameter/parameter/methodparam
+  void/
  /methodsynopsis
 /classsynopsis
 para


[PHP-DOC] cvs: phpdoc /en/reference/mysqli/functions mysqli-real-connect.xml mysqli-real-escape-string.xml

2004-04-29 Thread Enrique Garcia Briones
baoengb Thu Apr 29 10:41:13 2004 EDT

  Modified files:  
/phpdoc/en/reference/mysqli/functions   mysqli-real-connect.xml 
mysqli-real-escape-string.xml 
  Log:
  Typos
  
http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-real-connect.xml?r1=1.5r2=1.6ty=u
Index: phpdoc/en/reference/mysqli/functions/mysqli-real-connect.xml
diff -u phpdoc/en/reference/mysqli/functions/mysqli-real-connect.xml:1.5 
phpdoc/en/reference/mysqli/functions/mysqli-real-connect.xml:1.6
--- phpdoc/en/reference/mysqli/functions/mysqli-real-connect.xml:1.5Thu Feb 26 
09:48:54 2004
+++ phpdoc/en/reference/mysqli/functions/mysqli-real-connect.xmlThu Apr 29 
10:41:13 2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.5 $ --
+!-- $Revision: 1.6 $ --
   refentry id=function.mysqli-real-connect
refnamediv
 refnamemysqli_real_connect/refname
@@ -55,7 +55,7 @@
  /listitem
  listitem
   para
-   With the parameter parameterflags/parameter you can set diffrent 
connection options:
+   With the parameter parameterflags/parameter you can set different 
connection options:
   /para
   table
titleSupported flags/title
http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-real-escape-string.xml?r1=1.6r2=1.7ty=u
Index: phpdoc/en/reference/mysqli/functions/mysqli-real-escape-string.xml
diff -u phpdoc/en/reference/mysqli/functions/mysqli-real-escape-string.xml:1.6 
phpdoc/en/reference/mysqli/functions/mysqli-real-escape-string.xml:1.7
--- phpdoc/en/reference/mysqli/functions/mysqli-real-escape-string.xml:1.6  Thu 
Feb 26 13:32:30 2004
+++ phpdoc/en/reference/mysqli/functions/mysqli-real-escape-string.xml  Thu Apr 29 
10:41:13 2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.6 $ --
+!-- $Revision: 1.7 $ --
   refentry id=function.mysqli-real-escape-string
refnamediv
 refnamemysqli_real_escape_string/refname
@@ -23,7 +23,7 @@
   methodsynopsis
typestring/type
methodnamereal_escape_sring/methodname
-   methodparamtypestring/typeparameterquery/parameter/methodparam
+   methodparamtypestring/typeparameterescapestr/parameter/methodparam
   /methodsynopsis
  /classsynopsis
  para


[PHP-DOC] Re: cvs: phpdoc /en/reference/strings/functions trim.xml

2004-04-29 Thread Andrey Demenev
Mehdi Achour wrote:
didou		Tue Apr 27 17:45:48 2004 EDT

  Modified files:  
/phpdoc/en/reference/strings/functions	trim.xml 
  Log:
  ordered text (a note about a parameter was on top, before any other text) and redesigned the example
[..skip..]  
@@ -80,19 +74,25 @@
 ?php
 
 $text = \t\tThese are a few words :) ...  ;
-$trimmed = trim($text);
-// $trimmed = These are a few words :) ...
-$trimmed = trim($text,  \t.);
-// $trimmed = These are a few words :)
-$clean = trim($binary, \x00..\x1F);
+
+echo trim($text);   // These are a few words :) ...
+echo = trim($text,  \t.); // These are a few words :)
+
 // trim the ASCII control characters at the beginning and end of $binary
 // (from 0 to 31 inclusive)
+$clean = trim($binary, \x00..\x1F);
 
 ?
 ]]
 [..skip..]
echo = trim($text,  \t.); // These are a few words :)

What is it supposed to be ?

--
Andrey Demenev aka Blindman
[EMAIL PROTECTED]


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

2004-04-29 Thread Nuno Lopes
nlopess Thu Apr 29 11:01:54 2004 EDT

  Modified files:  
/phpdoc/en/reference/strings/functions  trim.xml 
  Log:
  fixing example
  
http://cvs.php.net/diff.php/phpdoc/en/reference/strings/functions/trim.xml?r1=1.5r2=1.6ty=u
Index: phpdoc/en/reference/strings/functions/trim.xml
diff -u phpdoc/en/reference/strings/functions/trim.xml:1.5 
phpdoc/en/reference/strings/functions/trim.xml:1.6
--- phpdoc/en/reference/strings/functions/trim.xml:1.5  Tue Apr 27 17:45:48 2004
+++ phpdoc/en/reference/strings/functions/trim.xml  Thu Apr 29 11:01:54 2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.5 $ --
+!-- $Revision: 1.6 $ --
 !-- splitted from ./en/functions/strings.xml, last change in rev 1.2 --
   refentry id=function.trim
refnamediv
@@ -76,7 +76,7 @@
 $text = \t\tThese are a few words :) ...  ;
 
 echo trim($text);   // These are a few words :) ...
-echo = trim($text,  \t.); // These are a few words :)
+echo trim($text,  \t.); // These are a few words :)
 
 // trim the ASCII control characters at the beginning and end of $binary
 // (from 0 to 31 inclusive)


[PHP-DOC] cvs: phpdoc /en/reference/spl/functions ArrayObject-count.xml

2004-04-29 Thread Nuno Lopes
nlopess Thu Apr 29 11:06:54 2004 EDT

  Added files: 
/phpdoc/en/reference/spl/functions  ArrayObject-count.xml 
  Log:
  more one spl function
  #need help here. there are lots of functions in spl
  

http://cvs.php.net/co.php/phpdoc/en/reference/spl/functions/ArrayObject-count.xml?r=1.1p=1
Index: phpdoc/en/reference/spl/functions/ArrayObject-count.xml
+++ phpdoc/en/reference/spl/functions/ArrayObject-count.xml
?xml version='1.0' encoding='iso-8859-1'?
!-- $Revision: 1.1 $ --
  refentry id=function.arrayobject-count
   refnamediv
refnameArrayObject::count/refname
refpurpose
 Return the number of elements in the Iterator
/refpurpose
   /refnamediv
   refsect1
titleDescription/title
methodsynopsis
 typeint/typemethodnameArrayObject::count/methodname
 void/
/methodsynopsis

 warn.undocumented.func;

   /refsect1
  /refentry

!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:../../../../manual.ced
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--


Re: [PHP-DOC] uuencode/-decode

2004-04-29 Thread Nuno Lopes
These functions were renamed to convert_uuencode and convert_uudecode.

I think they should go to the strings chapter.

Nuno


- Original Message - 
 
 Hi,
 to which section belongs uuencode and uudecode?
 I would like to commit the skeletons...
 
 Thx 
 Friedhelm


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

2004-04-29 Thread Nuno Lopes
nlopess Thu Apr 29 11:54:18 2004 EDT

  Modified files:  
/phpdoc/en/reference/array/functionsarray-diff-uassoc.xml 
  Log:
  fixing methodsynopsis
  
http://cvs.php.net/diff.php/phpdoc/en/reference/array/functions/array-diff-uassoc.xml?r1=1.3r2=1.4ty=u
Index: phpdoc/en/reference/array/functions/array-diff-uassoc.xml
diff -u phpdoc/en/reference/array/functions/array-diff-uassoc.xml:1.3 
phpdoc/en/reference/array/functions/array-diff-uassoc.xml:1.4
--- phpdoc/en/reference/array/functions/array-diff-uassoc.xml:1.3   Thu Jan 15 
07:42:01 2004
+++ phpdoc/en/reference/array/functions/array-diff-uassoc.xml   Thu Apr 29 11:54:18 
2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.3 $ --
+!-- $Revision: 1.4 $ --
 !-- splitted from ./en/functions/array.xml, last change in rev 1.14 --
   refentry id=function.array-diff-uassoc
refnamediv
@@ -9,7 +9,7 @@
refsect1
 titleDescription/title
  methodsynopsis
-  typearray/typemethodnamearray_diff_assoc/methodname
+  typearray/typemethodnamearray_diff_uassoc/methodname
   methodparamtypearray/typeparameterarray1/parameter/methodparam
   methodparamtypearray/typeparameterarray2/parameter/methodparam
   methodparam choice=opttypearray/typeparameter 
.../parameter/methodparam


Re: [PHP-DOC] Re: cvs: phpdoc /en/reference/strings/functions trim.xml

2004-04-29 Thread Nuno Lopes
 echo = trim($text,  \t.); // These are a few words :)
 
 What is it supposed to be ?


Fixed in CVS. Thanks!
Nuno


[PHP-DOC] OO documentation

2004-04-29 Thread Nuno Lopes
Hello,

I have some questions about how I should document OO functions.
May I follow George's style and include both OO and non-OO function in the
same file?
For example: tidy_parse_string and $tidy-ParseString()

How do I document variables of an object? In the __contructor page? or in
the reference.xml? ...?
For example: $tidy-ErrorBuffer

I've noted that tidy has the functions documented as $tidy_node-xxx, and
SPL and SOAP have SOAPClient::xxx
Which is the correct one? I think :: means static method? Maybe I'm wrong...


Thanks,
Nuno


[PHP-DOC] #28220 [NEW]: mb_strwidth() width table is wrong

2004-04-29 Thread martin dot t dot kutschker at blackbox dot net
From: martin dot t dot kutschker at blackbox dot net
Operating system: 
PHP version:  Irrelevant
PHP Bug Type: Documentation problem
Bug description:  mb_strwidth() width table is wrong

Description:

The table describing the width of the characters is wrong if you compare
it with the table for Unicode 4.0:

http://www.unicode.org/Public/UNIDATA/EastAsianWidth.txt

For the BMP the wide/full-width chars are:

1100..115F  Hangul Choseong
2E80..4DB5  CJK radicals and CJK Ideograph Extension A
4E00..D7A3  CJK Ideographs, Yi syll. and Hangul syll.
F900..FA6A  CJK compatibiliy ideographs
FE30..FE6B  presentation forms, punctuations, etc.
FF01..FF60  full-width Latin letters
FFE0FULLWIDTH CENT SIGN
FFE1FULLWIDTH POUND SIGN
FFE2FULLWIDTH NOT SIGN
FFE3FULLWIDTH MACRON
FFE4FULLWIDTH BROKEN BAR
FFE5FULLWIDTH YEN SIGN
FFE6FULLWIDTH WON SIGN

I didn't check what the actual implementation does, but the docs are
certainly wrong (if they mean Unicoe codepoints).


-- 
Edit bug report at http://bugs.php.net/?id=28220edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=28220r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=28220r=trysnapshot5
Fixed in CVS:   http://bugs.php.net/fix.php?id=28220r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=28220r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=28220r=needtrace
Need Reproduce Script:  http://bugs.php.net/fix.php?id=28220r=needscript
Try newer version:  http://bugs.php.net/fix.php?id=28220r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=28220r=support
Expected behavior:  http://bugs.php.net/fix.php?id=28220r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=28220r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=28220r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=28220r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28220r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=28220r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=28220r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=28220r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28220r=float


Re: [PHP-DOC] uuencode/-decode

2004-04-29 Thread Gabor Hojtsy
These functions were renamed to convert_uuencode and convert_uudecode.

I think they should go to the strings chapter.
mee to, erm, me too :)

Goba


Re: [PHP-DOC] using funcsummary.txt to generate a custom function reference

2004-04-29 Thread Gabor Hojtsy
Hi David,

I'm looking for a possiblity to generate a custom function reference to
be used phpeclipse's context help from the php manual.
I stumbled over the file funcsummary.txt containing all functions
including the return type, arguments and the description which is
exactly what I need.
I just noticed that it contains not only the build-in php functions but
also some other stuff about objects like Reflection_Class and
Reflection_Method and later some other weird looking stuff:
# php-src/ext/dom/documenttype.c
entitiesnamednodemap
Does it make sense to use that file for what I want?
What exactly does that file contain beside the built-in functions?
Is this file always up to date or do I need to regenerate it by myself?
It would be a bad idea to create a function list to reference pages in 
the manual, since there are a lot of functions not (yet) documented, but 
listed in the funcsummary file. I would suggest you look into the XSLT 
sheet published by the PHPEdit guys, which generates a reference list in 
XML format out of the PHP manual.

ps: please cc me, I'm not on the list
Please keep on using 'reply all', so everyone will be able to read your 
comments.

Regards,
Gabor Hojtsy


Re: [PHP-DOC] Distribution of PHP Manual

2004-04-29 Thread Gabor Hojtsy
Hi Mins,

I am currently doing computer training. I am currently proposing PHP 
Scripting course to a training centre. After looking for books, I felt 
that the documentation provided by PHP.NET Documentation is more than 
sufficient.

The documentation will be modified for training purpose. Some of the 
chapters will be removed (such as PHP installation in other operating 
systems). However, students will be advised to visit php.net for the 
latest and most complete version of the documentation.

I seek your approval to distribute the documentation to the students. 
There will not be any profit from the documentation, other than the cost 
of printing.
Our first question as usual is whether you would like to *add* content 
or just remove what you think is not appropriate for the course?

[Please use 'reply all', so everybody can read our conversation and can 
join in.]

Regards,
Gabor Hojtsy


Re: [PHP-DOC] OO documentation

2004-04-29 Thread Gabor Hojtsy
Hi!

I have some questions about how I should document OO functions.
May I follow George's style and include both OO and non-OO function in the
same file?
For example: tidy_parse_string and $tidy-ParseString()
How do I document variables of an object? In the __contructor page? or in
the reference.xml? ...?
For example: $tidy-ErrorBuffer
I've noted that tidy has the functions documented as $tidy_node-xxx, and
SPL and SOAP have SOAPClient::xxx
Which is the correct one? I think :: means static method? Maybe I'm wrong...
The PEAR docs might be interesting in this aspect. As far as I have 
seen, they use the :: notation for all kinds of methods, and add a note 
to method documentations if a method should not be called statically. 
Generally it is best to have some conformance, so our users will have 
easier time understanding what means what. If all the manual and 
sections use different methods, then it will be a big problem. Since 
there are already some methodologies, it is probably better to stick to 
them. IMHO the method used by Georg to document methods and functions in 
the same file is quite correct, since it shows the relation properly, 
and there is no need to add lots of dummy files, which would lead to a 
less useable manual. Speaking from the variables, I would suggest you 
look into how PEAR guys do (or how existing OO extensions do it in the 
docs).

Goba


Re: [PHP-DOC] OO documentation

2004-04-29 Thread Derick Rethans
On Thu, 29 Apr 2004, Gabor Hojtsy wrote:

 Hi!

  I have some questions about how I should document OO functions.
  May I follow George's style and include both OO and non-OO function in the
  same file?
  For example: tidy_parse_string and $tidy-ParseString()

Yes, that's the nicest way.

 
  How do I document variables of an object? In the __contructor page? or in
  the reference.xml? ...?
  For example: $tidy-ErrorBuffer

reference.xml (as it has nothing to do with the constructor per-se.

  I've noted that tidy has the functions documented as $tidy_node-xxx, and
  SPL and SOAP have SOAPClient::xxx
  Which is the correct one? I think :: means static method? Maybe I'm wrong...

 The PEAR docs might be interesting in this aspect. As far as I have
 seen, they use the :: notation for all kinds of methods, and add a note
 to method documentations if a method should not be called statically.

I think we should always use - UNLESS the method is a static method,
in that case use ::. IMO that's the most logic thing to do.

Derick


[PHP-DOC] #28223 [NEW]: unary minus operator is not documented

2004-04-29 Thread krenya at inf dot bme dot hu
From: krenya at inf dot bme dot hu
Operating system: any
PHP version:  4.3.6
PHP Bug Type: Documentation problem
Bug description:  unary minus operator is not documented

Description:

Table 10-1. Operator Precedence and Table 10-2. Arithmetic Operators
tables do not include the unary minus operator although it exists in
php.

Please add itt to the two table above.

Thanx

Reproduce code:
---
?
$a = 1;
$a = -$a;
echo $a;
?

Expected result:

PARSE error as there's no unary minus operator according to the docs

Actual result:
--
ouputs -1

-- 
Edit bug report at http://bugs.php.net/?id=28223edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=28223r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=28223r=trysnapshot5
Fixed in CVS:   http://bugs.php.net/fix.php?id=28223r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=28223r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=28223r=needtrace
Need Reproduce Script:  http://bugs.php.net/fix.php?id=28223r=needscript
Try newer version:  http://bugs.php.net/fix.php?id=28223r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=28223r=support
Expected behavior:  http://bugs.php.net/fix.php?id=28223r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=28223r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=28223r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=28223r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28223r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=28223r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=28223r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=28223r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28223r=float


[PHP-DOC] #28225 [NEW]: Can't open CHM documentation files

2004-04-29 Thread support at addixi dot com
From: support at addixi dot com
Operating system: Windows XP
PHP version:  4.3.6
PHP Bug Type: Documentation problem
Bug description:  Can't open CHM documentation files

Description:

The last chm documentation of php (version of 16 Avril 2004) cause a crash
of hh.exe in the dll itss.dll.

The documentation can't be viewed

Reproduce code:
---
Simply double click on the chm file


-- 
Edit bug report at http://bugs.php.net/?id=28225edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=28225r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=28225r=trysnapshot5
Fixed in CVS:   http://bugs.php.net/fix.php?id=28225r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=28225r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=28225r=needtrace
Need Reproduce Script:  http://bugs.php.net/fix.php?id=28225r=needscript
Try newer version:  http://bugs.php.net/fix.php?id=28225r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=28225r=support
Expected behavior:  http://bugs.php.net/fix.php?id=28225r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=28225r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=28225r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=28225r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28225r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=28225r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=28225r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=28225r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28225r=float


[PHP-DOC] cvs: phpdoc /en/reference/dba/functions dba-firstkey.xml

2004-04-29 Thread Damien Seguy
damsThu Apr 29 22:19:30 2004 EDT

  Modified files:  
/phpdoc/en/reference/dba/functions  dba-firstkey.xml 
  Log:
  don t auto see also
  
http://cvs.php.net/diff.php/phpdoc/en/reference/dba/functions/dba-firstkey.xml?r1=1.4r2=1.5ty=u
Index: phpdoc/en/reference/dba/functions/dba-firstkey.xml
diff -u phpdoc/en/reference/dba/functions/dba-firstkey.xml:1.4 
phpdoc/en/reference/dba/functions/dba-firstkey.xml:1.5
--- phpdoc/en/reference/dba/functions/dba-firstkey.xml:1.4  Thu Nov 13 04:40:08 
2003
+++ phpdoc/en/reference/dba/functions/dba-firstkey.xml  Thu Apr 29 22:19:30 2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.4 $ --
+!-- $Revision: 1.5 $ --
 !-- splitted from ./en/functions/dba.xml, last change in rev 1.2 --
   refentry id=function.dba-firstkey
refnamediv
@@ -27,8 +27,8 @@
  depending on whether it succeeds or fails, respectively.
 /para
 para
- See also:
- functiondba_firstkey/function, functiondba_key_split/function
+ See also 
+ functiondba_nextkey/function, functiondba_key_split/function
  and example 2 in the link linkend=dba.examplesDBA examples/link
 /para
/refsect1


[PHP-DOC] #27944 [Asn-Opn]: features section has nothing on Sessions

2004-04-29 Thread irchtml
 ID:   27944
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Assigned
+Status:   Open
 Bug Type: Documentation problem
 Operating System: irrelevant
 PHP Version:  Irrelevant
 Assigned To:  irchtml


Previous Comments:


[2004-04-11 10:36:22] [EMAIL PROTECTED]

Ok, That's fine.  I wanted to check before I did anything.



[2004-04-11 09:21:20] [EMAIL PROTECTED]

I just wanted a short tutorial like introduction, similar to what we
have for file uploads. All other information for this is in the manual
too, but not grouped in any way. Moving the session stuff to the
features section is not a good idea IMO.



[2004-04-11 09:12:25] [EMAIL PROTECTED]

I agree with Goba (infos compact and all-in-one reference 
sections). 
Although a short introduction to sessions as core feature 
of php might be feasible. 
 
Friedhelm 
 



[2004-04-11 07:06:58] [EMAIL PROTECTED]

Kenneth offered to move the session info from ref.session to
features.session. The intention so far was to work the other way around
(and provide compact and all-in-one reference sections). See the preg
section for example. It contains info on preg formatting. Though
regular expressions would be a possible feature section cadidate, we
decided to keep the documentation for one extension in one place.

This does not mean that pointers might not be added to the features
section (short pages on regex extensions or session handling). But I am
strongly opposed to the idea to move out stuff from the reference
sections to the features section, since we have worked the other way
around so far. There used to be an image generation section in the
features part which we moved to the gd docs for example...

[Kenneth, it is better to store comments in the bug system for future
reference...]



[2004-04-10 13:00:46] [EMAIL PROTECTED]

Description:

The features section (http://www.php.net/manual/en/features.php) in the
Manual misses a short introduction/tutorial on sessions. It doesn't
have to be covering everything, but the basic session_start() and use
of $_SESSION[] would be a very good idea. (And of course points to more
information in the manual about it).






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


[PHP-DOC] #23220 [Com]: fgets() causes warning while reading data via SSL channel (HTTPS)

2004-04-29 Thread mike dot davsi at temple dot edu
 ID:   23220
 Comment by:   mike dot davsi at temple dot edu
 Reported By:  storozhilov at mail dot ru
 Status:   Closed
 Bug Type: Documentation problem
 Operating System: *
 PHP Version:  4CVS
 New Comment:

I'm seeing this against an apache server.  What version is this fixed
in? 

file_get_contents(https://.;);

PHP 4.3.2 (cgi), Copyright (c) 1997-2003 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies

I have fixed it for now with error_reporting but would like to get a
true fix.


Previous Comments:


[2004-02-19 11:00:45] [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.





[2004-02-18 19:12:00] [EMAIL PROTECTED]

Marking as documentation problem. Some (IIS) non-standard 
compliant servers send data in a way that causes PHP to 
raise warnings. When working with such servers you should 
lower your error_reporting level not to include warnings. 



[2004-02-16 20:16:59] scottmacvicar at ntlworld dot com

Since this indeed an error but it will happen anytime you make an HTTPS
request to IIS i think the error should be changed to E_NOTICE and the
error message updated to what it actually does.

Patch
---
diff -u network.c network.c.patched
--- network.c   2004-02-17 01:20:49.0 +
+++ network.c.patched   2004-02-17 01:22:23.0 +
@@ -870,8 +870,8 @@
case SSL_ERROR_SYSCALL:
if (ERR_peek_error() == 0) {
if (nr_bytes == 0) {
-   php_error_docref(NULL
TSRMLS_CC, E_WARNING,
-   SSL: fatal
protocol error);
+   php_error_docref(NULL
TSRMLS_CC, E_NOTICE,
+   SSL: EOF
occurred in violation of protocol);
stream-eof = 1;
retry = 0;
} else {



[2004-02-16 19:58:27] scottmacvicar at ntlworld dot com

Found the cause of this now.

Its Microsoft's we can do what we want attituide in regards to IIS.

An EOF occured but the SSL close_notify message hasn't been sent.

I'll write a patch and post it tomorrow hopefully.



[2004-02-16 17:00:49] aaron_hawryluk at shaw dot ca

This also seems to cause a problem with file_get_contents which I am
using to retrieve transaction data.  Test case is:
code?php
file_get_contents(https://any.secure.server;);
?/code
returns:
codeWarning: file_get_contents(): SSL: fatal protocol error in
/usr/local/www/data-dist/navdev/test.php on line 2/code

...plus whatever data the secure server provides.



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/23220

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