#47592 [NEW]: mysql_result() under-dcoumented
From: bruce at kaskubar dot com
Operating system:
PHP version: Irrelevant
PHP Bug Type: Documentation problem
Bug description: mysql_result() under-dcoumented
Description:
------------
The formal Note, "Calls to mysql_result() should not be mixed..." is
interesting but not particularly helpful.
Expected result:
----------------
All behaviors related to function use should be documented. For instance,
it seems that using mysql_result affects the result set row pointer such
that a subsequent use of mysql_fetch_array does not begin where one may
expect. Other behaviors may be involved. Once recorded as a bug (at
http://bugs.php.net/bug.php?id=12023), the
undocumented behaviors are
apparently considered features.
Users of mysql_result should be warned that it includes undocumented
behaviors. The Note's "should not" should be restated, emphatically, as an
outright prohibition where quantifiable behavior is an expectation of its
use.
Actual result:
--------------
Documentation unbecoming of serious understanding.
--
Edit bug report at http://bugs.php.net/?id=47592&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=47592&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=47592&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=47592&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=47592&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47592&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=47592&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=47592&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=47592&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=47592&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=47592&r=support
Expected behavior: http://bugs.php.net/fix.php?id=47592&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=47592&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=47592&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=47592&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47592&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=47592&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=47592&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=47592&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=47592&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=47592&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=47592&r=mysqlcfg
Thread (2 messages)
- bruce at kaskubar dot com