I don't know if this is a bug or a feature, but... The code below works with PHP 4, but gives an error in PHP 5.
Classes have to be defined before they are used in PHP5.
- Chris
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php