|
I learned PERL, then did PHP and liked PHP MUCH better for these reasons:
The code is much cleaner and easier to write. PERL is well known for being an incredibly ugly language with all its symbols strewn all over.
PHP has much better documentation. Goto their website and search for something you need (like "date" or "sort") and you will find the function with full documentation.
Sure PERL has many more capabilities and there are thousands of modules you can download, but a lot of the things PERL has that PHP doesn't don't really benefit people who are trying to write web scripts with it. On the other hand, PHP has a lot of nifty built in stuff that if you are feeling brave you can play around with such as image generation or flash movie generation.
I really have no idea which is faster but I don't care either. PHP is just so much easier to write.
|