Want to Write for Us?Read This | LoginBecome a Member

Say “Hello” to PHP 5.4

php 5.4

PHP 5.4 is here!

Before you start thinking about upgrading your server, you should know if it’s worth doing it.

YES!

According to Nettuts+, “the latest enhancements significantly improve its elegance, while removing deprecated functionality, resulting in a dramatic optimization of the runtime (up to 20% more speed and memory usage reduction).”

20%?

I like the sound of that!

That could effect those on the verge of needing a server upgrade.

Here are a couple other things you may be happy to see:

  • Traits
  • Built-in web server for dev purposes
  • Shorter array syntax
  • Array dereferencing
  • $this in anonymous functions
  • <?= is always on <— THIS!
  • More!

Learn more about the new features, over 100 bugfixes and download PHP 5.4.0. on the PHP website.

I also recommend reading Nettuts+ post on everything you must know about PHP 5.4.

[via Nettuts+]

No Responses.

Be the first to start the conversation.

Leave a Reply

Gravatar Image