ML
    • Register
    • Login
    • Search
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups

    PHP scalar type hinting takes a massive blow

    Developer Discussion
    php
    2
    2
    913
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • tonyshowoff
      tonyshowoff last edited by

      So, those of you who are way into PHP may or may not know that the recent push for scalar type hinting (being able to define int, string, bool, etc not just arrays), something which exists in languages like C#, has taken a major blow. I was originally going to write up a post here about it but I thought it was too much whining for this site, so I detailed it here:

      http://tonyshowoff.com/articles/php-scalar-type-hinting-takes-a-massive-blow/

      I honestly do think this is a major blow to PHP and I'm seriously wondering if I should switch to Go or just node.js. If no RFC is submitted for scalar typing in PHP 7, I'm probably going to switch languages.

      1 Reply Last reply Reply Quote 0
      • scottalanmiller
        scottalanmiller last edited by

        I know some people starting to use Go and really liking it.

        1 Reply Last reply Reply Quote 1
        • First post
          Last post