php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #62323 To and From descriptions backwards
Submitted: 2012-06-14 14:42 UTC Modified: 2012-07-20 08:50 UTC
From: chad at kathoderay dot com Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: Irrelevant OS: windows 7
Private report: No CVE-ID: None
 [2012-06-14 14:42 UTC] chad at kathoderay dot com
Description:
------------
---
From manual page: http://www.php.net/function.strtr#refsect1-function.strtr-
parameters
---

You say string being translated "To" for $from and vice versa for $to



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-07-20 08:50 UTC] aharvey@php.net
-Status: Open +Status: Not a bug
 [2012-07-20 08:50 UTC] aharvey@php.net
It's actually correct: it's saying that from is the string translated to "to", and to is the string replacing "from".
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 06:00:01 2026 UTC