Parse a DOM with Goutte

Code
<?php

use Goutte\Client;
use 
Symfony\Component\DomCrawler\Link;

$client = new Client();

$crawler $client->request('GET''https://bing.com');

$links $crawler->filter('ul a')->links();

/** @var $link Link */
foreach ($links as $link) {
    
printf('<p>%s - <b>%s</b></p>'$link->getUri(), $link->getNode()->nodeValue);
}
Result

https://www.bing.com:443/images?FORM=Z9LH - Bilder

https://www.bing.com:443/videos?FORM=Z9LH1 - Videos

https://www.bing.com:443/maps?FORM=Z9LH2 - Karten

https://www.bing.com:443/news/search?q=news+for+you&FORM=Z9LH3 - News

https://www.bing.com:443/?toWww=1&redig=AADA549620BF48CA9FCC05B6622B492C# - |

https://www.msn.com/?ocid=BHEA000 - MSN

https://www.office.com?WT.mc_id=O16_BingHP - Office

https://office.live.com/start/Word.aspx?WT.mc_id=O16_BingHP - Word

https://office.live.com/start/Excel.aspx?WT.mc_id=O16_BingHP - Excel

https://office.live.com/start/PowerPoint.aspx?WT.mc_id=O16_BingHP - PowerPoint

https://www.onenote.com/notebooks?WT.mc_id=O16_BingHP - OneNote

https://sway.office.com?WT.mc_id=O16_BingHP&utm_source=O16Bing&utm_medium=Nav&utm_campaign=HP - Sway

https://onedrive.live.com/?gologin=1&WT.mc_id=O16_BingHP - OneDrive

https://calendar.live.com/?WT.mc_id=O16_BingHP - Kalender

https://outlook.live.com/owa/?path=/people&WT.mc_id=O16_BingHP - Kontakte

https://outlook.com/?WT.mc_id=O16_BingHP - Outlook.com

https://www.bing.com:443/?toWww=1&redig=AADA549620BF48CA9FCC05B6622B492C# -

https://www.bing.com:443/?toWww=1&redig=AADA549620BF48CA9FCC05B6622B492C# -

https://www.bing.com:443/?toWww=1&redig=AADA549620BF48CA9FCC05B6622B492C# -

https://www.bing.com:443/?toWww=1&redig=AADA549620BF48CA9FCC05B6622B492C# -

https://www.bing.com:443/hpwp/3962f0d337fdab7ab2ca4172e6f036e2 -

https://go.microsoft.com/fwlink/?LinkId=521839 - Datenschutz und Cookies

https://go.microsoft.com/fwlink/?LinkID=246338 - Rechtliche Hinweise

https://go.microsoft.com/fwlink/?linkid=868923 - Werbung

https://go.microsoft.com/fwlink/?LinkID=286759 - Über unsere Werbung

https://go.microsoft.com/fwlink/?LinkID=617297 - Hilfe

https://www.bing.com:443/?toWww=1&redig=AADA549620BF48CA9FCC05B6622B492C# - Feedback

http://go.microsoft.com/fwlink/?LinkId=525994&clcid=0x407 - Impressum

http://help.bing.microsoft.com/#apex/18/DE/10013/-1/DE - Europäische Datenschutzrichtlinie

Used Versions
PHP 7.3, Zend 3.0, Symfony 4.3, Laravel 5.8, PHPUnit 8.0, Doctrine 2.10