PHP 4.0 Bug #6527: empty field returned are not empty

From: Date: Mon, 04 Sep 2000 10:44:56 +0000
Subject: PHP 4.0 Bug #6527: empty field returned are not empty
Groups: php.dev 
Request: Send a blank email to php-dev+get-31916@lists.php.net to get a copy of this message
From: lenar@city.ee Operating system: Linux Debian 2.2 PHP version: 4.0.1pl2 PHP Bug Type: Sybase-ct (ctlib) related Bug description: empty field returned are not empty When fetching a record from sybase with sybase_fetch_row and some fields contain no value ("") then in resulting array there are spaces instead. list($space) = sybase_fetch_row(sybase_query("SELECT phone FROM users WHERE LENGTH(phone) = 0")); now $space == " ". This is not what I want. I want strlen($space) == 0. Hope this bug will be fixed.

« previous php.dev (#31916) next »