mssql_guid_string(3) php man page | unix.com

Man Page: mssql_guid_string

Operating Environment: php

Section: 3

MSSQL_GUID_STRING(3)													      MSSQL_GUID_STRING(3)

mssql_guid_string - Converts a 16 byte binary GUID to a string

SYNOPSIS
string mssql_guid_string (string $binary, [bool $short_format = false])
DESCRIPTION
Converts a 16 byte binary GUID to a string.
PARAMETERS
o $binary - A 16 byte binary GUID. o $short_format - Whenever to use short format.
RETURN VALUES
Returns the converted string on success.
EXAMPLES
Example #1 mssql_guid_string(3) example <?php $binary = '19555081977808608437941339997619274330352755554827939936'; var_dump(mssql_guid_string($binary)); var_dump(mssql_guid_string($binary, true)); ?> The above example will output: string(36) "35353931-3035-3138-3937-373830383630" string(32) "31393535353038313937373830383630" PHP Documentation Group MSSQL_GUID_STRING(3)
Related Man Pages
ltrim(3) - php
class_alias(3) - php
sqlite_udf_decode_binary(3) - php
xdiff_file_bpatch(3) - php
xdiff_string_rabdiff(3) - php
Similar Topics in the Unix Linux Community
Please Welcome Don Cragun as Lead Moderator
Status of UNIX.COM Forum Transformation
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch