--TEST-- For output string parameter crash when output variable is set initially to null --SKIPIF-- --FILE-- '.$guid."<\n"; while (sqlsrv_next_result($stmt) != null) { } echo 'New Guid: >'.$guid."<\n"; ?> --EXPECTREGEX-- New Guid: \>.+\< New Guid: \>[0-9A-F]{8}\-[0-9A-F]{4}\-[0-9A-F]{4}\-[0-9A-F]{4}\-[0-9A-F]{12}\<