Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • I don't really see why this is bad (feel free to show me the errors of my ways, heh). Why should whether PHP behaves like Perl have any bearing on its merits as a language? I'm always happy to listen to the arguments against PHP, and there are some good ones, but this seems a bit trivial to me.

    In addition, PHP's implementation makes more sense in this case, especially since it is consistent with other PHP functions. If explode() returns an array, I can be confident that I always get an array, and the eleme

      • I'm always happy to listen to the arguments against PHP...

      And, I'm willing to listen to arguments for PHP. What does PHP buy you that you can't get with things like plp [juerd.nl] or the various templating systems?

      I've never done any PHP myself, but those I know who have used it are constantly frustrated by the limitations and often resort to Perl on the backend. Why have two languages? The maintenance and support nightmares multiply in that kind of environment, from what I can see.

      Maybe PHP had a place once up

      • Re:Why? (Score:3, Insightful)

        I think the main reason for PHP popularity is that it is the most ISP friendly technology. They have builtin security mechanisms that allow many users to share one server (what is impossible with mod_perl). PHP have so many things builtin what makes it usable platform without installing dozen CPAN modules what somewhat lowers support costs for ISP (no users which request to install module Foo and module Bar). PHP as platform is just cheaper for ISPs to support. Having said this I must admit that after trying to write a couple projects in PHP I hate PHP as language.
        --

        Ilya Martynov (http://martynov.org/ [martynov.org])