>>15
One word: REGISTER GLOBALS
I can has magic_quotes_gpc ?
I can has safe_mode ?
PHP is a sinking ship.
Name:
Anonymous2008-01-05 20:24
>Wall's Christian faith has influenced some of the terminology of Perl, such as the name itself, a biblical reference to the "Pearl of great price" (Matthew 13:46). [1] Similar references are the function name bless, and the organization of Perl 6 design documents with categories such as apocalypse and exegesis. Wall has also alluded to his faith when he has spoken at conferences, including a rather straightforward statement of his beliefs at the August, 1997 Perl Conference and a discussion of Pilgrim's Progress at the YAPC (Yet Another Perl Conference) in June, 2000.
PHP aims to be useable by even the very ignorant, which is why those options exist (and are often turned on by retarded shared webhosts). Anyone who knows what he's doing is expected to configure his own installation.
Name:
Anonymous2008-01-05 21:03
>>21 PHP aims to be useable by even the very ignorant
And that's the reason it's only used by them.
Name:
Anonymous2008-01-05 21:10
>>22
>And that's the reason it's only used by them.
QFT.
>>21
>Psst. You can turn that shit off.
Sometimes you have to deploy on a box that you don't admin. Either way you still have to litter your code with
if(get_magic_quotes_gpc()){
stripslashes($var)
}
and other bullshit hacks to even get a working application. PHP is a horribly broken language.
Name:
Anonymous2008-01-05 21:11
>>21
This also causes huge headaches for anyone who tries to develop software written in PHP. The fact that the language behaves completely differently based on the configuration choices made by the system admin is ridiculous.
Name:
Anonymous2008-01-06 3:21
>>20
Are you going to boycott computers because Turing was gay?
i usually try to use perl for server scripts and php for web stuff, because php is so simple, but look at how much php is updated compared to perl, with php you have to MAINTAIN the fucking interpreter once a fucking week
perl never gets updated, yet it has everything you could want, i'm doing more and more in perl, but i have problems with mod_perl, it's weird to me, takes some getting used to for perl programmers, i'm using mod_cgi so far with a cgisock
>>24
It's really only a problem (and not even a very big one) if you try to develop software that works exactly the same on every given configuration, which you almost never will be.
PHP has some problems, but the fact that it's configurable to such an extent isn't one of them.
Name:
Anonymous2008-01-06 9:48
>>29 ini_set
An EXPERT QUALITY tip! Just as expected from a PHP PROGRAMMER.
Your code is already running and $_REQUEST is already populated with data.
In that class I'd choose mod_python any day. You should find that the power and performance compares favorably, and as a bonus you get the forced indentation of code and thread over.
Name:
Anonymous2008-01-07 5:33
>>36
wouldn't that need to be { local $\ = "\n"; print for @_ } to avoid buggy behavior for the rest of the program?