Hi. This is quite a debate. Most people on these forums would swear by Perl, and say that PHP is a load of rubbish. However, if you went to other sites, they may say that its the best thing since sliced bread :p
Its more a personal thing really. I know Perl quite well (not saying I'm amazing), but I could also write you a PHP application quite easily (not as easy as if I was doing it in Perl).
The one good thing I like about PHP, is how easy it makes it to connect to MySQL, and the error catching.
The main thing I don't like, is their Regex engine. I've never found it to work as well as Perl ...i.e;
Code:
$var =~ m|\<option\>(.+?)\</option\>| and $value = $1;
I've yet to work out how to do similar stuff in PHP :(
I could go on for hours about pet-hates and stuff in PHP .... but overall, its quite a good language to learn, if you don't want to do too much complex stuff. There are some quite heated debates on this forum about this too :)
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my
Amazon Wish List GLinks ULTRA Package | GLinks ULTRA Package PRO Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin |
Pre-Made Template Sets |
FREE GLinks Plugins!