copies

PHP: Comparing Object Structures

Tech article about evaluating object structures in PHP which also explains when, and how, to use the "===" operator.  I implemented this technique in a factory model to determine which template class to instantiate post-validation of the comparison of the input structure.