Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
Stringy
Stringy
isAlphanumeric
Stringy\Stringy::isAlphanumeric PHP Method
Stringy Class Documentation
Exibir arquivo
Open project: danielstjules/stringy
isAlphanumeric()
public
method
Returns true if the string contains only alphabetic and numeric chars, false otherwise.
public
isAlphanumeric
( ) :
boolean
return
boolean
Whether or not $str contains only alphanumeric chars
public function isAlphanumeric() { return $this->matchesPattern('^[[:alnum:]]*$'); }
Stringy
__construct
__toString
append
applyPadding
at
between
camelize
chars
charsArray
collapseWhitespace
contains
containsAll
containsAny
count
countSubstr
create
dasherize
delimit
endsWith
ensureLeft
ensureRight
eregReplace
first
getEncoding
getIterator
hasLowerCase
hasUpperCase
htmlDecode
htmlEncode
humanize
indexOf
indexOfLast
insert
isAlpha
isAlphanumeric
isBase64
isBlank
isHexadecimal
isJson
isLowerCase
isSerialized
isUpperCase
last
length
lines
longestCommonPrefix
longestCommonSubstring
longestCommonSuffix
lowerCaseFirst
matchesPattern
offsetExists
offsetGet
offsetSet
offsetUnset
pad
padBoth
padLeft
padRight
prepend
regexEncoding
regexReplace
removeLeft
removeRight
repeat
replace
reverse
safeTruncate
shuffle
slice
slugify
split
startsWith
substr
supportsEncoding
surround
swapCase
tidy
titleize
toAscii
toBoolean
toLowerCase
toSpaces
toTabs
toTitleCase
toUpperCase
trim
trimLeft
trimRight
truncate
underscored
upperCamelize
upperCaseFirst