Why does the message "Do not access superglobal array directly" appear?

0

How can I use the array $_GET without this problem (Netbeans), since even when I use it this way it gives an error:

$var = isset($_GET['variavel'])?filter_var($_GET['variavel'], FILTER_SANITIZE_NUMBER_INT): false;
    
asked by anonymous 16.06.2017 / 16:42

0 answers