note 35363 added to language.types.string
| From: | dev6 at es11 dot com | Date: | Thu, 28 Aug 2003 17:42:55 +0000 |
| Subject: | note 35363 added to language.types.string | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-55251@lists.php.net to get a copy of this message | ||
In response to the most recent post, by Edwin: Huh?
First, $foo is not NULL terminated, it's newline terminated. NULL and \n are not even remotely
the same thing.
Second, the example you posted works perfectly. Both values get computed and printed as 3.0, not
2.0.
----
Manual Page -- http://www.php.net/manual/en/language.types.string.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35363
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35363&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35363&report=yes