[PHP-DOC] cvs: phpdoc /en/reference/strings/functions stripos.xml strpos.xml strripos.xml strrpos.xml

2006-02-17 Thread Nuno Lopes
nlopess Fri Feb 17 12:17:20 2006 UTC

  Modified files:  
/phpdoc/en/reference/strings/functions  stripos.xml strpos.xml 
strripos.xml strrpos.xml 
  Log:
  fix return type, per user note
  
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/strings/functions/stripos.xml?r1=1.7r2=1.8diff_format=u
Index: phpdoc/en/reference/strings/functions/stripos.xml
diff -u phpdoc/en/reference/strings/functions/stripos.xml:1.7 
phpdoc/en/reference/strings/functions/stripos.xml:1.8
--- phpdoc/en/reference/strings/functions/stripos.xml:1.7   Tue Oct  4 
15:11:18 2005
+++ phpdoc/en/reference/strings/functions/stripos.xml   Fri Feb 17 12:17:20 2006
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.7 $ --
+!-- $Revision: 1.8 $ --
   refentry id=function.stripos
refnamediv
 refnamestripos/refname
@@ -10,7 +10,7 @@
refsect1
 titleDescription/title
  methodsynopsis
-  typeint/typemethodnamestripos/methodname
+  typemixed/typemethodnamestripos/methodname
   
methodparamtypestring/typeparameterhaystack/parameter/methodparam
   
methodparamtypestring/typeparameterneedle/parameter/methodparam
   methodparam 
choice=opttypeint/typeparameteroffset/parameter/methodparam
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/strings/functions/strpos.xml?r1=1.8r2=1.9diff_format=u
Index: phpdoc/en/reference/strings/functions/strpos.xml
diff -u phpdoc/en/reference/strings/functions/strpos.xml:1.8 
phpdoc/en/reference/strings/functions/strpos.xml:1.9
--- phpdoc/en/reference/strings/functions/strpos.xml:1.8Wed Apr 20 
14:05:09 2005
+++ phpdoc/en/reference/strings/functions/strpos.xmlFri Feb 17 12:17:20 2006
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.8 $ --
+!-- $Revision: 1.9 $ --
 !-- splitted from ./en/functions/strings.xml, last change in rev 1.8 --
   refentry id=function.strpos
refnamediv
@@ -11,7 +11,7 @@
refsect1
 titleDescription/title
  methodsynopsis
-  typeint/typemethodnamestrpos/methodname
+  typemixed/typemethodnamestrpos/methodname
   
methodparamtypestring/typeparameterhaystack/parameter/methodparam
   
methodparamtypemixed/typeparameterneedle/parameter/methodparam
   methodparam 
choice=opttypeint/typeparameteroffset/parameter/methodparam
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/strings/functions/strripos.xml?r1=1.7r2=1.8diff_format=u
Index: phpdoc/en/reference/strings/functions/strripos.xml
diff -u phpdoc/en/reference/strings/functions/strripos.xml:1.7 
phpdoc/en/reference/strings/functions/strripos.xml:1.8
--- phpdoc/en/reference/strings/functions/strripos.xml:1.7  Tue May 31 
04:15:40 2005
+++ phpdoc/en/reference/strings/functions/strripos.xml  Fri Feb 17 12:17:20 2006
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.7 $ --
+!-- $Revision: 1.8 $ --
   refentry id=function.strripos
refnamediv
 refnamestrripos/refname
@@ -10,7 +10,7 @@
refsect1
 titleDescription/title
 methodsynopsis
- typeint/typemethodnamestrripos/methodname
+ typemixed/typemethodnamestrripos/methodname
  
methodparamtypestring/typeparameterhaystack/parameter/methodparam
  
methodparamtypestring/typeparameterneedle/parameter/methodparam
  methodparam 
choice=opttypeint/typeparameteroffset/parameter/methodparam
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/strings/functions/strrpos.xml?r1=1.10r2=1.11diff_format=u
Index: phpdoc/en/reference/strings/functions/strrpos.xml
diff -u phpdoc/en/reference/strings/functions/strrpos.xml:1.10 
phpdoc/en/reference/strings/functions/strrpos.xml:1.11
--- phpdoc/en/reference/strings/functions/strrpos.xml:1.10  Tue Aug 10 
16:30:22 2004
+++ phpdoc/en/reference/strings/functions/strrpos.xml   Fri Feb 17 12:17:20 2006
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.10 $ --
+!-- $Revision: 1.11 $ --
 !-- splitted from ./en/functions/strings.xml, last change in rev 1.8 --
   refentry id=function.strrpos
refnamediv
@@ -11,7 +11,7 @@
refsect1
 titleDescription/title
  methodsynopsis
-  typeint/typemethodnamestrrpos/methodname
+  typemixed/typemethodnamestrrpos/methodname
   
methodparamtypestring/typeparameterhaystack/parameter/methodparam
   
methodparamtypestring/typeparameterneedle/parameter/methodparam
   methodparam 
choice=opttypeint/typeparameteroffset/parameter/methodparam


Re: [PHP-DOC] cvs: phpdoc /en/reference/strings/functions stripos.xml strpos.xml strripos.xml strrpos.xml

2006-02-17 Thread Friedhelm Betz

Nuno Lopes wrote:

nlopess Fri Feb 17 12:17:20 2006 UTC

  Modified files:  
/phpdoc/en/reference/strings/functions	stripos.xml strpos.xml 
  	strripos.xml strrpos.xml 
  Log:

  fix return type, per user note
  


I am certain, we decided to document as return type the main type of the 
returned value. There are many other funcs returning boolean false in 
case of failure.

I think, mixed is not the propper return type in this case.

Ah, Jakub was as always very fast;-)

Friedhelm