note 83959 added to function.str-replace
| From: | jaimthorn at yahoo dot com | Date: | Fri, 20 Jun 2008 12:14:58 +0000 |
| Subject: | note 83959 added to function.str-replace | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-140619@lists.php.net to get a copy of this message | ||
On the 13th of May, John wrote (with what I -perhaps incorrectly- identified as 'sarcasm')
an article in which he described a way to replace double characters with single ones.
"It passes. You're done!", he wrote euphorically, apparently without testing his own
code --because his smash function fails with a
Parse error: syntax error, unexpected ';', expecting '{'
Lesson to be learned: be very, very careful when you're being very, very cocky. :-)
----
Server IP: 213.249.64.162
Probable Submitter: 24.132.252.217
----
Manual Page -- http://www.php.net/manual/en/function.str-replace.php
Edit -- https://master.php.net/note/edit/83959
Del: integrated -- https://master.php.net/note/delete/83959/integrated
Del: useless -- https://master.php.net/note/delete/83959/useless
Del: bad code -- https://master.php.net/note/delete/83959/bad+code
Del: spam -- https://master.php.net/note/delete/83959/spam
Del: non-english -- https://master.php.net/note/delete/83959/non-english
Del: in docs -- https://master.php.net/note/delete/83959/in+docs
Del: other reasons-- https://master.php.net/note/delete/83959
Reject -- https://master.php.net/note/reject/83959
Search -- https://master.php.net/manage/user-notes.php