PHP » GoLang |
login |
register |
about
|
GoLang Thread::getCurrentThread
request it (502)
GoLang replacement for PHP's Thread::getCurrentThread
[edit | history]
Thread::getCurrentThread(PECL pthreads >= 2.0.0) Thread::getCurrentThread — Identification DescriptionReturn 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
<?phpThe above example will output:
object(My)#2 (0) {
}
|
more
Most requested
more
Last requests
|