note 8670 deleted from function.strlen by philip

From: Date: Wed, 30 Jan 2002 21:39:28 +0000
Subject: note 8670 deleted from function.strlen by philip
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-26048@lists.php.net to get a copy of this message
Well, 'strings & special characters' which can be pretty unclear to me. To find out how these 'escaped' characters are handled, I tried to following. <? $string1 = 'My name is "T"'; $string2 = "My name is \"T\""; print strlen ($string1); print "<Br>"; print strlen ($string2); ?> The output is: 14 14 So for lenght-purposes \" is identical to ". thrashe

« previous php.notes (#26048) next »