1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-12 09:19:40 +01:00
psalm/docs/running_psalm/issues/TaintedHtml.md
2020-11-17 16:03:50 -05:00

208 B

TaintedHtml

Emitted when user-controlled input can be passed into to an echo statement.

<?php

$name = $_GET["name"];

printName($name);

function printName(string $name) {
    echo $name;
}