function get_data()
{
$site_url = site_url();
return array('empty_url' => array('', false), 'data_url' => array('data:image/gif;base64,R0lGODl...', false), 'protocol-less_url' => array('//example.com/file.jpg', 'http://example.com/file.jpg'), 'path_only' => array('/path/to/file.png', $site_url . '/path/to/file.png'), 'query_only' => array('?file=file.png', $site_url . '/?file=file.png'), 'path_and_query' => array('/path/file.jpg?query=1', $site_url . '/path/file.jpg?query=1'), 'normal_url' => array('https://example.com/path/to/file.jpg', 'https://example.com/path/to/file.jpg'));
}