Thread::getCurrentThreadIdIdentification Description
public static integer Thread::getCurrentThreadId
( void
)
Will return the identity of the currently executing Thread ParametersThis function has no parameters. Return ValuesA numeric identity Examples
Example #1 Return the identity of the currently executing Thread
<?php The above example will output: My is Thread #123456778899 |