Lost Password?


Go Back   CodeCall Programming Forum > Web Development Forum > PHP Forum

PHP Forum Use this forum to discuss all aspects of PHP Development. PHP is a server-side, cross-platform, HTML embedded scripting language that lets you create dynamic web pages.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-15-2006, 07:10 PM
dirkfirst dirkfirst is offline
Programming Professional
 
Join Date: May 2006
Posts: 338
Rep Power: 12
dirkfirst is on a distinguished road
Thumbs down PHP sucks

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 07-15-2006, 08:31 PM
Jonas Jonas is offline
Newbie
 
Join Date: Jul 2006
Posts: 25
Rep Power: 9
Jonas is on a distinguished road
Default

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-15-2006, 09:16 PM
smith smith is offline
Programmer
 
Join Date: Jun 2006
Posts: 108
Rep Power: 9
smith is on a distinguished road
Default

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";
}
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 07-16-2006, 08:49 AM
JacquiiC's Avatar   
JacquiiC JacquiiC is offline
Newbie
 
Join Date: Jul 2006
Age: 33
Posts: 11
Rep Power: 0
JacquiiC is on a distinguished road
Send a message via Yahoo to JacquiiC
Default

Quote:
Originally Posted by smith
It does have its flaws but in general it is a good scripting language.
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???

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 07-16-2006, 01:07 PM
Lop's Avatar   
Lop Lop is offline
Speaks fluent binary
 
Join Date: May 2006
Posts: 1,149
Rep Power: 18
Lop will become famous soon enoughLop will become famous soon enough
Default

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.
__________________
Lop
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #6 (permalink)  
Old 07-17-2006, 01:18 AM
husky44's Avatar   
husky44 husky44 is offline
Learning Programmer
 
Join Date: Jun 2006
Posts: 30
Rep Power: 9
husky44 is on a distinguished road
Default

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 07-17-2006, 07:06 AM
JacquiiC's Avatar   
JacquiiC JacquiiC is offline
Newbie
 
Join Date: Jul 2006
Age: 33
Posts: 11
Rep Power: 0
JacquiiC is on a distinguished road
Send a message via Yahoo to JacquiiC
Default

Quote:
Originally Posted by husky44
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!
It's the beauty of something so very complex...
See the diff'rence: complex versus "completely SUX"
It's a distinct difference.

JAcquii.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 07-17-2006, 06:07 PM
dirkfirst dirkfirst is offline
Programming Professional
 
Join Date: May 2006
Posts: 338
Rep Power: 12
dirkfirst is on a distinguished road
Default

Quote:
Originally Posted by Lop
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.
I know PHP well enough to see the flaws



Quote:
Originally Posted by Jonas
What kind of compatibility issues are you seeing with different versions? I have not had any problems in regards to that.
I posted the version in the original quote. These versions have different functions and members that are not compatible.
__________________
DirkFirst
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 07-18-2006, 10:26 PM
jtaleric jtaleric is offline
Newbie
 
Join Date: Jul 2006
Posts: 7
Rep Power: 0
jtaleric is on a distinguished road
Default

Love how that it compaired it with java, and not something like perl. What kind of comparison is that?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 07-19-2006, 02:40 AM
Blaze's Avatar   
Blaze Blaze is offline
Programmer
 
Join Date: Jun 2006
Posts: 117
Rep Power: 9
Blaze is on a distinguished road
Default

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP 4 end of life announcement Jordan Programming News 4 08-30-2007 10:55 AM
PHP Introduction clookid PHP Tutorials 10 01-16-2007 08:17 AM


All times are GMT -5. The time now is 06:41 AM.

Contest Stats

WingedPanther ........ 2753.6
Xav ........ 2704
Brandon W ........ 1702.32
John ........ 1207.73
marwex89 ........ 1175.24
morefood2001 ........ 966.05
dcs ........ 655.75
Steve.L ........ 475.59
orjan ........ 418.58
Aereshaa ........ 383.54

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 97%

Ads