<?php class FooBar { public function __construct() { echo "FooBar: instantiated.<br/>"; } }
info at phpclasses dot org