/** * @dataProvider isAlphanumericProvider() */ public function testIsAlphanumeric($expected, $str, $encoding = null) { $result = S::isAlphanumeric($str, $encoding); $this->assertInternalType('boolean', $result); $this->assertEquals($expected, $result); }
public function isAlphanumeric($string) { return Stringy::isAlphanumeric($string); }