mirror of
https://github.com/danog/psalm.git
synced 2024-12-03 18:17:55 +01:00
09dd8c370f
I have used this once before then forgot how to do it, which is a shame because this is super handy.
277 B
277 B
Trace
Not really an issue. Just reports the type of a variable when using
@psalm-trace
.
<?php
/** @psalm-trace $x */
$x = getmypid();
How to fix
Use it for debugging purposes, not for production