Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Voodoo
Core
Helpers
validIP
Voodoo\Core\Helpers::validIP PHP Method
Helpers Class Documentation
Show file
Open project: voodoophp/voodoo
validIP()
public
static
method
public
static
validIP
(
$str
)
public static function validIP($str) { return preg_match("/\\d{1,3}(?:\\.\\d{1,3}){3}/", $str); }
Helpers
CompressOutput
TimeZoneList
arrayExtend
arrayFlatten
arrayToDotNotation
array_merge_recursive_distinct
array_msort
calculateDistance
camelize
convertCm2In
convertCm2M
convertIn2Cm
convertIn2Ft_human
convertM2Cm
countWords
createTagCloud
curlRequest
dasherize
dateDifference
excerpt
filterDirtyWords
formatDate
formatInvoice
formatPhoneNumber
formatTweets
generatePathFromSequencedNumber
generateRandomString
getAge
getArrayDotNotationValue
getDomain
getJsonLastError
getNonce
getPastDateRange
multiArraySearch
number_format_HumanReadable
paginationGetMaxLimit
paginationGetMinLimit
paginationGetTotalPages
recursiveCopy
recursiveDelete
removeRepetitiveChar
removeUrl
seconds2Time
setArrayToDotNotation
strPossessive
stripHtmlComments
time2Seconds
timeSince
timeSince_read
toCurrency
toFriendlyUrl
toUnderscore
truncate
validEmail
validIP
validLogin
validPassword
validUrl
validZipCode