News Feed
Sections




News Archive
feed this:

Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

SitePoint PHP Blog:
New Features in PHP 5.6
January 14, 2014 @ 12:56:39

On the SitePoint PHP blog Bruno Skvorc has posted a guide to what's new in PHP 5.6, the upcoming release of the language.

It's been a while since the release of PHP 5.4, and new versions have been coming out faster and faster ever since. When 5.5 hit and introduced some unexpectedly great features, the PHP community breathed a sigh of relief and regained hope of a more dedicated, structured and smart core development. Whether or not we'll actually get this remains to be seen, but the future does indeed look promising, especially if one looks at the PHP 5.6 changes made so far.

He goes through the list of things (so far) that will be in the upcoming release:

  • MIME types in the CLI web server
  • Internal Operator Overloading
  • Uploads of over 2GB are now accepted
  • POST data memory usage decreased
  • Improved syntax for variadic functions
  • Constant Scalar Expressions
  • PHPDBG bundled by default
  • Zip improved
  • Importing namespaced functions

Each item on the list comes with either some sample code to show its use or a brief explanation of the features it adds or updates.

0 comments voice your opinion now!
new feature upcoming language release php56

Link: http://www.sitepoint.com/new-features-php-5-6

The PHP.cc:
PHP 5.5 New CLASS Constant
June 26, 2013 @ 09:02:08

The PHP.cc have posted another article in their series looking at the new features that come with the latest release of PHP (5.5). In this new post they cover the "CLASS" constant.

Last week, the first stable version of PHP 5.5 was released. It introduced a class-level constant, aptly named CLASS, that is automatically available on all classes and holds the fully-qualified name of that class. [...] So why would you need such a constant? [...] When you need the fully qualified name of a namespaced class that is referenced by a namespace alias ... then it gets interesting.

He illustrates with an example of a unit test using stubs and mocks. The normal method requires the definition of the class namespace in the "getMock" call. With the CLASS constant, PHP can extract that information from the namespace referenced in the "use" and drop it in as a replacement.

0 comments voice your opinion now!
class constant php55 new feature namespace unittest

Link: http://thephp.cc/viewpoints/blog/2013/06/php-5-5-new-class-constant

PHP.net:
PHP 5.5.0 released
June 20, 2013 @ 14:13:20

The long awaited release of PHP 5.5 has finally happened - 5.5.0 has been made available via the PHP.net site (and mirrors).

The PHP development team is proud to announce the immediate availability of PHP 5.5.0. This release includes a large number of new features and bug fixes. [...] For users upgrading from PHP 5.4 there is a migration guide available here, detailing the changes between PHP 5.4 and PHP 5.5.0. For a full list of changes in PHP 5.5.0, see the ChangeLog.

There's a long list of new features that comes with this release as well including generators, "finally", class resolution via "class" keyword, support for list in foreach and the enabling of the Zend Opcode caching by default. You can download this release now from PHP.net.

0 comments voice your opinion now!
language version release v550 bugfixes new features

Link: http://php.net/archive/2013.php#id2013-06-20-1

NetTuts.com:
10 Tips for Learning a New Technology
May 10, 2013 @ 10:54:10

On NetTuts.com today they've posted a list of tips they think will help you learn a new technology faster. They've broken it up into ten different steps, some which could be done at any time but some have a bit more of an order.

We live in a very exciting time. Never before has education been so cheaply available to the masses (if not free). The medium, itself, has made tectonic shifts from a classroom setting, to blogs, screencasts and complete university classes, as a set of videos and interactive forums. Given these resources, there's absolutely no excuse not to dive in and learn. However, with such a wealth of resources, filtering through the options can often become overwhelming. In this article, I will outline a simple process to kick-start your education.

Among the items in their list there's things like:

  • "Let the Information Flow Begin"
  • "Listen and Watch"
  • "Blogging"
  • "Feel the Pulse"
  • "Meetups and Conferences"

Each tip comes with a bit of description and some links to other resources and tools that can help you along your way.

0 comments voice your opinion now!
learn new technology tips advice top10

Link: http://net.tutsplus.com/articles/general/10-tips-for-learning-a-new-technology

Sherif Ramadan:
Test Drive PHP 5.5 A Sneak Peek
October 22, 2012 @ 12:09:02

Sherif Ramadan has a new post that gets into some good detail about what you can expect in the upcoming PHP 5.5 release with loads of new features.

There's been some talk about PHP 5.5.0 over the past couple of months even though it is barely on the horizon. The reason for this is that the PHP project has seen some increased levels of activity over the last two years since the dawn of PHP 5.4 and now in to the early twilight phase of PHP 5.5.0-dev. For those of you that haven't been following the internals mailing list I'm about to give you a quick test-drive and sneak-peak at PHP 5.5 using the latest 5.5.0-dev branch (which is still TBD).

Obviously, since the actual release of this version has yet to be determined, some of this may change over time. He gets into some of the major advancements and features that will be included like:

  • the "finally" keyword
  • list() support in foreach()
  • the Password Hashing API
  • generators
  • a new property accessor syntax
  • scalar type hints

Code samples are provided in some places to help make a bit more sense out of the example.

0 comments voice your opinion now!
upcoming release version new feature functionality


Web & PHP Magazine:
Issue #6 Published - "Breaking New Ground"
September 03, 2012 @ 11:58:06

The latest issue of Web & PHP Magazine has been published - Issue 6, "Breaking New Ground". In this latest edition, articles include:

  • "Social Authentication with Zend Framework 2" by Nicholas Calugar
  • "A modern approach to object creation in JavaScript" by Marco Emrich
  • Sebastian Bergmann discussing reliability in software engineering
  • Scriptable sockets with ZeroMQ by Louren Naude

You can download this latest issue for free from the Web & PHP site and pick up the other previous issues while you're there!

0 comments voice your opinion now!
webandphpmagazine issue publish new technology


Nikita Popov:
How to add new (syntactic) features to PHP
July 30, 2012 @ 09:54:34

Nikita Popov has a new post to his site looking at how you can add your own syntactic features directly to PHP (requires knowledge of the C language).

Several people have recently asked me where you should start if you want to add some new (syntactic) feature to PHP. As I'm not aware of any existing tutorials on that matter, I'll try to illustrate the whole process in the following. At the same time this is a general introduction to the workings of the Zend Engine. So upfront: I apologize for this overly long post.

He covers the usual "life" of a PHP script, how tokenization is handled and what happens when the script is parsed, compiled and executed. Code snippets are included to show you the points to add in your own syntax item - in their case, adding an "in" operator to see if a value is in an array (a one word version of this).

0 comments voice your opinion now!
syntax tutorial add new c language


Derick Rethans' Blog:
10 years of Xdebug and Xdebug 2.2.0 released
May 09, 2012 @ 09:19:58

Congratulations go out to Derick Rethans for the outstanding work he's done on XDebug for the last ten years. From his latest blog post:

Today it has been ten years since the first release of Xdebug: version 0.7.0. I would like to celebrate this tenth anniversary with a new release: Xdebug 2.2.0. Xdebug 2.2 adds support for PHP 5.4 and provides some new features.

There's five new things on his list of updates in this latest release:

  • Colours on the command line
  • Better support for closures in stack and function traces
  • The size of arrays is now shown with the overloaded variable output
  • Added the method call type to xdebug_get_function_stack
  • Extra information to error printouts to tell that the error suppression operator has been ignored due to xdebug.scream

If you've found XDebug handy for testing and finding those tough to track bugs over the years, you should consider buying "support" to show Derick your appreciation (oh, and you also get a "first in" preference on your XDebug questions)!

0 comments voice your opinion now!
release xdebug ten years decade new features


Sameer Borate's Blog:
PHP 5.4.0 in a nutshell
April 09, 2012 @ 09:16:11

If you've been looking for the "quick and dirty" definition of all of the changes that come with the latest version of PHP 5.4, you should check out this new post from Sameer Borate. It has a quick rundown, code included, of these new features and changes.

Although purists have always sneered upon PHP for being a "patched" language; the evolution of PHP over the years, with new features added in every version, has only increased its popularity. The latest 5.4 release has followed the trend with some major feature additions. The following post describes some important changes in PHP 5.4.

His list includes: the updated array syntax, the bulit-in web server, array dereferencing, traits, upload progress tracking and various core changes to things like the short syntax for calling static methods in classes and the complete remval of magic quotes.

0 comments voice your opinion now!
new feature summary version code snippet


NetTuts.com:
PHP 5.4 is Here! What You Must Know
March 06, 2012 @ 10:24:48

NetTuts.com has posted their own "what you must know" about the recently released (major) upgrade to the PHP language - PHP 5.4.

PHP 5.4 is here; the next major step forward since version 5.3 - keeping PHP 6 (full Unicode support) on hold for now. 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).

They hit all of the highlights:

  • Traits
  • Built-in CLI Web-Server
  • Shorter Array Syntax
  • Array Dereferencing
  • $this In Anonymous Functions
  • <?= is Always On
  • Binary Number Representation
  • Callable Typehint
  • Initialized High Precision Timer

Code examples are provided where relevant.

0 comments voice your opinion now!
new feature language must know major



Community Events





Don't see your event here?
Let us know!


interview series opinion testing community developer framework code release language list podcast introduction laravel symfony2 refactor api install threedevsandamaybe unittest

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework