Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re (tilly) 1: Why should I use PHP after this?

by tilly (Archbishop)
on Sep 04, 2000 at 14:33 UTC ( #31006=note: print w/replies, xml ) Need Help??

in reply to Why should I use PHP after this?

As opposed to Perl's suidperl mistake not long ago that created a nice portable local root exploit?

Security mistakes are made by everyone. Unless (like wu-ftpd) they become a habit I like to give the benefit of the doubt.

The non-existence of strict and the inability of PHP libraries to run cleanly under the highest level of warnings (which does not catch as much as Perl's) are rather better reasons to avoid PHP IMO. Plus the fact that the language won't grow with you...

  • Comment on Re (tilly) 1: Why should I use PHP after this?

Replies are listed 'Best First'.
RE: Re (tilly) 1: Why should I use PHP after this?
by arturo (Vicar) on Sep 05, 2000 at 22:09 UTC
    Plus the fact that the language won't grow with you...

    Not sure what you mean by this ... if you're talking about the extensibility of PHP vs. Perl via modules, PHP has made major strides along this road lately. Check out the articles on about PEAR (roughly, CPAN for PHP complete with javadoc-like functionality).

    "He's got about as much personality as a loaf of bread" -- Wally Pleasant, She's in love with a Geek

      I mean that PHP cannot fit as comfortably into as many roles and as many programming styles as Perl. It may be improving, but Perl is today where PHP wants to be and isn't.

      BTW for my stating it that way you can blame merlyn and his, Training wheels without the bike comment. :-)

        Um.... php is a web scripting language. You *can* make it do perlish command line type stuff, but it's not really designed for that. I don't think the developers of php are trying to make it grow up to be/replace perl.

        For myself, I find php faster to develop dynamic webpages in than I do perl (note the "for myself" at the beginning there.... this is undoubtedly a mater of experience). I use perl for everything else I do (ie that doesn't output to the web).

        I hope that php can grow to be as powerful and flexible as perl is... within its own arena (dynamic web pages). I'd like to see some more perlish flexibility. I'd like to see more perlish compatibility (of code). Why bash the differences?... embrace them, and utilise them.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://31006]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2020-12-04 23:35 GMT
Find Nodes?
    Voting Booth?
    How often do you use taint mode?

    Results (63 votes). Check out past polls.