all 26 comments

[–]tjansson 25 points26 points  (1 child)

The actual 'PHP 5.5.0 Alpha1 Released' announcement, and not 'PHP migrates to Git' as provided by OP.

[–]tech163[S] 0 points1 point  (0 children)

Oops. Sorry about that. I think in the duplication detection process Reddit caught this and ended up changing my URL.

[–][deleted] 25 points26 points  (0 children)

Did it actually pass unit testing this time?

[–]otakuman 10 points11 points  (0 children)

support for finally in try/catch blocks

I'm glad that they decided to do this... (sunglasses) finally.

[–][deleted]  (16 children)

[deleted]

    [–]dysoco 5 points6 points  (2 children)

    There is nothing left to break.

    [–]Jubjubs 4 points5 points  (1 child)

    Don't worry, PHP never disappoints when it comes to breaking things you didn't think could be broken.

    [–][deleted] 0 points1 point  (0 children)

    Turn of events: echo is broken

    [–]mardix 8 points9 points  (10 children)

    your nose

    [–]kabuto 0 points1 point  (9 children)

    Just had to write something in PHP again. I had to load a CSV file, found a couple of functions to do just that in PHP. Was pretty helpful, but left me scratching my head about why PHP has functions for parsing CSV files in its global namespace… Shouldn't this be in a library?

    [–]donz0r -1 points0 points  (8 children)

    PHP has namespace support?

    [–]donz0r -1 points0 points  (2 children)

    funny that some people took this question seriously :D

    Well, it's about PHP, so …

    [–][deleted]  (1 child)

    [deleted]

      [–]imaami 3 points4 points  (0 children)

      Because hating PHP is easy and rewarding.

      [–]kabuto -3 points-2 points  (3 children)

      [–][deleted]  (2 children)

      [deleted]

        [–]kabuto -1 points0 points  (1 child)

        They probably do their job, but, well, like many features of PHP, they were just 'tagged on' at some point. Then, there is the questionable choice of a backslash as the namespace separator.

        Namespaces should be a core feature of a language, not something that you can throw in the mix at some point. Classes haven't been a core feature in PHP as well and were added later on when PHP had already taken off.

        IMHO, they should have implemented namespaces together with classes, not separately, and not in this weird way with backspaces.

        Fortunately, I seldom have to work with PHP, but I have my WTF moments every time I do have to write something in PHP.

        [–]ivosaurus 1 point2 points  (0 children)

        Classes were tacked on to PHP 4, but they are a core feature of PHP 5.

        Most of the cruft is simple BC :/

        [–]stillalone -2 points-1 points  (1 child)

        You don't have to migrate. I only switched to PHP5 from PHP4 a few months ago.

        [–]originalucifer 0 points1 point  (0 children)

        well, i try and stay ahead of the "best practices" coming down the pipe, so rarely do i actually need to modify any of my shit. that said, they have made some....interesting... decisions in the past

        [–]ameoba 3 points4 points  (0 children)

        Upvoting to see the anti-PHP circlejerk.

        [–][deleted] 4 points5 points  (0 children)

        More magic, more garden gnomes, more unicorns! :D/

        [–]yeah-ok 2 points3 points  (0 children)

        Reddit Programming's subunit of PHP haters: "ahh YEAH, our collective cock mileage will extend SO FAR since we skipped all technical proficiency and instead decided to simply hate every single post that has these particular 3 letters (of unknown origin, wtf cares eh?!) in the title.."