On Wed, May 29, 2013 at 1:43 PM, Chad innocentkiller@gmail.com wrote:
Perhaps. But if it's only marginally faster (like, half a ms), then the reduced output probably saves more in the long run. But without actual numbers we're really just guessing at possible micro-optimizations.
Very true. I shall delve deeper into benchmarking and see if there is any difference. At the very least, htmlspecialchars() is simpler and makes the code easier to understand.
*-- * *Tyler Romeo* Stevens Institute of Technology, Class of 2016 Major in Computer Science www.whizkidztech.com | tylerromeo@gmail.com