downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

zend_version> <zend_logo_guid
[edit] Last updated: Fri, 24 Jun 2011

view this page in

zend_thread_id

(PHP 5)

zend_thread_idبازگرداندن شناساگر منحصر بفرد رشته فعلی

Description

int zend_thread_id ( void )

این تابع شناساگر منحصر بفرد نسخه فعلی را باز می‌گرداند.

Return Values

بازگرداندن id رشته به عنوان عدد صحیح.

Examples

Example #1 مثال zend_thread_id()

<?php
$thread_id 
zend_thread_id();

echo 
'Current thread id is: ' $thread_id;
?>

The above example will output something similar to:

Current thread id is: 7864

Notes

Note:

این تابع تنها اگر PHP به همراه پشتیبانی ZTS (Zend Thread Safety) و حالت رفع خطای (--enable-debug) ساخته شده باشد موجود است.



add a note add a note User Contributed Notes zend_thread_id - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites