note 83959 deleted from function.str-replace by felipe
| From: | felipe@php.net | Date: | Sat, 21 Jun 2008 14:04:51 +0000 |
| Subject: | note 83959 deleted from function.str-replace by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-140637@lists.php.net to get a copy of this message | ||
Note Submitter: jaimthorn at yahoo dot com
----
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. :-)