I've written some code for PHP5, and deployed it to a production server and I saw an error that I'd never seen before.
PHP 5 Code:
The problem is that PHP 4 has a different syntax for classes. The code above is PHP 5 valid, but not PHP 4. A valid version of its PHP 4 equivalent is this:
PHP 4 Code: