Orkan |
|
---|---|
Maybe its not the best approach, however much better than disturbing the normal code flow, IMO.
Also, the performance wont hurt that much, since preg_replace() will skip after first match. Well, for me programming is like a piece of art, but with dervan's solution you're painting someone's portrait a'la Picasso Perl - the only language that looks the same before and after RSA encryption.
|