Skip to content

MIR0221

Trace

This is an internal diagnostic. Internal/debug output of the @trace annotation, showing the inferred type of an expression. Not a project diagnostic.

<?php
/** @trace $x */
$x = 42; // Trace: int

This is a debugging aid for fixtures; remove the @trace annotation to silence it.