string    mysqlnd_ms_get_last_gtid    ( mixed $connection   )

mysqlnd_ms_get_last_gtidReturns the latest global transaction ID

connection

A PECL/mysqlnd_ms connection handle to a MySQL server of the type PDO_MYSQL, mysqli> or ext/mysql. The connection handle is obtained when opening a connection with a host name that matches a mysqlnd_ms configuration file entry using any of the above three MySQL driver extensions.