Thread::getCurrentThread
En esta página
Thread::getCurrentThread
Identificación
Descripción#
public static Thread::getCurrentThread(): Thread
```php
Devuelve una referencia del hilo actualmente en ejecución
## Parámetros
Esta función no contiene ningún parámetro.
## Valores devueltos
Un objeto que representa el hilo actualmente en ejecución.
## Ejemplos
Devuelve el hilo actualmente en ejecución
```php
El ejemplo anterior mostrará:
object(My)#2 (0) {
}