Welcome to WebmasterWorld Guest from 188.8.131.52
I'm hoping to run my ASP application over a MAC OSX server if I can get a good way to run ASP over the FreeBSD kernel.
PHP is like Perl, isn't it?
The big differences I notice are that (1)PHP is actually less strongly typed than Perl. $foo might be a scalar, an array, or a hash. It might even be both an array and a hash at the same time. I waffle on whether I think this is a feature or a bug. (2) I cant say "$foo =~ s/a/b/isg;" in PHP, I have to say "preg_replace('a','b',$foo);". I like the Perl way better here. (3) Function declaration and parameter passing are a bit different. I am more comfortable with the PHP way here, but ymmv. (4) I think the Perl DBI probably gives better database-independence than PHP, but I've never actually tried to port something written in either of them from one database to another.