PHP QA test driver
Fix DB-2876
remove unnecessary global values
Fix DB-2876