|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-05-06 02:33 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 03:00:01 2025 UTC |
Description: ------------ mysqli_bind_result doesn't support MYSQL_TYPE_NULL. This causes libmysql to fail with error buffer_length=0. Reproduce code: --------------- <?php $mysql = new mysqli("localhost", "root", ""); $stmt = $mysql->prepare("SELECT NULL FROM DUAL"); $stmt->execute(); $stmt->bind_result($val); $stmt->fetch(); var_dump($val); $stmt->close(); $mysql->close(); ?>