Skip to content

Instantly share code, notes, and snippets.

View function.rfc3986_validate_uri.php
<?php
function rfc3986_validate_uri($uri)
{
// Play around with this regexp online:
// http://regex101.com/r/hZ5gU9/1
$regex = '/
# URI scheme RFC 3986 (http://tools.ietf.org/html/rfc3986)
You can’t perform that action at this time.