in reply to Re: Perl vs. PHP
in thread Perl vs. PHP

what about php5? they've added a nice class support.

Replies are listed 'Best First'.
Re^3: Perl vs. PHP
by perrin (Chancellor) on Aug 13, 2004 at 20:00 UTC
    Classes are better, but they still have no namespaces. Everything is in one global namespace.
      Classes are better, but they still have no namespaces. Everything is in one global namespace.

      Just being devils advocate for a minute: How is this different from Perl?

      Perl mangles the package and class concepts together - it doesn't really have namespaces either (in the sense they are used in C#, C++, Smalltalk, etc.)

        It's different because I, as a Perl programmer, don't have to worry about the next function name I choose colliding with any of over 3000 built-ins or any function defined in any file I might ever want to include.