A simple registry pattern demonstrated in PHP.