#21495 [Opn->Bgs]: strlen, substr and so on bug

From: Date: Tue, 07 Jan 2003 18:22:47 +0000
Subject: #21495 [Opn->Bgs]: strlen, substr and so on bug
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-29350@lists.php.net to get a copy of this message
ID: 21495 Updated by: derick@php.net Reported By: roger4a45@yahoo.es -Status: Open +Status: Bogus Bug Type: Strings related Operating System: windows 2000 server sp3 PHP Version: 4.2.3 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#29350) next »