I am always happy to join into some PHP bashing. :) I feel the same way as you. I even tried to like PHP for a while. What really bugs me is the situation that I learned about when I first came to work at this job. They needed to use PHP to do a POST and the programmer here had chosen CURL. But he didn't have any possible way to use CURL without the admin at the hosting company recompileing PHP to be able to use it. Sure, it might not be the easiest thing in the world to do, but I
have used LWP on local /home/user/lib directories even a local user CPAN install isn't all that hard. And then wow! You have the power of a root guy all to yourself.
But the other issue I think has more to do with users than the PHP lang itself. It seems like there are LOTS of scripts and comercial products written in PHP, most of the ones I have seen make use of the horrible including of files all over the place. It is a total nightmare to change or debug code like that. I know the guy who was here before me did that, and he had good intentions, but it ended up just making a bigger mess than if he had just used one big PHP script.
Eric
At 12:23 PM 2002-10-18 -0500, [EMAIL PROTECTED] wrote:
I thought that was rather odd as well. I started in on PHP for a bit during the summer and eventually dropped it after discovering that OO-PHP is deprecated by those Zend folks (supposedly it's "slow" and there are no destructor methods). I also didn't want to deal with their useless use of sigils and the weird namespacing. If you completely left CPAN out of the picture then just as a language and syntax it isn't all that nice anyway. *shrugs* I've yet to understand what the appeal is.Josh Cory 'G' Watson <[EMAIL PROTECTED]> 10/18/2002 11:37 AM To: [EMAIL PROTECTED] cc: Subject: Re: [OT] Perl vs. PHP..... but where is mod_perl? Randal L. Schwartz wrote: > Dzuy> What do you expect from (PHP) amateurs? Apparently Perl is too > Dzuy> complicated for them to comprehend, > Dzuy> never mind mod_perl. > > And according to my thread at use.perl > <http://use.perl.org/~merlyn/journal/8445>, the article just got pulled! The article says PHP is syntactically similar to C++. What PHP are they using? I picked up PHP in no time because it was nearly indentical to Perl. Sure, it's similar to C and C++, but, uhmm, $variable? Also mentions Perl has had OO bolted on. How do they view PHP's OO? I'm not bashing PHP, quite the contrary. But damn, that's just an ignorant article. I do wonder what sparked them pulling it out. -- Cory 'G' Watson