Efficient and versatile PHP Implementation of Friend Classes Pattern (works in PHP5.2.x also)