#29339 [Opn->Csd]: sqlite_escape_string returns bogus data for empty strings on Windows XP

From: Date: Wed, 28 Jul 2004 01:39:21 +0000
Subject: #29339 [Opn->Csd]: sqlite_escape_string returns bogus data for empty strings on Windows XP
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-63655@lists.php.net to get a copy of this message
ID: 29339 Updated by: iliaa@php.net Reported By: victor-php at boivie dot com -Status: Open +Status: Closed Bug Type: SQLite related Operating System: Windows XP PHP Version: 5.0.0 New Comment: This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2004-07-22 21:00:10] victor-php at boivie dot com 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 this bug report at http://bugs.php.net/?id=29339&edit=1

« previous php.bugs (#63655) next »