Fix test for yp_master
Fix php bug #60285

Prior to PHP 5.5, REPORT_EXIT_STATUS will not work.