|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-06-09 15:12 UTC] auroraeosrose@php.net
-Status: Open
+Status: Bogus
[2010-06-09 15:12 UTC] auroraeosrose@php.net
[2010-06-09 15:22 UTC] auroraeosrose@php.net
[2010-06-09 15:58 UTC] jamie at splooshmedia dot co dot uk
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 02:00:01 2025 UTC |
Description: ------------ MySQLi prepared statements always return NULL bytes when running in PHP-GTK. This bug does not exist in WAMP environment. Normal queries work fine in PHP-GTK. My PHP-GTK/MySQL setup is fine. Test script: --------------- $test = null; if($stmt = $mysqli->prepare("SELECT 'here 3' FROM saved_data LIMIT 1")) { echo 'here 1'; $stmt->bind_result($test); $stmt->execute(); while($stmt->fetch()) { echo 'here 2'; var_dump($test); } } Expected result: ---------------- here 1 here 2 string(6) "here 3" Actual result: -------------- here 1 here 2 string(7) " "