[PHP-DOC] #38119 [Opn->Fbk]: iterator object not available

2006-07-16 Thread tony2001
 ID:   38119
 Updated by:   [EMAIL PROTECTED]
 Reported By:  mdangus at psychtest dot com
-Status:   Open
+Status:   Feedback
 Bug Type: Documentation problem
 Operating System: Win2K
 PHP Version:  Irrelevant
 New Comment:

Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with ,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc.

If possible, make the script source available online and provide
an URL to it here. Try to avoid embedding huge scripts into the report.




Previous Comments:


[2006-07-17 01:06:23] mdangus at psychtest dot com

Description:

The following code does nothing after $chapter_array->getiterator()
(though the manual suggests it should work). 



Reproduce code:
---
#=
$chapter_array->rewind();
$iterator=$chapter_array->getIterator();
echo $iterator->current();
echo $iterator->key();
#=


Expected result:

The value of iterator for the array $chapter_array should be echoed,
the current key value of the array iterator for $chapter_array should
be echoed.

Actual result:
--
Docs in error? This gets parsed but nothing happens.

I have searched this, and apparently the above "object oriented" coding
format for PHP originally derived from something called phplib? From
what I can find in the docs, it is suggested that this object oriented
functionality was added into php as a standard part of the distro as of
php4. However, I can find no information on it at all. The manual says
this code should work, but it has no suggestions at all as to what to
do to find any necessary includes or why this code does not work in the
standard distro for windows. 

Are the docs out of date? Am I missing something? Is there a library
hidden away somewhere that one has to find and download.

I have searched for about 4 days for an answer -- including 2 messages
to the user mailing list which went totally unanswered. Bit of a newb
with php - trying to learn from the docs... may be the docs could be
improved to let people know whether the object-oriented style is
supported or not.






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


[PHP-DOC] #38119 [NEW]: iterator object not available

2006-07-16 Thread mdangus at psychtest dot com
From: mdangus at psychtest dot com
Operating system: Win2K
PHP version:  Irrelevant
PHP Bug Type: Documentation problem
Bug description:  iterator object not available

Description:

The following code does nothing after $chapter_array->getiterator()
(though the manual suggests it should work). 



Reproduce code:
---
#=
$chapter_array->rewind();
$iterator=$chapter_array->getIterator();
echo $iterator->current();
echo $iterator->key();
#=


Expected result:

The value of iterator for the array $chapter_array should be echoed, the
current key value of the array iterator for $chapter_array should be
echoed.

Actual result:
--
Docs in error? This gets parsed but nothing happens.

I have searched this, and apparently the above "object oriented" coding
format for PHP originally derived from something called phplib? From what
I can find in the docs, it is suggested that this object oriented
functionality was added into php as a standard part of the distro as of
php4. However, I can find no information on it at all. The manual says
this code should work, but it has no suggestions at all as to what to do
to find any necessary includes or why this code does not work in the
standard distro for windows. 

Are the docs out of date? Am I missing something? Is there a library
hidden away somewhere that one has to find and download.

I have searched for about 4 days for an answer -- including 2 messages to
the user mailing list which went totally unanswered. Bit of a newb with
php - trying to learn from the docs... may be the docs could be improved
to let people know whether the object-oriented style is supported or not.


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


[PHP-DOC] #38115 [NEW]: curl_exec return parameters

2006-07-16 Thread [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Operating system: Windows 2000
PHP version:  Irrelevant
PHP Bug Type: Documentation problem
Bug description:  curl_exec return parameters

Description:

Return result for curl_exec is undocumented. It is not said (except in
user comments) what happens with failed requests  especially when
CURLOPT_RETURNTRANSFER is turned on. Is there anybody who possess the
source magic to make official statement? =)


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


[PHP-DOC] Notes Status, 15275 total

2006-07-16 Thread phpdoc
Following are the top 20 pages of the manual, sorted by the number
of user notes contributed. These sections could use a polish, those
notes represent 8.8% of the 15275 total user notes.

Notes  |  Page
---+-
   84  | http://php.net/manual/en/ref.session.php
   83  | http://php.net/manual/en/ref.xml.php
   75  | http://php.net/manual/en/function.header.php
   75  | http://php.net/manual/en/function.strtotime.php
   74  | http://php.net/manual/en/reserved.variables.php
   71  | http://php.net/manual/en/ref.image.php
   68  | http://php.net/manual/en/function.preg-match.php
   68  | http://php.net/manual/en/function.fsockopen.php
   68  | http://php.net/manual/en/function.mktime.php
   67  | http://php.net/manual/en/function.mssql-connect.php
   67  | http://php.net/manual/en/function.strpos.php
   67  | http://php.net/manual/en/features.file-upload.php
   65  | http://php.net/manual/en/function.readdir.php
   63  | http://php.net/manual/en/ref.com.php
   61  | http://php.net/manual/en/function.in-array.php
   60  | http://php.net/manual/en/function.array-search.php
   58  | http://php.net/manual/en/function.substr.php
   58  | http://php.net/manual/en/function.serialize.php
   58  | http://php.net/manual/en/function.explode.php
   58  | http://php.net/manual/en/ref.exec.php