Thread::getCurrentThreadIdentification Description
public static Thread Thread::getCurrentThread
( void
)
Return a reference to the currently executing Thread ParametersThis function has no parameters. Return ValuesAn object representing the currently executing Thread Examples
Example #1 Return the currently executing Thread
<?php The above example will output: object(My)#2 (0) { } |