<?php namespace Foo; class BarNS { public function __construct() { echo '\Foo\BarNS: instantiated.<br/>'; } }
info at phpclasses dot org