|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-05-11 09:36 UTC] georg@php.net
[2005-05-11 10:52 UTC] dan at yes dot lt
[2005-05-12 21:33 UTC] andrey@php.net
[2005-05-13 11:00 UTC] dan at yes dot lt
[2005-05-16 08:52 UTC] dan at yes dot lt
[2005-05-19 12:56 UTC] andrey@php.net
[2005-05-19 14:53 UTC] dan at yes dot lt
[2005-05-20 11:44 UTC] georg@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Wed Feb 04 15:00:01 2026 UTC |
Description: ------------ mysqli do not supports float type neither in results nor in params. for result it returns NULL instead of float, for params there is no type letter for float type... Reproduce code: --------------- $db = new mysqli(...); $st = $db->prepare("SELECT 1.23 AS test"); $st->execute(); $st->store_result(); var_dump($st->num_rows); $st->bind_result($x); $st->fetch(); $st->free_result(); $st->close(); var_dump($x); Expected result: ---------------- int(1) float(1.23) Actual result: -------------- int(1) NULL