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

NetTuts.com:
PHP 5.6 What's New
October 02, 2014 @ 10:58:59

On the NetTuts.com site there's a new article posted talking about some of the new stuff that comes bundled in PHP 5.6 (the first stable version of which was released at the end of August 2014).

It's been a long time coming, but we finally have a new version of PHP. With it comes a some nice, new features, improvements to existing features, as well as features that have been removed or marked as deprecated. Let's dive in and take a look at everything that's offered by the latest version.

There's several items on the list, broken up into various sections, each with brief explanations:

  • Backward Incompatible Changes (ex: json_decode, mcrypt)
  • New Features (including constant scalar expressions, argument unpacking, phpdbg)
  • Deprecated Features (call to static from non-static context, removal of HTTP_RAW_POST_DATA)

They also link to the list of all of the changed and new functions updated in the PHP 5.6.0 release and moving forward.

0 comments voice your opinion now!
php56 new feature deprecated backwards incompatible break

Link: http://code.tutsplus.com/articles/php-56-whats-new--cms-22101

Ben Ramsey:
Learning a New Codebase
September 18, 2014 @ 09:38:51

In a new post to his site Ben Ramsey shares a few suggestions around things to ask and do to learn a new codebase (whether that means in a new job or coming into a new open source project).

A few days ago, my friend Ed Finkler started a new job. Earlier this week, he posted on Twitter: "First days humble us all." Having begun a new job myself, I shared Ed's sentiment. Last weekend, while at the Madison PHP Conference, we were discussing what developers can do during the interview process to get an idea of the kind of codebase a company has.

He includes a few questions for developers to ask, either during the interview or once hired, about the codebase itself including:

  • what coding standards the company follows
  • how much of the code is covered by tests
  • have the company's deployment process described

He also recommends learning the codebase by diving in and either writing tests for untested areas or work through bug reports and fix (then test) them.

0 comments voice your opinion now!
learn new codebase tips questions bugfix unittest

Link: http://benramsey.com/blog/2014/09/learning-a-new-codebase/

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



Community Events





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


interview list tips laravel introduction install release api symfony voicesoftheelephpant opinion library framework series package language community bugfix podcast deployment

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