Es war ein wenig heikles, aber ich herausfand es nd.
ob_start ();
var_dump ($newEntry);
$newEntryDump = ob_get_clean ();
$newEntryDumpStart = strpos ($newEntryDump, '
http://gdata.youtube.com/feeds/videos/')+38;
$error [„videoid“] = substr ($newEntryDump, $newEntryDumpStart
, 11);
ob_end_flush ();