Vulny-Code-Static-Analysis/vulns/assert-use.php

11 lines
134 B
PHP
Raw Normal View History

2022-04-30 13:00:48 +00:00
<?php
// ruleid: assert-use
assert($user_input);
// ok: assert-use
assert('2 > 1');
// todook: assert-use
assert($user_input > 1);