--TEST-- output string parameter fix to make sure the correct length is set. --SKIPIF-- --FILE-- '.$guid."<\n"; while (sqlsrv_next_result($stmt) != null) { } echo 'New Guid: >'.$guid."<\n"; ?> --EXPECTREGEX-- New Guid: \>test\..*\< New Guid: \>[0-9A-F]{8}\-[0-9A-F]{4}\-[0-9A-F]{4}\-[0-9A-F]{4}\-[0-9A-F]{12}\<