[PHP-DOC] #34985 [Opn-Bgs]: Question marks instead of text

2005-10-26 Thread vrana
 ID:   34985
 Updated by:   [EMAIL PROTECTED]
 Reported By:  selfman at netax dot sk
-Status:   Open
+Status:   Bogus
 Bug Type: Documentation problem
 Operating System: Windows 2000 Pro SP4 + all patch
 PHP Version:  Irrelevant
 New Comment:

Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

Dup of bug #33838.


Previous Comments:


[2005-10-26 04:36:41] selfman at netax dot sk

Description:

The latest CHM manual versions have some bugs which look like this:
? 1. array_change_key_case() example
But should look like this:
Example 1. array_change_key_case() example

Bottom navigation links are also broken:
? ???  ? 
Array Functions ? array_chunk 

Instead of:
Prev Home Next 
Array Functions Up array_chunk 

The working version I have was generated: Thu Apr 15 13:13:36 2004
New one was generated: Thu Oct 20 00:25:18 2005
I've seen this problem in last 1-2 months.






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


[PHP-DOC] cvs: phpdoc /en/language operators.xml

2005-10-26 Thread Jean-S�bastien Goupil
jsgoupilWed Oct 26 04:35:21 2005 EDT

  Modified files:  
/phpdoc/en/language operators.xml 
  Log:
  php role for programlisting missing
  
http://cvs.php.net/diff.php/phpdoc/en/language/operators.xml?r1=1.96r2=1.97ty=u
Index: phpdoc/en/language/operators.xml
diff -u phpdoc/en/language/operators.xml:1.96 
phpdoc/en/language/operators.xml:1.97
--- phpdoc/en/language/operators.xml:1.96   Fri Aug 19 11:27:50 2005
+++ phpdoc/en/language/operators.xmlWed Oct 26 04:35:20 2005
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.96 $ --
+!-- $Revision: 1.97 $ --
  chapter id=language.operators
   titleOperators/title
   simpara
@@ -1122,7 +1122,7 @@
 literalinstanceof/literal. 
/simpara
informalexample
-programlisting
+programlisting role=php
 ![CDATA[
 ?php
 class A { }


[PHP-DOC] #34979 [Csd]: German translation of array_shift missing a

2005-10-26 Thread vrana
 ID:  34979
 Updated by:  [EMAIL PROTECTED]
 Reported By: [EMAIL PROTECTED]
 Status:  Closed
 Bug Type:Documentation problem
 PHP Version: Irrelevant
 Assigned To: sean
 New Comment:

Usually, this one would be marked as bogus with the statement: Wait
until the translation team sync. If you want to help, contact
[EMAIL PROTECTED] ;-)


Previous Comments:


[2005-10-25 19:45:14] [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.





[2005-10-25 19:40:10] [EMAIL PROTECTED]

Description:

The German version of the array_shift() page is missing a  on the
array argument.






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


[PHP-DOC] #34979 [Csd]: German translation of array_shift missing a

2005-10-26 Thread [EMAIL PROTECTED]
 ID:  34979
 User updated by: [EMAIL PROTECTED]
 Reported By: [EMAIL PROTECTED]
 Status:  Closed
 Bug Type:Documentation problem
 PHP Version: Irrelevant
 Assigned To: sean
 New Comment:

How would a synch help?  When I filed the bug, it was incorrect in CVS
so a synch wouldn't have fixed anything.  If you guys are marking
documentation bug reports like this bogus, then there is a rather
serious problem.


Previous Comments:


[2005-10-26 11:38:59] [EMAIL PROTECTED]

Usually, this one would be marked as bogus with the statement: Wait
until the translation team sync. If you want to help, contact
[EMAIL PROTECTED] ;-)



[2005-10-25 19:45:14] [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.





[2005-10-25 19:40:10] [EMAIL PROTECTED]

Description:

The German version of the array_shift() page is missing a  on the
array argument.






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


[PHP-DOC] #34979 [Csd]: German translation of array_shift missing a

2005-10-26 Thread vrana
 ID:  34979
 Updated by:  [EMAIL PROTECTED]
 Reported By: [EMAIL PROTECTED]
 Status:  Closed
 Bug Type:Documentation problem
 PHP Version: Irrelevant
 Assigned To: sean
 New Comment:

This page in the German documentation is simply outdated. It was
translated from English revision 1.8 but  was added in 1.10.
Translation teams have other tools to spot outdated files thus bugs
regarding outdated translations are usually marked as bogus (because
bunch of pages are always slightly outdated, except French of course).
Contrary, bugs regarding wrong translations (e.g. true instead of
false) are accepted.


Previous Comments:


[2005-10-26 15:02:25] [EMAIL PROTECTED]

How would a synch help?  When I filed the bug, it was incorrect in CVS
so a synch wouldn't have fixed anything.  If you guys are marking
documentation bug reports like this bogus, then there is a rather
serious problem.



[2005-10-26 11:38:59] [EMAIL PROTECTED]

Usually, this one would be marked as bogus with the statement: Wait
until the translation team sync. If you want to help, contact
[EMAIL PROTECTED] ;-)



[2005-10-25 19:45:14] [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.





[2005-10-25 19:40:10] [EMAIL PROTECTED]

Description:

The German version of the array_shift() page is missing a  on the
array argument.






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


[PHP-DOC] cvs: phpdoc /en/reference/maxdb/functions maxdb-stmt-bind-param.xml

2005-10-26 Thread Thomas Simenec
simenec Wed Oct 26 11:27:30 2005 EDT

  Modified files:  
/phpdoc/en/reference/maxdb/functionsmaxdb-stmt-bind-param.xml 
  Log:
  update documentation
  
http://cvs.php.net/diff.php/phpdoc/en/reference/maxdb/functions/maxdb-stmt-bind-param.xml?r1=1.4r2=1.5ty=u
Index: phpdoc/en/reference/maxdb/functions/maxdb-stmt-bind-param.xml
diff -u phpdoc/en/reference/maxdb/functions/maxdb-stmt-bind-param.xml:1.4 
phpdoc/en/reference/maxdb/functions/maxdb-stmt-bind-param.xml:1.5
--- phpdoc/en/reference/maxdb/functions/maxdb-stmt-bind-param.xml:1.4   Wed May 
 4 05:39:11 2005
+++ phpdoc/en/reference/maxdb/functions/maxdb-stmt-bind-param.xml   Wed Oct 
26 11:27:30 2005
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.4 $ --
+!-- $Revision: 1.5 $ --
   refentry id=function.maxdb-stmt-bind-param
refnamediv
 refnamemaxdb_stmt_bind_param/refname
@@ -22,11 +22,28 @@
  methodsynopsis
   typebool/type
methodnamebind_param/methodname
-  methodparamtypearray/typeparametertypes/parameter/methodparam
+  
methodparamtypestring/typeparametertypes/parameter/methodparam
   methodparamtypemixed/typeparameter 
role=referencevar1/parameter/methodparam
   methodparam choice=opttypemixed/typeparameter 
role=reference.../parameter/methodparam
  /methodsynopsis
 /classsynopsis
+paraProcedural style (extended syntax):/para
+methodsynopsis
+ typebool/typemethodnamemaxdb_stmt_bind_param/methodname
+ 
methodparamtyperesource/typeparameterstmt/parameter/methodparam
+ methodparamtypestring/typeparametertypes/parameter/methodparam
+ methodparamtypearray/typeparameter 
role=referencevar/parameter/methodparam
+/methodsynopsis
+paraObject oriented style (method) (extended syntax):/para
+classsynopsis
+ ooclassclassnamestmt/classname/ooclass
+ methodsynopsis
+  typebool/type
+   methodnamebind_param/methodname
+  
methodparamtypestring/typeparametertypes/parameter/methodparam
+  methodparamtypearray/typeparameter 
role=referencevar/parameter/methodparam
+ /methodsynopsis
+/classsynopsis
 para
  functionmaxdb_stmt_bind_param/function is used to bind variables for 
the
  parameter markers in the SQL statement that was passed to
@@ -35,6 +52,12 @@
  the types for the corresponding bind variables.
 /para
 para
+ The extended syntax of functionmaxdb_stmt_bind_param/function allows 
to give the parameters
+ as an array instead of a variable list of PHP variables to the function. 
If the array variable has not been
+ used before calling functionmaxdb_stmt_bind_param/function, it has to 
be initialized as an emtpy
+ array. See the examples how to use 
functionmaxdb_stmt_bind_param/function with extended syntax.
+/para
+para
  Variables for SELECT INTO SQL statements can also be bound using 
functionmaxdb_stmt_bind_param/function.
  Parameters for database procedures can be bound using 
functionmaxdb_stmt_bind_param/function. See the
  examples how to use functionmaxdb_stmt_bind_param/function in this 
cases.
@@ -277,6 +300,79 @@
 a
 ]]
 /screen
+example
+ titleObject oriented style (extended syntax)/title
+ programlisting role=php
+![CDATA[
+?php
+$maxdb = new maxdb('localhost', 'MONA', 'RED', 'DEMODB');
+
+/* check connection */
+if (maxdb_connect_errno()) {
+   printf(Connect failed: %s\n, maxdb_connect_error());
+   exit();
+}
+
+$maxdb-query (CREATE TABLE temp.mycity LIKE hotel.city);
+$maxdb-query (INSERT INTO temp.mycity SELECT * FROM hotel.city);
+
+$stmt = $maxdb-prepare(INSERT INTO temp.mycity VALUES (?, ?, ?));
+
+$arr = array();
+
+$stmt-bind_param('iss', $arr);
+
+$arr[0] = 1;
+$arr[1] = 'Georgetown';
+$arr[2] = 'NY';
+
+/* execute prepared statement */
+$stmt-execute();
+
+printf(%d Row inserted.\n, maxdb_stmt_affected_rows($stmt));
+
+$arr[0] = 2;
+$arr[1] = 'New Orleans';
+$arr[2] = 'LA';
+
+/* execute prepared statement */
+$stmt-execute();
+
+printf(%d Row inserted.\n, $stmt-affected_rows);
+
+/* close statement and connection */
+$stmt-close();
+
+$result = $maxdb-query(SELECT * from temp.mycity WHERE zip = '1' OR zip 
= '2');
+if ($result) {
+  while ($row = $result-fetch_row()) {
+printf (%s %s %s\n, $row[0], $row[1], $row[2]);
+  }
+}
+
+/* Clean up table CountryLanguage */
+$maxdb-query(DELETE FROM temp.mycity WHERE name='Georgetown');
+$maxdb-query(DELETE FROM temp.mycity WHERE name='New Orleans');
+printf(%d Rows deleted.\n, $maxdb-affected_rows);
+
+/* close connection */
+$maxdb-close();
+?
+]]
+ /programlisting
+/example
+para
+ The above examples would produce the following output:
+/para
+screen
+![CDATA[
+1 Row inserted.
+1 Row inserted.
+1 Georgetown NY
+2 New Orleans LA
+2 Rows deleted.
+]]
+/screen
/refsect1
   /refentry
 


[PHP-DOC] #34993 [NEW]: instanceof documentation inheritance

2005-10-26 Thread graced at monroe dot wednet dot edu
From: graced at monroe dot wednet dot edu
Operating system: 
PHP version:  Irrelevant
PHP Bug Type: Documentation problem
Bug description:  instanceof documentation  inheritance

Description:

The documentation for the instanceof operator in the manual does not
authoritatively say that the operator checks parent classes and interfaces
as well as the base clase, i.e.

class A { }
class B extends A { } 

$thing = new B;


if ($thing instanceof A) { 
echo 'A'; 
}
if ($thing instanceof B) {
echo 'B';
}
// result: AB
?


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


[PHP-DOC] cvs: phpdoc /en/reference/ingres-ii/functions ingres-errno.xml

2005-10-26 Thread Jean-S�bastien Goupil
jsgoupilWed Oct 26 14:20:16 2005 EDT

  Modified files:  
/phpdoc/en/reference/ingres-ii/functionsingres-errno.xml 
  Log:
  wrong copy : error - errno
  
http://cvs.php.net/diff.php/phpdoc/en/reference/ingres-ii/functions/ingres-errno.xml?r1=1.2r2=1.3ty=u
Index: phpdoc/en/reference/ingres-ii/functions/ingres-errno.xml
diff -u phpdoc/en/reference/ingres-ii/functions/ingres-errno.xml:1.2 
phpdoc/en/reference/ingres-ii/functions/ingres-errno.xml:1.3
--- phpdoc/en/reference/ingres-ii/functions/ingres-errno.xml:1.2Fri Oct 
 7 20:22:34 2005
+++ phpdoc/en/reference/ingres-ii/functions/ingres-errno.xmlWed Oct 26 
14:20:12 2005
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.2 $ --
+!-- $Revision: 1.3 $ --
 !-- splitted from ./en/functions/ingres_ii.xml, last change in rev 1.1 --
   refentry id=function.ingres-errno
refnamediv
@@ -30,7 +30,7 @@
 /para
 para
  example
-  titlefunctioningres_error/function example/title
+  titlefunctioningres_errno/function example/title
   programlisting role=php
 ![CDATA[
 ?php


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

2005-10-26 Thread Jean-S�bastien Goupil
jsgoupilWed Oct 26 15:48:31 2005 EDT

  Modified files:  
/phpdoc/en/reference/ingres-ii  constants.xml 
  Log:
  typo
  
http://cvs.php.net/diff.php/phpdoc/en/reference/ingres-ii/constants.xml?r1=1.6r2=1.7ty=u
Index: phpdoc/en/reference/ingres-ii/constants.xml
diff -u phpdoc/en/reference/ingres-ii/constants.xml:1.6 
phpdoc/en/reference/ingres-ii/constants.xml:1.7
--- phpdoc/en/reference/ingres-ii/constants.xml:1.6 Sat Oct  8 09:11:46 2005
+++ phpdoc/en/reference/ingres-ii/constants.xml Wed Oct 26 15:48:22 2005
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.6 $ --
+!-- $Revision: 1.7 $ --
 section id=ingres.constants
  reftitle.constants;
  extension.constants;
@@ -187,7 +187,7 @@
/term
listitem
 simpara
- Speifies the currency character should be placed a the start of a money
+ Speifies the currency character should be placed at the start of a money
  value. Equivalent to setting II_MONEY_FORMAT to 'L:'. Available since 
version 1.2.0 of the PECL extension.
 /simpara
/listitem
@@ -199,7 +199,7 @@
/term
listitem
 simpara
- Speifies the currency character should be placed a the end of a money
+ Speifies the currency character should be placed at the end of a money
  value. Equivalent to setting II_MONEY_FORMAT to 'T:'. Available since 
version 1.2.0 of the PECL extension.
 /simpara
/listitem


Re: [PHP-DOC] cvs: phpdoc /en/reference/ingres-ii constants.xml

2005-10-26 Thread Nuno Lopes

jsgoupil Wed Oct 26 15:48:31 2005 EDT

 Modified files:
   /phpdoc/en/reference/ingres-ii constants.xml
 Log:
 typo

http://cvs.php.net/diff.php/phpdoc/en/reference/ingres-ii/constants.xml?r1=1.6r2=1.7ty=u
Index: phpdoc/en/reference/ingres-ii/constants.xml
diff -u phpdoc/en/reference/ingres-ii/constants.xml:1.6 
phpdoc/en/reference/ingres-ii/constants.xml:1.7
--- phpdoc/en/reference/ingres-ii/constants.xml:1.6 Sat Oct  8 09:11:46 
2005

+++ phpdoc/en/reference/ingres-ii/constants.xml Wed Oct 26 15:48:22 2005
@@ -1,5 +1,5 @@
?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.6 $ --
+!-- $Revision: 1.7 $ --
section id=ingres.constants
 reftitle.constants;
 extension.constants;
@@ -187,7 +187,7 @@
   /term
   listitem
simpara
- Speifies the currency character should be placed a the start of a 
money
+ Speifies the currency character should be placed at the start of a 
money


maybe its better:
_Specifies_ the currency character _that_ should be...


 value. Equivalent to setting II_MONEY_FORMAT to 'L:'. Available since 
version 1.2.0 of the PECL extension.

/simpara
   /listitem
@@ -199,7 +199,7 @@
   /term
   listitem
simpara
- Speifies the currency character should be placed a the end of a 
money
+ Speifies the currency character should be placed at the end of a 
money


the same here.


Nuno 


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

2005-10-26 Thread Jean-S�bastien Goupil
jsgoupilWed Oct 26 21:05:32 2005 EDT

  Modified files:  
/phpdoc/en/reference/ingres-ii  constants.xml 
  Log:
  fix typo
  
http://cvs.php.net/diff.php/phpdoc/en/reference/ingres-ii/constants.xml?r1=1.7r2=1.8ty=u
Index: phpdoc/en/reference/ingres-ii/constants.xml
diff -u phpdoc/en/reference/ingres-ii/constants.xml:1.7 
phpdoc/en/reference/ingres-ii/constants.xml:1.8
--- phpdoc/en/reference/ingres-ii/constants.xml:1.7 Wed Oct 26 15:48:22 2005
+++ phpdoc/en/reference/ingres-ii/constants.xml Wed Oct 26 21:05:31 2005
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.7 $ --
+!-- $Revision: 1.8 $ --
 section id=ingres.constants
  reftitle.constants;
  extension.constants;
@@ -187,7 +187,7 @@
/term
listitem
 simpara
- Speifies the currency character should be placed at the start of a money
+ Specifies the currency character that should be placed at the start of a 
money
  value. Equivalent to setting II_MONEY_FORMAT to 'L:'. Available since 
version 1.2.0 of the PECL extension.
 /simpara
/listitem
@@ -199,7 +199,7 @@
/term
listitem
 simpara
- Speifies the currency character should be placed at the end of a money
+ Specifies the currency character that should be placed at the end of a 
money
  value. Equivalent to setting II_MONEY_FORMAT to 'T:'. Available since 
version 1.2.0 of the PECL extension.
 /simpara
/listitem


[PHP-DOC] #33838 [Com]: php_manual_en.chm displaying ????? for navigation links

2005-10-26 Thread bo dot php dot net at email dot connaction dot net
 ID:   33838
 Comment by:   bo dot php dot net at email dot connaction dot net
 Reported By:  marshall at kingstairs dot com
 Status:   Open
 Bug Type: Documentation problem
 Operating System: Irrelevant
 PHP Version:  Irrelevant
 New Comment:

The problem still exists in the 21 October 2005 version...


Previous Comments:


[2005-10-21 15:23:37] bo dot php dot net at email dot connaction dot
net

The problem still exists in the 18 October 2005 version...



[2005-10-15 19:02:38] marshall at kingstairs dot com

Problem still present in 13Oct2005 version...



[2005-09-27 19:07:21] marshall at kingstairs dot com

Changed the OS field as the problem is not actually OS-specific .
Would be nice to get this fixed, as the HtmlHelp files are not really
usable because of this bug.



[2005-09-24 20:09:41] bo dot php dot net at email dot connaction dot
net

The problem still exists in the 22 September 2005 version ...



[2005-09-19 15:55:08] bo dot php dot net at email dot connaction dot
net

The problem exists under Windows 2000 SP4 as well.



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

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