Exemplo n.º 1
0
<?php

$d = "worse ";
$e = "great";
fb_set_taint($e, 0x1);
$f = $d . $e;
fb_unset_taint($f, 0x1);
echo $e;
// tainted
echo $f;
// not tainted
Exemplo n.º 2
0
<?php

$a = "bad";
fb_set_taint($a, 0x1);
$c = $a . "good";
echo $c;
// tainted
fb_unset_taint($c, 0x1);
echo $c;
// not tainted