Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

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

by tilly (Archbishop)
on Sep 04, 2000 at 18:33 UTC ( [id://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 06, 2000 at 02: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 phpbuilder.com 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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (1)
As of 2024-04-25 12:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found