In che senso salta tutto?

codice:
$out = '';

preg_match_all("||U", $out, $matches);

print_r($matches);
a me sembra funzionare