#37828 [NEW]: mysql and mysqli consistancy
| From: | james at cyberflowsolutions dot com | Date: | Fri, 16 Jun 2006 15:29:43 +0000 |
| Subject: | #37828 [NEW]: mysql and mysqli consistancy | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-98417@lists.php.net to get a copy of this message | ||
From: james at cyberflowsolutions dot com
Operating system: all
PHP version: 5.1.4
PHP Bug Type: Feature/Change Request
Bug description: mysql and mysqli consistancy
Description:
------------
Would it be possible at some point to add a be_consistant
flag that would alter the way functions take paramters?
EG: all mysql functions are in the form mysql_query("query",
db_connection) but MOST mysqli functions are mysqli_query
(db_connection, "query") likewise, the order of haystacks
and needles in string functions is a craps shoot.
I understand this would create backwards compatability
problems, but if it were maybe a flag in the config not on
by default...
consistancy is good for consistancies sake, and it would
allow people to use variable functions more instead of
having to write wrapper functions just to swap paramter
order.
Overall, thanks for creating an amazing product that has
made my life alot simpler than writing perl :)
-- James
--
Edit bug report at http://bugs.php.net/?id=37828&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37828&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=37828&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37828&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=37828&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=37828&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=37828&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=37828&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=37828&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=37828&r=support
Expected behavior: http://bugs.php.net/fix.php?id=37828&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=37828&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=37828&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=37828&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37828&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=37828&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=37828&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=37828&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=37828&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=37828&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=37828&r=mysqlcfg