Thread::getCurrentThreadId
En esta página
Thread::getCurrentThreadId
Identificación
Descripción#
public static Thread::getCurrentThreadId(): int
```php
Se devuelve la identidad del hilo actualmente en ejecución
## Parámetros
Esta función no contiene ningún parámetro.
## Valores devueltos
Una identidad numérica
## Ejemplos
Se devuelve la identidad del hilo actualmente en ejecución
```php
El ejemplo anterior mostrará:
My es Hilo #123456778899