note 95030 deleted from function.strlen by danbrown

From: Date: Mon, 15 Mar 2010 13:49:13 +0000
Subject: note 95030 deleted from function.strlen by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-167032@lists.php.net to get a copy of this message
Note Submitter: Dutch Hans ---- To my opinion the 'strlen' function should only return the number of characters in a string. Nothing else. And it does, whether it counts ASCII characters or Unicode characters. A character is a character, pointing to a given position on an ASCII table or a UTF-8 table. Nothing more. If you would like to know, for whatever reason, the byte-length of a string, then you should use a differtent function. I am a newby in PHP scripting, so I did not find that function yet. (Should be something like 'bytelen()'?)

« previous php.notes (#167032) next »