Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 218 Bytes

UnusedFunctionCall.md

File metadata and controls

11 lines (8 loc) · 218 Bytes

UnusedFunctionCall

Emitted when --find-dead-code is turned on and Psalm finds a function call whose return value is not used anywhere

<?php

$a = strlen("hello");
strlen("goodbye"); // unused
echo $a;