Results 1 to 12 of 12

Thread: Why I hate PHP

  1. #1
    HEXUS webmaster Steve's Avatar
    Join Date
    Nov 2003
    Posts
    14,283
    Thanks
    293
    Thanked
    841 times in 476 posts

    Why I hate PHP

    PHP Code:
    int strpos  string $haystack  mixed $needle, ... )
    bool in_array  mixed $needle  , array $haystack, ... ) 
    That's great, that is.
    PHP Code:
    $s = new signature();
    $s->sarcasm()->intellect()->font('Courier New')->display(); 

  2. #2
    PHP Geek Flash477's Avatar
    Join Date
    Dec 2008
    Location
    Devon
    Posts
    822
    Thanks
    51
    Thanked
    72 times in 65 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

  3. #3
    HEXUS webmaster Steve's Avatar
    Join Date
    Nov 2003
    Posts
    14,283
    Thanks
    293
    Thanked
    841 times in 476 posts

    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.
    PHP Code:
    $s = new signature();
    $s->sarcasm()->intellect()->font('Courier New')->display(); 

  4. #4
    HEXUS.social member Agent's Avatar
    Join Date
    Jul 2003
    Location
    Internet
    Posts
    19,185
    Thanks
    739
    Thanked
    1,614 times in 1,050 posts

    Re: Why I hate PHP

    Can you hear that?.....It's TheAnimus coming to support you Steve!
    Quote Originally Posted by Saracen View Post
    And by trying to force me to like small pants, they've alienated me.

  5. Received thanks from:

    Lee H (29-10-2009)

  6. #5
    HEXUS webmaster Steve's Avatar
    Join Date
    Nov 2003
    Posts
    14,283
    Thanks
    293
    Thanked
    841 times in 476 posts

    Re: Why I hate PHP

    Quote 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
    PHP Code:
    $s = new signature();
    $s->sarcasm()->intellect()->font('Courier New')->display(); 

  7. #6
    mutantbass head Lee H's Avatar
    Join Date
    Dec 2003
    Location
    M28, Manchester
    Posts
    14,204
    Thanks
    337
    Thanked
    671 times in 580 posts
    • Lee H's system
      • Motherboard:
      • MSI Z370 Carbon Gaming
      • CPU:
      • Intel i7 8700K Unlocked CPU
      • Memory:
      • 16 GB Corsair Vengeance 3200 LPX
      • Storage:
      • 250GB 960 EVO + a few more drives
      • Graphics card(s):
      • 6GB Palit GTX 1060 Dual
      • PSU:
      • Antec Truepower 750W Modular Blue
      • Case:
      • Corsair 600T White Edition
      • Operating System:
      • Windows 10 PRO
      • Monitor(s):
      • 27" Asus MX279H & 24" Acer 3D GD245HQ + the 3D glasses
      • Internet:
      • Virgin Media

    Re: Why I hate PHP

    Quote 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?

  8. #7
    Senior Member
    Join Date
    Mar 2009
    Location
    UK
    Posts
    372
    Thanks
    72
    Thanked
    36 times in 35 posts

    Re: Why I hate PHP

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

  9. #8
    HEXUS.social member Agent's Avatar
    Join Date
    Jul 2003
    Location
    Internet
    Posts
    19,185
    Thanks
    739
    Thanked
    1,614 times in 1,050 posts

    Re: Why I hate PHP

    Quote 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.
    Quote Originally Posted by Saracen View Post
    And by trying to force me to like small pants, they've alienated me.

  10. #9
    I R Toff Pandi! TAKTAK's Avatar
    Join Date
    Mar 2008
    Location
    Vergon6
    Posts
    7,450
    Thanks
    553
    Thanked
    1,013 times in 748 posts
    • TAKTAK's system
      • Motherboard:
      • ASUS ROG STRIX B450-F GAMING
      • CPU:
      • Ryzen 7 3700X
      • Memory:
      • 16GB Corsair Vengeance LPX 3200MHz
      • Storage:
      • 500GB Samsung 970 EVO
      • Graphics card(s):
      • 5700 XT 50th Anniversary
      • PSU:
      • Be Quiet SFX-L 600W
      • Case:
      • Lian Li PC-O11 Mini
      • Operating System:
      • Windows 10
      • Monitor(s):
      • LG Ultrawide
      • Internet:
      • 200Mb FTTP

    Re: Why I hate PHP

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

    Everyone loves kittens...
    Post Counts and Other Rewards, Rules, Folding@Home, Fans: Push vs Pull vs Push-Pull, Corsair PSU OEMs.

    Quote Originally Posted by razer121 View Post
    Would you like me to enter you? it would be my pleasure
    TAKTAK.co.uk

  11. Received thanks from:

    Perfectionist (30-10-2009)

  12. #10
    Seething Cauldron of Hatred TheAnimus's Avatar
    Join Date
    Aug 2005
    Posts
    17,168
    Thanks
    803
    Thanked
    2,152 times in 1,408 posts

    Re: Why I hate PHP

    Quote 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)

  13. Received thanks from:

    Flash477 (30-10-2009),Lee H (30-10-2009),Steve (30-10-2009),TAKTAK (31-10-2009)

  14. #11
    Large Member
    Join Date
    Apr 2004
    Posts
    3,720
    Thanks
    47
    Thanked
    99 times in 64 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.

  15. #12
    Large Member
    Join Date
    Apr 2004
    Posts
    3,720
    Thanks
    47
    Thanked
    99 times in 64 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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. PHP Windows vs PHP Linux
    By Raz316 in forum Software
    Replies: 5
    Last Post: 15-12-2008, 02:16 PM
  2. MySQL extension for PHP 5.2.3 not working
    By Jerrythafast in forum Help! Quick Relief From Tech Headaches
    Replies: 18
    Last Post: 13-06-2007, 08:03 PM
  3. PHP and file uploads timing out too soon
    By McClane in forum Software
    Replies: 12
    Last Post: 02-12-2006, 05:57 PM
  4. Tank like a pro
    By oblylove in forum PC
    Replies: 1
    Last Post: 19-03-2006, 02:50 PM
  5. I hate zidane.
    By yamangman in forum General Discussion
    Replies: 11
    Last Post: 14-06-2004, 07:31 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •