• HEXUS
  • HEXUS.tv
  • channel
  • gaming
  • lifestyle
  • trust
  • community
  • ESReality
  • HEXUS.community discussion forumsVisit Corsair.com

    Welcome to the HEXUS.community discussion forums forums.

    You are currently viewing our boards as a guest which gives you limited access to view most discussions and other features. By joining our free community you will have access to post topics, respond to polls and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

    Go Back   HEXUS.community discussion forums > HEXUS.help - buying advice & technical queries > Operating systems & applications > Software and web development

    Software and web development Databases, graphics, programming, scripting and web development.

    Reply
     
    LinkBack Thread Tools
    Old 29-10-2009, 03:56 PM   #1 (permalink)
    HEXUS webmaster
     
    Steve's Avatar
     
    Join Date: Nov 2003
    Location: Bristol
    Posts: 12,328
    Thanks: 47
    Thanked 239 Times in 158 Posts
    Steve's system
    View Steve's Twitter Profile
    Why I hate PHP

    PHP Code:
    int strpos  string $haystack  mixed $needle, ... )
    bool in_array  mixed $needle  , array $haystack, ... ) 
    That's great, that is.

    Steve is offline   Reply With Quote
    Old 29-10-2009, 05:03 PM   #2 (permalink)
    Member
     
    Join Date: Dec 2008
    Posts: 197
    Thanks: 11
    Thanked 10 Times in 10 Posts
    Re: Why I hate PHP

    That part of PHP can be annoying - I use it al the time, but that is one thing I often have to double check

    www.ekchu.com <-- Eve Online Corp
    Flash477 is offline   Reply With Quote
    Old 29-10-2009, 05:04 PM   #3 (permalink)
    HEXUS webmaster
     
    Steve's Avatar
     
    Join Date: Nov 2003
    Location: Bristol
    Posts: 12,328
    Thanks: 47
    Thanked 239 Times in 158 Posts
    Steve's system
    View Steve's Twitter Profile
    Re: Why I hate PHP

    Yeah, I've only been using PHP for... 6 years or so, but it still catches me out.

    Doesn't help when Eclipse isn't in the mood for parameter hinting either.

    Steve is offline   Reply With Quote
    Old 29-10-2009, 05:11 PM   #4 (permalink)
    Administrator
     
    Join Date: Jul 2003
    Location: Internet
    Posts: 15,998
    Thanks: 374
    Thanked 696 Times in 483 Posts
    Re: Why I hate PHP

    Can you hear that?.....It's TheAnimus coming to support you Steve!

    Agent is offline   Reply With Quote
    Received thanks from:
    Lee @ SCAN (29-10-2009)
    Old 29-10-2009, 05:15 PM   #5 (permalink)
    HEXUS webmaster
     
    Steve's Avatar
     
    Join Date: Nov 2003
    Location: Bristol
    Posts: 12,328
    Thanks: 47
    Thanked 239 Times in 158 Posts
    Steve's system
    View Steve's Twitter Profile
    Re: Why I hate PHP

    Originally Posted by Agent View Post
    Can you hear that?.....It's TheAnimus coming to support you Steve!
    Or tell me I'm wrong, for some very good reason!

    Also, if TheAnimus is around, I should probably say how I'm glad PHP 5.3 supports lambda functions. Shame I don't run 5.3 yet though

    Steve is offline   Reply With Quote
    Old 29-10-2009, 05:16 PM   #6 (permalink)
    Hater of Cheap ISPS
     
    Lee @ SCAN's Avatar
     
    Join Date: Dec 2003
    Location: M28, Manchester
    Posts: 12,277
    Thanks: 187
    Thanked 337 Times in 307 Posts
    Lee @ SCAN's system
    Re: Why I hate PHP

    Originally Posted by Agent View Post
    Can you hear that?.....It's TheAnimus coming to support you Steve!
    Yeah but he is hexus's own seething cauldron of hatred afterall.

    Is there anything he likes?

    ----
    Why do Computer Scientists get Halloween and Christmas mixed up? Because Oct. 31 = Dec. 25.
    Lee @ SCAN is offline   Reply With Quote
    Old 29-10-2009, 05:21 PM   #7 (permalink)
    Senior Member
     
    Join Date: Mar 2009
    Location: UK
    Posts: 314
    Thanks: 62
    Thanked 32 Times in 31 Posts
    View david@scan's Twitter Profile
    Re: Why I hate PHP

    5.3 is a lot nicer - but it's still a pain in some ways

    david@scan is offline   Reply With Quote
    Old 29-10-2009, 10:40 PM   #8 (permalink)
    Administrator
     
    Join Date: Jul 2003
    Location: Internet
    Posts: 15,998
    Thanks: 374
    Thanked 696 Times in 483 Posts
    Re: Why I hate PHP

    Originally Posted by Steve View Post
    Or tell me I'm wrong, for some very good reason!
    You're not - it has its quirks

    I used to use PHP4 a lot but sadly I never really got up to speed on 5. Should brush up on it sometime.

    Agent is offline   Reply With Quote
    Old 29-10-2009, 10:45 PM   #9 (permalink)
    I R Toff Pandi!
     
    TAKTAK's Avatar
     
    Join Date: Mar 2008
    Location: Vergon6
    Posts: 5,824
    Thanks: 328
    Thanked 635 Times in 484 Posts
    TAKTAK's system
    View TAKTAK's Twitter Profile
    Re: Why I hate PHP

    Originally Posted by Lee @ SCAN View Post
    Is there anything he likes?
    Kittens...

    Everyone loves kittens...

    TAKTAK is offline   Reply With Quote
    Received thanks from:
    Perfectionist (29-10-2009)
    Old 30-10-2009, 08:23 AM   #10 (permalink)
    Seething Cauldron of Hatred
     
    Join Date: Aug 2005
    Posts: 7,939
    Thanks: 106
    Thanked 370 Times in 283 Posts
    Re: Why I hate PHP

    Originally Posted by TAKTAK View Post
    Kittens...

    Everyone loves kittens...
    With just a tiny whisp of french mustard.
    seriously, PHP was sooo 2000.

    throw new ArgumentException (String, String, Exception)
    TheAnimus is offline   Reply With Quote
    Received thanks from:
    Flash477 (30-10-2009), Lee @ SCAN (30-10-2009), Steve (30-10-2009), TAKTAK (31-10-2009)
    Old 31-10-2009, 06:23 PM   #11 (permalink)
    Large Member
     
    Join Date: Apr 2004
    Posts: 3,368
    Thanks: 25
    Thanked 27 Times in 22 Posts
    Re: Why I hate PHP

    Meh. It does a few particular jobs well. Just stick to the later versions.

    To err is human. To really foul things up ... you need a computer.
    yamangman is offline   Reply With Quote
    Old 10-11-2009, 08:16 PM   #12 (permalink)
    Large Member
     
    Join Date: Apr 2004
    Posts: 3,368
    Thanks: 25
    Thanked 27 Times in 22 Posts
    Re: Why I hate PHP

    I have one to add actually:

    Code:
    public ArgumentException(
        string message,
        string paramName
    )
    
    Code:
    public ArgumentNullException(
        string paramName,
        string message
    )
    
    Especially nice since ArgumentException is the super of ArgumentNullException

    To err is human. To really foul things up ... you need a computer.
    yamangman is offline   Reply With Quote
    Reply

    Breadcrumb
    Go Back   HEXUS.community discussion forums > HEXUS.help - buying advice & technical queries > Operating systems & applications > Software and web development


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

    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


    Similar Threads
    Thread Thread Starter Forum Replies Last Post
    PHP Windows vs PHP Linux Raz316 Operating systems & applications 5 15-12-2008 01:16 PM
    MySQL extension for PHP 5.2.3 not working Jerrythafast Help - technical & advisory 18 13-06-2007 07:03 PM
    PHP and file uploads timing out too soon McClane Software and web development 12 02-12-2006 04:57 PM
    Tank like a pro oblylove HEXUS.MMOG 1 19-03-2006 01:50 PM
    I hate zidane. yamangman General discussion 11 14-06-2004 06:31 AM



    All times are GMT. The time now is 08:17 PM.

    Any representations/statements made on the HEXUS.community discussion forums are the representations/statements of the author i.e. the person/organisation making them. If any such representations/statements are disputed they are a matter between the parties concerned.
    HEXUS Limited accepts no responsibility for any misrepresentations, inaccurate or false statements made by any person/organisation other than HEXUS Limited employees.
    For more information please read HEXUS Limited's terms, conditions and privacy policy.

    Hosted Exchange

    Powered by vBulletin® Version 3.8.4
    Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
    Content Relevant URLs by vBSEO 3.3.2
    © Copyright 2009 HEXUS® Limited. All rights reserved. Unauthorised reproduction strictly prohibited.