Home arrow PHP arrow Page 3 - What to Expect in PHP 5.0

What to Expect in PHP 5.0

The discussions about the new PHP 5.0 release is rife in the web developer community. This article will highlight the key aspects of PHP's advances to improve your web application's functionality.

Author Info:
By: Ben Shepherd
Rating: 4 stars4 stars4 stars4 stars4 stars / 8
April 03, 2003
  1. · What to Expect in PHP 5.0
  2. · A Bit of PHP History
  3. · PHP 5.0 Will Take the World by Storm
  4. · Conclusion

print this article

What to Expect in PHP 5.0 - PHP 5.0 Will Take the World by Storm
(Page 3 of 4 )

The Zend website gives a summary and tutorials on using the Zend 2.0 Engine with the latest PHP 5.0 release. Many articles you will read about PHP 5.0 will inform you to the great new OO (Object Orientated) ideology, which will make PHP much stronger and efficient, especially when it comes to large scaled application development.

In the Zend 2.0 Engine, Object has been treated much differently with the thanks to Andi Gutmans. Objects now will be treated as object handles, which will be given an index in a global table.

This brings up an important fact and should not be confused. The fact that is being referred to here is that the Object handles will be passed by their value in the index table. This is not saying that the objects are being passed by value. The result is quite the contrary. This new feature means that object handles will be passed by value and objects will be passed by reference.

Now PHP will be acting like a true OO language with this latest release. Objects behaving like objects will now benefit the end users, by providing better overall functionality of the application. This means application will run faster and the problems in relation to object orientation are reduced substantially. This means that large applications will be more coherent and more organised, easier to maintain and extend upon.

To assist PHP 5.0 with its new OO philosophy, Zend 2.0 have offered new features like private member variables and methods, static variables and language level aggregation. PHP will now be able to interact with external component models, such as Java, COM/DCOM, and .Net.

This means that PHP will be able to work within a Java and .Net environment, since the components in these languages can be used transparently inside PHP, as if they were PHP components.

PHP 5.0 will use the same interface for all objects, including native objects. This ensures that all objects in the application (i.e. PHP objects and overloaded objects) will behave in a consistent manner.

If this wasn't enough to wet your appetite, PHP 5.0 will now have error handling capabilities so that your application can concisely inform the user of what the problem is, without all that cryptic error jargon and in a graceful manner, unlike previous versions.

blog comments powered by Disqus

- Removing Singletons in PHP
- Singletons in PHP
- Implement Facebook Javascript SDK with PHP
- Making Usage Statistics in PHP
- Installing PHP under Windows: Further Config...
- File Version Management in PHP
- Statistical View of Data in a Clustered Bar ...
- Creating a Multi-File Upload Script in PHP
- Executing Microsoft SQL Server Stored Proced...
- Code 10x More Efficiently Using Data Access ...
- A Few Tips for Speeding Up PHP Code
- The Modular Web Page
- Quick E-Commerce with PHP and PayPal
- Regression Testing With JMeter
- Building an Iterator with PHP

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 

Developer Shed Affiliates


© 2003-2019 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials