protected function sec_callbacks($pos)
{
$o = $this->node->tokens;
$t = $o[$pos];
$this->report('INF_UNSECURE', $t[1], $t[2]);
foreach ($this->sec_5[$t[1]] as $_) {
$p = 0;
$i = $pos;
while ($o[++$i][0] != T_PARENTHESIS_CLOSE) {
if (in_array($o[$i][1], $this->uvars)) {
/* In callback position */
if ($p == $_) {
$this->report('SEC_ERROR_CALLBACK', $t[1], $t[2]);
}
}
$p++;
}
/* Last position */
if (in_array($o[$i - 1][1], $this->uvars) && $_ == -1) {
$this->report('SEC_ERROR_CALLBACK', $t[1], $t[2]);
}
}
}