Howdy, Just a performance question, if anyone knows for sure. Within a large array, would using numerical indices be quicker than associative? I'm talking about a *noticeable* difference in performance, here.
Also, on Regular Expression replacements: $text = eregi_replace("([abc]+)", "<span style=\"color: red\">\\1</span>", $text); Would this replace any occurences of the pattern with the same pattern match in red text? I'm not sure exactly how the \\1, \\2, etc. works. So, does: $text = eregi_replace("(a)(b)(c)", "\\1", $text); Does this output only the 'a'? I find this confusing for some reason, hehe. Any help would be great! Martin Clifford Homepage: http://www.completesource.net Developer's Forums: http://www.completesource.net/forums/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php