Doc #63687 [NEW]: documentation claiming "procedural code"
| From: | bill at fastpitchcentral dot com | Date: | Tue, 04 Dec 2012 15:21:59 +0000 |
| Subject: | Doc #63687 [NEW]: documentation claiming "procedural code" | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-9258@lists.php.net to get a copy of this message | ||
From: bill at fastpitchcentral dot com
Operating system: N/A
PHP version: Irrelevant
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:documentation claiming "procedural code"
Description:
------------
---
From manual page:
http://www.php.net/mysqli-result.fetch-fields#refsect1-mysqli-
result.fetch-fields-seealso
---
Your "Example #2 Procedural style" is incorrect. It contains numerous
lines of
code that are object-oriented instead of procedural.
I love PHP. But for me it will never be an object-oriented language. The
educational system in the USA is bad enough already. Don't add to the
confusion
by claiming code is procedural when it is not. The kids just will not
understand.
I suspect the problem is throughout the MYSQLI area and perhaps anywhere
there is
a presentation of object-oriented code and procedural code.
Test script:
---------------
N/A
Expected result:
----------------
If your examples contain the title "procedural code" all the code should be
procedural code.
--
Edit bug report at https://bugs.php.net/bug.php?id=63687&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=63687&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=63687&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=63687&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=63687&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=63687&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=63687&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=63687&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=63687&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=63687&r=support
Expected behavior: https://bugs.php.net/fix.php?id=63687&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=63687&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=63687&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=63687&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63687&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=63687&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=63687&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=63687&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=63687&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=63687&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=63687&r=mysqlcfg