#21818 [Opn]: strange result with strtr()
| From: | ldbglobe at hotmail dot com | Date: | Wed, 22 Jan 2003 14:56:56 +0000 |
| Subject: | #21818 [Opn]: strange result with strtr() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-30925@lists.php.net to get a copy of this message | ||
ID: 21818
User updated by: ldbglobe@hotmail.com
Reported By: ldbglobe@hotmail.com
Status: Open
Bug Type: Strings related
Operating System: Mandrake 8
PHP Version: 4.2.3
New Comment:
on freeBSD I observed the same issue
Previous Comments:
------------------------------------------------------------------------
[2003-01-22 08:53:49] ldbglobe@hotmail.com
when i execute this expression,
echo $val=strtr('1',array('"','\"'));
i obtain the following result :
\"
infact of 1
i try to make this operation with some other number but the problème
seems appear only with the string '1'
PS: sorry for my poor english
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21818&edit=1