«« Next » « Previous
«« Next » « Previous

Link Details

You don't have to pay, but you do have to vote! Login and vote now.
Link 70562 thumbnail

By rogwilco
via sitecrafting.com
Published: Mar 13 2008 / 15:25

The evolution of PHP into an object-oriented programming language has been a very exciting process to watch. I'll admit its advancement seems to move at a glacial pace at times, but looking back we certainly have come a long way. With the release of 5.0 we saw PHP leave its childhood and enter its awkward adolescent stage. At this point there is evidence of a mature and complex object-oriented language while stilll exhibiting many of its younger habits. So what's in store for us next? Let me explain . . .
  • 13
  • 0
  • 1389
  • 472

Comments

Add your comment
User 255579 avatar

tobyhede replied ago:

0 votes Vote down Vote up Reply

Any idea on what the backwards compatibility is like?
Seems like something as major as namespaces should not be in a point release.

User 59996 avatar

sky_HALud replied ago:

0 votes Vote down Vote up Reply

PHP namespaces are a must-have. No one disagrees. But not namespace aliases. This snippet blew off my mind:

use Zend::Auth::Adapter::Http::Resolver as HttpResolver;

So basically you can rename the Resolver class into something to your liking, but only in the context of a single PHP file (or code region?). It looks to me like yet another "cool but maintenance nightmare" candidate feature.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (13)



Voters Against This Link (0)