* @param string name the name of the var to search
* @param mixed value the variable to return
* @param int search constant defining where to look
* @param string name the name of the var to search
* @param mixed value the variable to return
* @param int search constant defining where to look