php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #27714 Error returning empty string
Submitted: 2004-03-26 08:59 UTC Modified: 2004-03-29 13:31 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: vovik at getart dot ru Assigned:
Status: Not a bug Package: MSSQL related
PHP Version: 4.3.4 OS: Windows
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: vovik at getart dot ru
New email:
PHP Version: OS:

 

 [2004-03-26 08:59 UTC] vovik at getart dot ru
Description:
------------
The code below makes it clear enough

Reproduce code:
---------------
mssql_connect("localhost", "sa", "");
list($tmp) = mssql_fetch_row(mssql_query("SELECT ''"));
var_dump($tmp);

Expected result:
----------------
string(0) ""

Actual result:
--------------
string(1) " "

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-03-29 04:52 UTC] vovik at getart dot ru
I've tried php4-win32-STABLE-200403281630 and got the same result.
 [2004-03-29 13:31 UTC] iliaa@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

This a duplicate of multiple reports on this very same 
issue. Search the bug archives. 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 03 14:01:30 2024 UTC