5 replies
PHP 6, the next major revision of the popular Web application development language, looms on the horizon and promises many changes. Learn what's new and what's obsolete and how to prepare your code for tomorrow.

It's no secret that PHP has changed significantly since the earliest versions of PHP 4 were released almost a decade ago. Indeed, each major revision of PHP has required code changes, as language features were added, modified, and obsolete. Depending on your PHP code, PHP 6 will be no exception.

Although PHP 6 isn't yet available as a pre-built package, you can download and install a development snapshot of PHP 6 now to check out the new features and verify your scripts remain functional. Since PHP 6 removes some backwards-compatibility features (which, in the long term, is a good thing), you should test your existing code thoroughly.
#php #ready
  • Profile picture of the author m4rx
    Sweet!

    --m4rx
    Signature
    We are what we repeatedly do. Excellence, then, is not an act, but a HABIT. ~Aristotle
    Bored. Learn everything you need to know about Organic Gardening.
    {{ DiscussionBoard.errors[1490252].message }}
  • Profile picture of the author Mr. Enthusiastic
    Gloryweb, who wrote the article? Did you? I ask because the article seems to be full of generalizations that don't actually help anyone. I have a few questions:

    Why does the php.net page not have any mention or discussion of php 6?

    Why did Linux Today have an article this October that said, "
    "Back in 2005, the promise of PHP 6 was to be the next big thing for the open source dynamic language. At the time, I remember joking with Zend co-founder Andi Gutmans about Perl 6, which is a release that also has been promised for years and still hasn't been released either.
    "Instead what has happened to PHP 6 is it has become the horizon of PHP. A place that you can see off in the distance, but can never be reached" Is this inaccurate?


    What is the download link for the prerelease version of php 6? Did you install it? How did that go for you?


    Can you give one example of how to use the namespace feature, and one example of how it would be useful to Internet marketers?


    Can you give one example of how to use the Unicode functionality, and one example of how it would help people with online sales?


    Can you give one example of how to work around the removal of deprecated obsolete features, say the elimination of register_globals, and why this is a good thing?


    I doubt you can, since I suspect your post was copy & paste spam to get up your post count and plug your product. But I'd love to be proved wrong, if you can actually enlighten us about php 6 starting with my simple and obvious questions. I'm especially concerned about this because the new functionality of php 6 requires a moderate level of programming to comprehend, but your other posts here ask extremely simple questions about the basics of html.

    Chris
    {{ DiscussionBoard.errors[1491743].message }}
  • Profile picture of the author wayfarer
    Many of the PHP 6 features are available now as of PHP 5.3, including namespaces, anonymous functions, and more. I wrote a summary as a sticky on one of the forums I'm a moderator at: What you should know about PHP6
    Signature
    I build web things, server things. I help build the startup Veenome. | Remote Programming Jobs
    {{ DiscussionBoard.errors[1492273].message }}
  • Profile picture of the author customertools
    It's been so many years since the promise of PHP6 and it's features, I'm begining to wonder if it's ever going to be a reality.. I know I cannot wait until it comes out because of its support for unicode.

    Brad
    {{ DiscussionBoard.errors[1497790].message }}

Trending Topics