Php function to determine if a string consist of only alphanumerical characters?

Is there a Php function to determine if a string consist of only ASCII alphanumerical characters?

Note: I'm sorry if the question sounds dumb to some, but I couldn't easily find such a function in the Php manual.

Answers


Try ctype_alnum


Need Your Help

SharePoint 2010 DateTime Culture Format Error

sharepoint datetime sharepoint-2010 cultureinfo

I'm trying to pass a Datetime to SharePoint list. For german datetime format it works, but it needs to be variable so i tried this:

Creating unique_ptr of non plain data in C++

c++ unique-ptr

The ptr constructors works with plain data but fails with objects: