Skip navigation.
Home

Add new comment

While not as extreme as yesterdays, it still begs the question, why? Why call a replace function on a hard-coded string?? The only explanation I think of is that the literal string used to be a variable and when it became a literal, the person that made the code change didn't strip out the function. Perhaps it was the victim of a global search & replace?

Reply




*

  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <pre> <p> <br>
  • Web and e-mail addresses are automatically converted into links.