note 33697 deleted from function.strlen by philip

From: Date: Sat, 05 Jul 2003 18:00:35 +0000
Subject: note 33697 deleted from function.strlen by philip
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-51562@lists.php.net to get a copy of this message
Note Submitter: crouze_j``-at-''epitech.net ---- Be careful with the implicit int to string cast : If <? $i = strlen(123456); ?> strlen will return ``6'' and won't print any error, 123456 is casted to "123456" This is not harmful, but could be, so, if needed ; protect yourself with the is_numeric function.

« previous php.notes (#51562) next »