#21818 [NEW]: strange result with strtr()
| From: | ldbglobe at hotmail dot com | Date: | Wed, 22 Jan 2003 14:53:49 +0000 |
| Subject: | #21818 [NEW]: strange result with strtr() | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-30924@lists.php.net to get a copy of this message | ||
From: ldbglobe@hotmail.com
Operating system: Mandrake 8
PHP version: 4.2.3
PHP Bug Type: Strings related
Bug description: strange result with strtr()
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 bug report at http://bugs.php.net/?id=21818&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=21818&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=21818&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=21818&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=21818&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=21818&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=21818&r=support
Expected behavior: http://bugs.php.net/fix.php?id=21818&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=21818&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=21818&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=21818&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21818&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=21818&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=21818&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=21818&r=gnused