#21495 [Bgs]: strlen, substr and so on bug
| From: | roger4a45 at yahoo dot es | Date: | Tue, 07 Jan 2003 18:27:09 +0000 |
| Subject: | #21495 [Bgs]: strlen, substr and so on bug | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-29351@lists.php.net to get a copy of this message | ||
ID: 21495
User updated by: roger4a45@yahoo.es
Reported By: roger4a45@yahoo.es
Status: Bogus
Bug Type: Strings related
Operating System: windows 2000 server sp3
PHP Version: 4.2.3
New Comment:
A bug is when a function don't work properly... so, if I make
strlen("<HTML>") i wait that output will be 6. if strlen produce
another result is a bug. Ok. I will try to comment it to support forum.
Thanks.
Previous Comments:
------------------------------------------------------------------------
[2003-01-07 12:22:30] derick@php.net
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
------------------------------------------------------------------------
[2003-01-07 12:17:59] roger4a45@yahoo.es
whe we use strlen or substr there is a bug if parameter string is
something like this:
$a =
"<HTML><HEAD><TITLE>something</TITLE></HEAD><BODY>hi!</BODY><HTML>";
$b = strlen($a);
echo $b;
output is 0 rather real length of string.... Substr don't work right if
we use same $a...
any idea?
Is use a PHP 4.2.3 (ZIP file)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21495&edit=1