Announcement

Collapse
No announcement yet.

PHP 7.0 Is Ready For Release

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

  • #11
    Originally posted by Veske View Post
    They forgot to fix the defining of a variable with $ prefix. When can we expect them to remove that hideous prefix?
    Perhaps this RFC should be implemented:
    PHP, as the result of a spectacular error of judgement, appears to be written in US English. How do we developers ensure the traditions of the British Empire continue to be upheld, even in the digital age?

    Comment


    • #12
      Originally posted by Veske View Post
      They forgot to fix the defining of a variable with $ prefix. When can we expect them to remove that hideous prefix?

      That would break tons of code so 'never' would probably be the answer. What's the problem with it anyway?

      Comment


      • #13
        Originally posted by Veske View Post
        They forgot to fix the defining of a variable with $ prefix. When can we expect them to remove that hideous prefix?
        Shell scripting also uses $ to read variables and perl did too. Also $ helps ease the job of any parser since it is pretty easy to identify variables on the code.

        Comment


        • #14
          Originally posted by GreatEmerald View Post
          Cool, but the transition to it is likely to be long and painful...
          Their focus on maintaining existing syntax has been good, at least in my case. I've got a codebase of about 150k lines which had been running on php 5.3 (with backwards incompatible changes in 5.4 keeping us from upgrading) and 3 custom extensions. It took only about 1.5days to migrate with the biggest headache being change in zend API for the extensions. Testing is still ongoing in our dev environments before our next major rollout, but there have only been a couple relatively minor regressions found.

          Comment

          Working...
          X