mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 12:55:26 +01:00
15 lines
190 B
Markdown
15 lines
190 B
Markdown
# Trace
|
|
|
|
Not really an issue. Just reports type of the variable.
|
|
|
|
```php
|
|
<?php
|
|
|
|
/** @psalm-trace $x */
|
|
$x = getmypid();
|
|
```
|
|
|
|
## How to fix
|
|
|
|
Use it for debugging purposes, not for production
|