Method: url::valid

Checks for a valid URL

Info

Syntax

url::valid($url)

Parameters

Return (boolean)

Example


echo url::valid('http://testurl.com/');
// output: true