ID: 21495
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
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] [EMAIL PROTECTED]
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] [EMAIL PROTECTED]
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