Array from preg_match_all Is Not Set

Am I doing something wrong here? The array from the preg_match_all is not set:

$TheData = preg_match_all("/\CDATA[(.*?)]]>/s", $Response, $url, PREG_SET_ORDER);
$testing = $url[1][0];
if(isset($testing)){
echo “array is set.”;
}else{
echo “array not set.”;
}

Sponsor our Newsletter | Privacy Policy | Terms of Service