|
Тема |
PHP - The Way Ahead |
|
Автор |
AcidMemory (minimalist) |
|
Публикувано | 03.07.01 10:23 |
|
|
Znae se weche kakwi ste sa nowite extri na Zend Engine-a, qdroto na PHP-to.
Java-ta weche moje da pochwa da se glasi da go "duha" (sorry )
Zend Engine 2.0
The long-awaited announcement of the Zend Engine 2 roadmap is here. Although the feature list is not finalized -- and will definitely not appear in PHP until the next generation (PHP 5.0?) -- here is a quick overview of some of the functionality:
* The object model will get an overhaul, including:
-java-style handles for passing around data
-more consistent object returning
-better derefrencing support
-destructors
-cloning
-explicit deletion
* Classes will be enhanced by:
-more consistent constructors
-multiple inheritance
-private member (non-global) variables
-static class member variables.
* Exception handling (try/throw/catch)
* Better Object overloading support
* Specialized string offset syntax (deprecates array style)
NEW: pcntl extension
Jason Greene, author of the new pcntl extension mentioned in last week's summary, sent me an interesting e-mail explaining what we can expect from this exciting new code:
-pcntl is an extension for writing "daemons" (servers) for unix-like operating systems in PHP
-it currently supports fork()ing, as well as SIGnalling for inter-process communication (IPC)
-when combined with the sockets extension, you can easily develop a server that implements smtp, http, pop, irc, etc.
-the extension will only run if PHP is running in stand-alone (CGI/binary) mode
-it does not currently support Win32, though Jason believes it would be possible to do so (Win32 does not have POSIX fork() and signals)
-the code is still flagged as "experimental", though it is quickly becoming stable
|
| |
|
|
|