Re: Reference from str_ireplace to str_replace
| From: | Maciej Sobaczewski | Date: | Fri, 15 Aug 2014 13:05:30 +0000 |
| Subject: | Re: Reference from str_ireplace to str_replace | ||
| References: | 1 2 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969385105@lists.php.net to get a copy of this message | ||
Accidentally sent this off-list :/ With few days of a delay but here it is.
2014-08-13 09:54, Christian Stoller wrote:
From: Maciej Sobaczewski [mailto:sobak@php.net] Sent: Tuesday, August 12, 2014 2:58 PMHello Christian, I probably made it unclear. I do not want to merge those pages. I'm proposing to leave str_ireplace() but remove duplicated content. So, basically, leave function signature on str_ireplace() and leave description saying that user can use it instead of preg_replace() with i modifier and that further documentation is available on str_replace() page. As far as I can see rest of information is the same on both pages so I think that it makes no sense to keep it duplicated and maintain two places instead of one. Maciej.Hello, Firstly, sorry for unclear subject. I don't know how to write it shortly and clear, due to my limited English skills. I'm wondering if this wouldn't be better solution to link from str_ireplace() to str_replace() and delete duplicated content. Basically, the approach as in require and include pair. What do you think? Regards, Maciej.I think this would make the doku less readable, because you will have to list the different function definitions. Christian