The more I use PHP the more it irritates me. Mostly because I don't know what I'm doing. Here are some points though about why PHP sucks!
1) Inconsitent naming of functions - They use all three versions of naming!
myfunction
my_function
myFunction
2) Functions like magic quotes are can be turned off in the php.ini. If you want to make something portable, you better make sure every server you run it on has the same settings.
3) Its slow - Check Here for a comparison against java.
4) Different versions of php are incompatable such as 4.3 to 4.4 or 4.x to 5.0 (remind you of java?)
5) It isn't thread safe
Thats all I have for now. I am, of course going to keep using PHP but it does suck.
DirkFirst Tutorials | Linux Forum
PHP is designed for some specific purpose first and foremost. The ability to disable certain functions and features at the server level is a way to maange resources and get it working on a larger platform of hardware. I think if you are going to code for an open-source or general population you need to keep in mind common server settings and do go using functions that most servers will not have enabled.
What kind of compatibility issues are you seeing with different versions? I have not had any problems in regards to that.
It does have its flaws but in general it is a good scripting language. What platform doesn't have flaws?
I do not agree with you at all about "PHP Sucks". I've made many large scale applications with it and I love it. Aren't you always asking questions about PHP on this forum?
Code:for (int i;;) { cout << "Smith"; }
I must say I tend to agree with SMITH... PHP is really an excellent scripting language. It's made to adjust/work with different conditionals that allow for more "control" ------> It's like this: HTML is to PHP as an automatic is to a stick shift... LOL - Does that even make sense???Originally Posted by smith
But anyway - I'm not so much versed in the intricasies of php like a lot of folks on here - But I can certainly see it's uses
Jacquii.
You barely even know PHP dirkfirst and yet you are already putting it down? PHP doesn't suck for those of us that know how to use it.
These frustrations are usually due to the language being so flexible and relaxed compared to other languages. Yes there can be several way to do things, but they achieve the same thing so you only need to know one![]()
Absolutely correct! I agree - only need to know one!Originally Posted by husky44
It's the beauty of something so very complex...
See the diff'rence: complex versus "completely SUX"
It's a distinct difference.![]()
JAcquii.
I know PHP well enough to see the flawsOriginally Posted by Lop
I posted the version in the original quote. These versions have different functions and members that are not compatible.Originally Posted by Jonas
DirkFirst Tutorials | Linux Forum
Love how that it compaired it with java, and not something like perl. What kind of comparison is that?
Yeah, Java and PHP really have nothing in common do they?
I have never used Java but I thought that was more like C and C++ than PHP.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks