|
member:
|
|||
A quick easy way to convert a PHP object to an array by using the (array) cast.
Use this class to measure how long it takes for a script or function to execute
A couple of quick examples of how to do a regular expression match in PHP.
Check a passed string is a valid e-mail format, does not truly check if it is a valid e-mail, just that it looks right.
Similar to htmlspecialchars but escapes a string for use in javascript, for example being passed as a variable.
How to send the appropriate HTTP status code programattically using PHP. There are a few scenarios you may want to do this. I'm using this for a 301 redirect code, for an RSS feed to let the bot know that the RSS feed is in a new location and to fetch fro...