Just a few months after the major
release, Netcraft estimated that PHP had been installed on more than 3.6 million
domains.
PHP 4 added several enterprise-level improvements to the language, including
the following:
Improved resource handling: One of version 3.X??™s primary drawbacks was scalability.
This was largely because the designers underestimated how rapidly the
language would be adopted for large-scale applications. The language wasn??™t
originally intended to run enterprise-class Web sites, and continued interest in
using it for such purposes caused the developers to rethink much of the language??™s
mechanics in this regard.
Object-oriented support: Version 4 incorporated a degree of object-oriented
functionality, although it was largely considered an unexceptional and even poorly
conceived implementation. Nonetheless, the new features played an important role
in attracting users used to working with traditional object-oriented programming
(OOP) languages. Standard class and object development methodologies were
made available in addition to features such as object overloading and run-time
class information. A much more comprehensive OOP implementation has been
made available in version 5 and is introduced in Chapter 6.
Native session-handling support: HTTP session handling, available to version 3.X
users through the third-party package PHPLIB (http://phplib.
Pages:
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74