|
Ryan McCue
Strict version in PHP 4?June 23, 2007 08:33PM |
|
Re: Strict version in PHP 4? June 23, 2007 08:34PM |
Admin Registered: 6 years ago Posts: 2,640 |
It's PHP 5 only. Note that "Strict" has nothing to do with HTML 4.01 Strict/Transitional.
HTML Purifier, Standards Compliant HTML Filtering
|
Ryan McCue
Re: Strict version in PHP 4?June 23, 2007 08:56PM |
|
Re: Strict version in PHP 4? June 23, 2007 09:09PM |
Admin Registered: 6 years ago Posts: 2,640 |
It's practically impossible to write portable code that is E_STRICT compliant for two main reasons:
1. is_a() is deprecated in favor of instanceof, which is PHP5-only 2. static methods must have the static keyword, which is PHP5-only
HTML Purifier, Standards Compliant HTML Filtering
|
Ryan McCue
Re: Strict version in PHP 4?June 23, 2007 09:16PM |
|
Re: Strict version in PHP 4? June 23, 2007 11:50PM |
Admin Registered: 6 years ago Posts: 2,640 |
Heh. OOP is a powerful thing, try it out some time.
Quote:Oh and one more thing. Can I steal your navigation CSS, since it's exactly what I need?
Of course. :-)
HTML Purifier, Standards Compliant HTML Filtering
|
Ryan McCue
Re: Strict version in PHP 4?June 24, 2007 08:26AM |