Announcement

Collapse
No announcement yet.

PHP 5.5 Released With Zend Opcache, Generators

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • PHP 5.5 Released With Zend Opcache, Generators

    Phoronix: PHP 5.5 Released With Zend Opcache, Generators

    The PHP development community announced today the release of PHP 5.5.0. The PHP 5.5 release brings with it the Zend Opcache extension, support for generators, the "finally" keyword, and other new additions to the popular scripting language...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    PHP Sadness

    What is wrong with PHP?

    Comment


    • #3
      Originally posted by uid313 View Post
      What is wrong with PHP?
      http://phpsadness.com/
      Wait wait, you mean PHP isn't a completely perfect language? Are you trying to tell me that PHP, which is a script language, isn't as powerful as C++/Java? Are you implying that PHP may do things differently then some other flash in the pan language like ruby?

      Excuse me while I go kick the shit out of this dead horse...

      Comment


      • #4
        Originally posted by uid313 View Post
        What is wrong with PHP?
        http://phpsadness.com/
        That's an extremely small list of issues that can be hashed out over time.

        Comment


        • #5
          Yeah, but some things really suck.

          Like:
          Type-coercing comparison operators will convert numeric strings to numbers

          Comment


          • #6
            Originally posted by uid313 View Post
            Yeah, but some things really suck.

            Like:
            Type-coercing comparison operators will convert numeric strings to numbers
            http://phpsadness.com/sad/47
            If you know the language, that's not really a problem. Most of the time you should be using ===, unless you want the type coercion features.

            Since 5.0 was released PHP has made huge steps in the right direction with every release.

            Comment


            • #7
              no scalar type hinting?

              baahh it seems that scalar type hinting didn't made it

              Example:
              function myfunction(int $param, double $param2, string $param3)

              that sucks.

              Comment


              • #8
                Originally posted by TheOne View Post
                baahh it seems that scalar type hinting didn't made it

                Example:
                function myfunction(int $param, double $param2, string $param3)

                that sucks.
                Apparently this is a patch for this (too lazy to look for the url) but the "community" poopoo'd it.

                Yes, I would also like this feature.

                Comment


                • #9
                  Originally posted by psychoticmeow View Post
                  If you know the language, that's not really a problem. Most of the time you should be using ===, unless you want the type coercion features.

                  Since 5.0 was released PHP has made huge steps in the right direction with every release.
                  Really, how many PHP programmers really use the === operator?
                  Who really uses that?
                  Not even the official manual pages at php.net uses it in their examples.

                  Comment


                  • #10
                    Originally posted by uid313 View Post
                    Really, how many PHP programmers really use the === operator?
                    Who really uses that?
                    Not even the official manual pages at php.net uses it in their examples.
                    There's about 8.5 million on Github... https://github.com/search?q=%3D%3D%3...dvsearch&l=PHP

                    I think that answers your question.

                    Comment

                    Working...
                    X