Topic: test whether the web is available to local php

Hello mowes friends,

I am using php to fetch external data (via non-local internet) from one of my online websites.

Mowes is not necessarily connected towards "outer world", and I would like to add a test in the php-script, whether the Web is available for local MOWES-PHP or not.

How should this be done?

Thank you.