note 84938 added to language.expressions
| From: | pipofi at gmail dot com | Date: | Wed, 06 Aug 2008 15:32:48 +0000 |
| Subject: | note 84938 added to language.expressions | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-143217@lists.php.net to get a copy of this message | ||
This expresion don't result: name <mail@mail.com>
$name = name
$mail = mail@mail.com
$to = $name . "<" . $mail . ">";
//Result: name
//or
$to = $name . '<' . $mail . '>';
//Result: name
//or
$to = "$name < $mail >"
//Result with spaces: name < mail@mail.com >
//or
$to = $name . "\<" . $mail . "\>";
//Result: name\
I don't know the use correct
----
Server IP: 130.206.1.5
Probable Submitter: 88.1.145.165
----
Manual Page -- http://www.php.net/manual/en/language.expressions.php
Edit -- https://master.php.net/note/edit/84938
Del: integrated -- https://master.php.net/note/delete/84938/integrated
Del: useless -- https://master.php.net/note/delete/84938/useless
Del: bad code -- https://master.php.net/note/delete/84938/bad+code
Del: spam -- https://master.php.net/note/delete/84938/spam
Del: non-english -- https://master.php.net/note/delete/84938/non-english
Del: in docs -- https://master.php.net/note/delete/84938/in+docs
Del: other reasons-- https://master.php.net/note/delete/84938
Reject -- https://master.php.net/note/reject/84938
Search -- https://master.php.net/manage/user-notes.php