> For the complete documentation index, see [llms.txt](https://joungkyun.gitbook.io/php-mod_korean-extension-reference/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://joungkyun.gitbook.io/php-mod_korean-extension-reference/apis/check/is_url_lib.md).

# is\_url\_lib

## Proto type

```c
int is_url_lib (string url)
```

## Description

url 이 정확한 것인지 검사하는 함수. url 이 맞으면 url 을 리턴하고 틀리면 null 값을 리턴한다.

## Arguments

* (string) url - 체크를 하기 위한 URL

## Example

```php
<?php
$url = 'htt://oops.org';
$url = is_url_lib ($url);
if ( ! $url ) {
    echo "Invalid URL\n";
    exit;
}
?>
```

## See also

* [is\_email\_lib ()](https://github.com/joungkyun/php-mod_korean-extension-reference/tree/b5398f11118bd0b91db16b0f7beb7a37178353fd/Check/Check/is_email_lib.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://joungkyun.gitbook.io/php-mod_korean-extension-reference/apis/check/is_url_lib.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
