title: How to check if a string starts with "_" in PHP?
body: <p>Example: I have a <code>$variable = "_foo"</code>, and I want to make absolutely sure that $variable does not start with an underscore <code>"_"</code>. How can I do that in PHP? Is there some access to the char array behind the string?</p>