update : 2015.11.03
php.shukuma.com검색:
|
mysqli::$thread_idmysqli_thread_id(PHP 5) mysqli::$thread_id -- mysqli_thread_id — Returns the thread ID for the current connection 설명객체 기반 형식 int $mysqli->thread_id;
절차식 형식 The mysqli_thread_id() function returns the thread ID for the current connection which can then be killed using the mysqli_kill() function. If the connection is lost and you reconnect with mysqli_ping(), the thread ID will be other. Therefore you should get the thread ID only when you need it.
반환값Returns the Thread ID for the current connection. 예제Example #1 $mysqli->thread_id example 객체 기반 형식
<?php 절차식 형식
<?php 위 예제들의 출력: Error: MySQL server has gone away |