#29339 [NEW]: sqlite_escape_string returns bogus data for empty strings on Windows XP
| From: | victor-php at boivie dot com | Date: | Thu, 22 Jul 2004 19:00:11 +0000 |
| Subject: | #29339 [NEW]: sqlite_escape_string returns bogus data for empty strings on Windows XP | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-63366@lists.php.net to get a copy of this message | ||
From: victor-php at boivie dot com
Operating system: Windows XP
PHP version: 5.0.0
PHP Bug Type: SQLite related
Bug description: sqlite_escape_string returns bogus data for empty strings on Windows XP
Description:
------------
sqlite_escape_string returns bogus data for empty strings on Windows XP.
In FreeBSD with PHP 5.0.0RC2, it works.
Reproduce code:
---------------
php.exe -r "echo sqlite_escape_string('');"
Expected result:
----------------
(nothing)
Actual result:
--------------
a few letters from the lower part of the ASCII table. And they can not
easily be shown here.
--
Edit bug report at http://bugs.php.net/?id=29339&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29339&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29339&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=29339&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=29339&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=29339&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=29339&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=29339&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=29339&r=support
Expected behavior: http://bugs.php.net/fix.php?id=29339&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=29339&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=29339&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=29339&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29339&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=29339&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=29339&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=29339&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29339&r=float