public
boolean
|
#
validate( string $data )
Parameters
Returns
boolean
Assert("*")
=== false
Assert("-")
=== false
Assert("4.1.2")
=== false
Assert("a")
=== false
Assert("abandoned")
=== true
Assert("adjudication")
=== true
Assert("asdf")
=== false
Assert("death")
=== true
Assert("emergency")
=== true
Assert("human")
=== false
Assert("normal")
=== true
Assert("person")
=== false
Assert("program")
=== false
Assert("rules
infraction") === true
Assert("software")
=== false
Assert("time
forfeit") === true
Assert("unterminated")
=== true
Assert(3.1)
=== false
Assert(null)
=== false
Overrides
|