On Wed, May 29, 2013 at 10:22 PM, Daniel Friesen <daniel@nadir-seen-fire.com
wrote:
Also, I'd be interested to see those benchmarks re-run on PHP 5.4 now that I we know that they changed the algorithm.
On PHP 5.4:
htmlspecialchars with ENT_NOQUOTES: 8.548s htmlspecialchars without ENT_NOQUOTES: 8.655s strtr: 18.012s str_replace: 9.657s
*-- * *Tyler Romeo* Stevens Institute of Technology, Class of 2016 Major in Computer Science www.whizkidztech.com | tylerromeo@gmail.com