note 49432 deleted from function.str-replace by nlopess
| From: | nlopess@php.net | Date: | Thu, 27 Jan 2005 17:16:41 +0000 |
| Subject: | note 49432 deleted from function.str-replace by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-84084@lists.php.net to get a copy of this message | ||
Note Submitter: php at moechofe dot com
----
problem with this script
<?php
echo str_replace(
'###EMAIL###',
'moi@ici.com',
"( 'my name' <> '' ) ? '\"my name\"
<###EMAIL###>' : '###EMAIL###'" );
?>
they print :
( 'my name' <> '' ) ? '"my name" ' :
'moi@ici.com'
the <###EMAIL###> substring is deleted ???