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

2006-07-31 Thread [EMAIL PROTECTED]
 ID:   34789
 User updated by:  [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Open
 Bug Type: Documentation problem
 Operating System: irrlevant
 PHP Version:  Irrelevant
 New Comment:

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


Previous Comments:


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

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



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

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



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

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



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

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



[2005-11-25 09:57:37] [EMAIL PROTECTED]

actually we probably need to say that anything that goes into the
global namespace needs to be prefixed by a fairly random (hopefully
unique within the php community) 3-4 letter prefix or breakage is to be
expected ..

see the recent issues with the File and Date objects



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

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


[PHP-DOC] #38264 [Opn-Bgs]: prototype of ftp_nb_get is wrong

2006-07-31 Thread tony2001
 ID:  38264
 Updated by:  [EMAIL PROTECTED]
 Reported By: hanwoody at gmail dot com
-Status:  Open
+Status:  Bogus
 Bug Type:Documentation problem
 PHP Version: Irrelevant
 New Comment:

It is correct.


Previous Comments:


[2006-07-31 03:22:53] hanwoody at gmail dot com

Description:

bool ftp_nb_get ( resource ftp_stream, string local_file, string
remote_file, int mode [, int resumepos] )

this prototype is wrong!



Expected result:

int ftp_nb_get ( resource ftp_stream, string local_file, string
remote_file, int mode [, int resumepos] )






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


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

2006-07-31 Thread spam01 at pornel dot net
From: spam01 at pornel dot net
Operating system: *
PHP version:  Irrelevant
PHP Bug Type: Documentation problem
Bug description:  See also ereg() in stristr, strncmp

Description:

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



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


[PHP-DOC] #38275 [NEW]: Message in array.c missing an

2006-07-31 Thread agiorgio at optonline dot net
From: agiorgio at optonline dot net
Operating system: Linux
PHP version:  Irrelevant
PHP Bug Type: Documentation problem
Bug description:  Message in array.c missing an

Description:

In ext/standard/array.c, the message Both parameters should have equal
number of elements should read Both parameters should have an equal
number of elements


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


[PHP-DOC] #38277 [NEW]: CHM file problem in HU

2006-07-31 Thread csongedip at freemail dot hu
From: csongedip at freemail dot hu
Operating system: Windows XP
PHP version:  Irrelevant
PHP Bug Type: Documentation problem
Bug description:  CHM file problem in HU

Description:

The chm fájl in Hungarian language doesn't seem to work, only TOC can be
seen and searched, but no topic detail at all.


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


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

2006-07-31 Thread Philip Olson
philip  Tue Aug  1 02:00:03 2006 UTC

  Modified files:  
/phpdoc/en/reference/strings/functions  strlen.xml 
  Log:
  WS, preparation for the new doc style
  # Doing just one file from ref.strings for now, am doing a test
  
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/strings/functions/strlen.xml?r1=1.5r2=1.6diff_format=u
Index: phpdoc/en/reference/strings/functions/strlen.xml
diff -u phpdoc/en/reference/strings/functions/strlen.xml:1.5 
phpdoc/en/reference/strings/functions/strlen.xml:1.6
--- phpdoc/en/reference/strings/functions/strlen.xml:1.5Sat Jul 24 
05:26:39 2004
+++ phpdoc/en/reference/strings/functions/strlen.xmlTue Aug  1 02:00:03 2006
@@ -1,24 +1,24 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.5 $ --
-!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 --
-  refentry id=function.strlen
-   refnamediv
-refnamestrlen/refname
-refpurposeGet string length/refpurpose
-   /refnamediv
-   refsect1
-titleDescription/title
- methodsynopsis
-  typeint/typemethodnamestrlen/methodname
-  
methodparamtypestring/typeparameterstring/parameter/methodparam
- /methodsynopsis
-para
- Returns the length of the given parameterstring/parameter.
-/para
-para
- example
-  titleA functionstrlen/function example/title
-  programlisting role=php
+!-- $Revision: 1.6 $ --
+refentry id=function.strlen
+ refnamediv
+  refnamestrlen/refname
+  refpurposeGet string length/refpurpose
+ /refnamediv
+ 
+ refsect1
+  titleDescription/title
+  methodsynopsis
+   typeint/typemethodnamestrlen/methodname
+   methodparamtypestring/typeparameterstring/parameter/methodparam
+  /methodsynopsis
+  para
+   Returns the length of the given parameterstring/parameter.
+  /para
+  para
+   example
+titleA functionstrlen/function example/title
+programlisting role=php
 ![CDATA[
 ?php
 $str = 'abcdef';
@@ -28,14 +28,14 @@
 echo strlen($str); // 7
 ?
 ]]
-  /programlisting
- /example
-/para
-para
- See also functioncount/function, and functionmb_strlen/function.
-/para
-   /refsect1
-  /refentry
+/programlisting
+   /example
+  /para
+  para
+   See also functioncount/function, and functionmb_strlen/function.
+  /para
+ /refsect1
+/refentry
 
 !-- Keep this comment at the end of the file
 Local variables:


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

2006-07-31 Thread Philip Olson
philip  Tue Aug  1 02:23:17 2006 UTC

  Modified files:  
/phpdoc/en/reference/strings/functions  strlen.xml 
  Log:
  Implemented the new doc style and some rewording where appropriate
  
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/strings/functions/strlen.xml?r1=1.6r2=1.7diff_format=u
Index: phpdoc/en/reference/strings/functions/strlen.xml
diff -u phpdoc/en/reference/strings/functions/strlen.xml:1.6 
phpdoc/en/reference/strings/functions/strlen.xml:1.7
--- phpdoc/en/reference/strings/functions/strlen.xml:1.6Tue Aug  1 
02:00:03 2006
+++ phpdoc/en/reference/strings/functions/strlen.xmlTue Aug  1 02:23:17 2006
@@ -1,13 +1,13 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.6 $ --
+!-- $Revision: 1.7 $ --
 refentry id=function.strlen
  refnamediv
   refnamestrlen/refname
   refpurposeGet string length/refpurpose
  /refnamediv
- 
- refsect1
-  titleDescription/title
+
+ refsect1 role=description
+  reftitle.description;
   methodsynopsis
typeint/typemethodnamestrlen/methodname
methodparamtypestring/typeparameterstring/parameter/methodparam
@@ -15,6 +15,34 @@
   para
Returns the length of the given parameterstring/parameter.
   /para
+ /refsect1
+
+ refsect1 role=parameters
+  reftitle.parameters;
+  para
+   variablelist
+varlistentry
+ termparameterstring/parameter/term
+ listitem
+  para
+   The typestring/type being measured for length.
+  /para
+ /listitem
+/varlistentry
+   /variablelist
+  /para
+ /refsect1
+
+ refsect1 role=returnvalues
+  reftitle.returnvalues;
+  para
+   The length of the parameterstring/parameter on success, 
+   and literal0/literal if the parameterstring/parameter is empty.
+  /para
+ /refsect1
+
+ refsect1 role=examples
+  reftitle.examples;
   para
example
 titleA functionstrlen/function example/title
@@ -31,8 +59,15 @@
 /programlisting
/example
   /para
+ /refsect1
+
+ refsect1 role=seealso
+  reftitle.seealso;
   para
-   See also functioncount/function, and functionmb_strlen/function.
+   simplelist
+memberfunctioncount/function/member
+memberfunctionmb_strlen/function/member
+   /simplelist
   /para
  /refsect1
 /refentry