UUID ==== Generates an Universally Unique Identifier (`UUID `_) v4. Parameters .......... :: UUID($b=null) :$b: If true will return the UUID in binary, removing the dashes so that you can store it on a DB using column data type binary(16). Examples ........ .. code-block:: php :linenos: UUID(); echo $db->UUID(true); Example storing UUID as binary(16): .. code-block:: php :linenos: :emphasize-lines: 12 UUID(); $db->PExecute("INSERT INTO table (post, uuid) VALUES(?, UNHEX(REPLACE(?, '-', '')))", json_encode($_POST), $uuid); Example converting from binary(16) to original UUID format chat(36): .. code-block:: php :linenos: :emphasize-lines: 12 FetchMode('ASSOC')->getCol($sql); .. seealso:: `MySQL string functions `_.