return $wpdb->v;
    //error 2 -solved
}
function ffftainted(&$v)
{
    global $wpdb;
    $v = 33;
    $wpdb->print_me();
    $wpdb = new wpdb();
    $wpdb->v = 1122;
}
$wpdb = new wpdb();
$ret = fffuntainted();
echo "value returned: " . $ret * 33 . "\n";
ffftainted($a);
$wpdb->print_me();
fffuntainted();
function add_shortcode($tag, $func)
{
    global $gl1;
    global $stupid;
    global $stupid_in;
    $stupid_in = 33;
    //        require_once("test_partial_basic_p2".".php");
    //        require "test_partial_basic_p2.php";
    echo "\$stupid that was defined externally: " . $stupid * 3 . "\n";
    if (is_string($func)) {
        $gl1 = array($tag => $func);
        return;
    }
}