Thanks astro, I know you're right and I have been advised that before. But here is the structure I am building:
I have multiple objects that represent form elements (field, popup, etc). On refresh I want to validate the form, so I call a validator function/class to do the job. Within that class there is likely going to be some loops that traverse the list of form elements (an array called $elements) one by one and check them for various conditions (i.e. some value (required), or $this depends upon $that, or regex emails, etc). Presently all I can think to do is globalize each object one at a time to verify its contents are valid.
What do you think of this? Is there a better way?