From:             [EMAIL PROTECTED]
Operating system: windows 2000 server sp3
PHP version:      4.2.3
PHP Bug Type:     Strings related
Bug description:  strlen, substr and so on bug

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 bug report at http://bugs.php.net/?id=21495&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=21495&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=21495&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=21495&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=21495&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=21495&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=21495&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=21495&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=21495&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=21495&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=21495&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21495&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=21495&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=21495&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=21495&r=gnused

Reply via email to