-
-
Save KrotovRoman/b9539068a300c93baecfaf7d02ad7fb1 to your computer and use it in GitHub Desktop.
проверить является ли строка URL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if (filter_var($data_text, FILTER_VALIDATE_URL) === FALSE) { | |
| echo "no"; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment