Menu

#19 false positive : assigning with empty

open
nobody
None
5
2013-02-28
2013-02-28
Anonymous
No

as the empty functiun returns a boolean, it should be considered as securing when used in assignments.
code example :
$myVariable = empty($myInsecureArray);

Discussion


Log in to post a comment.

MongoDB Logo MongoDB