Objects
Setup of Objects
Abstract
Interface
Reference
Built in
Functions
Private
Protected
Abstract
Final
Variables
Private
Protected
Constant
Others
Try/Catch
instanceof
Call
Type
Autoload
Change Log
This site
Zend
Resources
Resources
PHP5 is comming closer and closer, and with that the Zend engine2.0 will change on how PHP handles OOP.
To be ready for this I have made a overview of the new features that will be available when PHP5 finally arrives. I am also looking into creating extentions for PHP, and when my C skills gets a bit better I will try to digg through the source of the Zend enging and figure out what is what there. But for now I have some examples that should show you how the new features will affect you as a programmer when PHP5 arrives.
Personally I think that with this version PHP finally will have some features that I have been missing for as long as I have coded with it, so this is a very interesting version that will take PHP a bit further when it comes to better and clearer code.
I have picked up on the new features from the examples available from the source distribution of PHP5 from php.net [snaps.php.net]. Take a look in the ZEND_CHANGES file in the Zend/ directory.
The information here is just for experimentation, as I do not know what feature will change/dissappear, but I will keep it up to date as the release cycle continiues. Some error messages will most likely change, but I\'ll take that into consideration at a later point, any error messages here come from a standard compile from the snaps page.
位址
http://www.phpvolcano.com/articles/php5/index.php
|