|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-07-29 10:50 UTC] derick@php.net
[2008-07-29 11:17 UTC] dsauneuf at guillemot dot fr
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 18:00:02 2025 UTC |
Description: ------------ Empty string turned into a blank character. ----------- Running a php site under windows 2003 / IIS / ntwdblib.dll (2000.80.2039.0) to access an SQL server 2000 database. Same thing under Windows XP / IIS / ntwdblib.dll. Works fine under fedora / apache / freetds. Denis Reproduce code: --------------- $sql=" select '' "; $res_id=mssql_query($sql)or die ("Database Error"); $row=mssql_fetch_row($res_id); echo strlen($row[0]); Expected result: ---------------- Should return 0. Actual result: -------------- Returns 1.