Back to Psalm

FalseOperand

docs/running_psalm/issues/FalseOperand.md

6.16.1197 B
Original Source

FalseOperand

Emitted when using false as part of an operation (e.g. +, ., ^ etc.)

php
<?php

echo 5 . false; 

Why this is bad

false does not make sense in these operations