Converting ASP to PHP

I spent a day going through line by line, portion by portion and converted my IRCQuotes site from ASP to PHP. There are only improvements and not a bit of problem anywhere.


Lines of code: Reduced from approximately 280+ to 200+.
Time to process: From around 30 milliseconds down to 10 ms.


It was fun going “Hey! With PHP, I could improve this portion of code this way!.” and “Oooh, with PHP, I can reduce this code from 10 lines down to 2!”. Functions like htmlentities() and nl2br() helped a lot.


This is the very reason why since the day I stepped into PHP, I never looked back at ASP. Never.


But this blog site is still in ASP!! Hahaha! *proceeds to grumble about lack of time*

Leave a Reply

Your email address will not be published. Required fields are marked *