Submitted by Mathias Taylor (not verified) on Mon, 2005-03-21 01:29.

Agreed - I was curious myself so running "strace -c php -r '$replace_source_here'" revealed that this implementation does run a slight bit faster:

Class wrapper completed in 0.007032 seconds after 739 calls and 397 errors (not real errors). Using the respecive PHP core language functions it took 0.007919 seconds with 748 calls.

Reply

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

Datenschutz | Impressum