Req #81644 [NEW]: mysql native driver should use DateTime object
| From: | shop1 at mokraemer dot de | Date: | Sat, 20 Nov 2021 10:56:07 +0000 |
| Subject: | Req #81644 [NEW]: mysql native driver should use DateTime object | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-237882@lists.php.net to get a copy of this message | ||
From: shop1 at mokraemer dot de
Operating system: Linux
PHP version: 8.0.13
Package: MySQLi related
Bug Type: Feature/Change Request
Bug description:mysql native driver should use DateTime object
Description:
------------
if you use mysqli native driver, it fetches data and puts the data in
the equivalent php datastructure. This is true for float, int, ...
But values for date,time and datetime are still strings. It would be
great if this is converted automatical.
--
Edit bug report at https://bugs.php.net/bug.php?id=81644&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=81644&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=81644&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=81644&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=81644&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=81644&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=81644&r=support
Expected behavior: https://bugs.php.net/fix.php?id=81644&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=81644&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=81644&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=81644&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=81644&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=81644&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=81644&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=81644&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=81644&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=81644&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=81644&r=mysqlcfg