in reply to Re^4: The REAL reason for why they choose PHP over Perl.
in thread The REAL reason for why they choose PHP over Perl.

It's just that PHP is neither: Half as bad as many people say it is - especially since PHP 5

Well, IIRC there are still no namespaces, it's still thousands of functions from hundreds of libraries I did not invite partying in my basement. The calling conventions are still organized like Alice's wonderland and there are no closure-like things. Calling "call_user_func" with an array just doesn't count :)

Of course, it's still a question on how to define "bad." It's surely not bad per se, as nothing is, but it is for me personally for a number of reasons (some stated above).


Ordinary morality is for ordinary people. -- Aleister Crowley
  • Comment on Re^5: The REAL reason for why they choose PHP over Perl.

Replies are listed 'Best First'.
Re^6: The REAL reason for why they choose PHP over Perl.
by adrianh (Chancellor) on Jun 13, 2006 at 09:27 UTC
    Well, IIRC there are still no namespaces, it's still thousands of functions from hundreds of libraries I did not invite partying in my basement. The calling conventions are still organized like Alice's wonderland and there are no closure-like things. Calling "call_user_func" with an array just doesn't count :)

    But with fairly decent OO support we can stick things in classes, which gets around the lack of name spaces most of the time. Lack of anonymous functions and closures is a pain - as is the huge mess of inconsistently named subroutines.

    No it's not the best language in the world. It's definitely not my favourite language by quite some way. Neither is it a completely inappropriate choice for professional work.

      I guess everyone has to admit that the PHP5 object model is way more advanced than the PHP4 version. No wonder, back then you had to reference objects manually, as they were copied by default :) Personally, I liked PHP at first, but it's stuff like this that drove me early into the thanks,-I-have-enough corner.

      Ordinary morality is for ordinary people. -- Aleister Crowley