<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Thu, 20 Jun 2013 05:41:31 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[PHPFreaks.com: Regular Expressions (Part1) - Basic Syntax]]></title>
      <guid>http://www.phpdeveloper.org/news/11193</guid>
      <link>http://www.phpdeveloper.org/news/11193</link>
      <description><![CDATA[<p>
PHPFreaks.com has posted <a href="http://www.phpfreaks.com/tutorial/regular-expressions-part1---basic-syntax">part one</a> of a series of tutorials covering some of the basics of one of the more powerful features in any language - regular expression support.
</p>
<blockquote>
Regular expressions (which will now be referred to as "regexes") are basically pattern matching inside of text. They use special syntax and concepts in order to obtain information from a string. Many programming languages have some sort of support for regexes, because of the sheer usefulness of them. Not only can patterns be used to validate that a certain pattern exists in a string, but they can also be used to physically extract matched portions and make them usable in your PHP code.
</blockquote>
<p>
They look at some of the basics - example structure, metacharacters, greediness as well as include a brief comparison of PCRE versus POSIX versions. The tutorial is peppered with plenty of example expressions too, giving you a good idea of what you're working towards knowing.
</p>]]></description>
      <pubDate>Mon, 13 Oct 2008 09:35:48 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[EdFinkler's Blog: Determining if a function is *really* available in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/7523</guid>
      <link>http://www.phpdeveloper.org/news/7523</link>
      <description><![CDATA[<p>
In <a href="http://funkatron.com/wp/archives/php/determining-if-a-function-is-really-available-in-php/">this new post</a> to his blog, <i>Ed Finkler</i> talks about some tests he worked up to discover if a function is available in PHP or not while working on the latest version of <a href="http://phpsecinfo.com/">PHPSecInfo</a>).
</p>
<blockquote>
is_callable() will return TRUE even if a function has been disabled in php.ini with disabled_functions (which, in my mind, is contrary to what 'is_callable' implies). function_exists() will return FALSE if the function is disabled in php.ini, but will return TRUE if the function is being blocked by safe_mode.
</blockquote>
<p>
So, to help counter these issues, he checks first to see if the exec('id') option works - checking it work function_exists and the setting for safe_mode (disabled). If it doesn't pass, he moves on to the posix_* function and tests then with a function_exists.
</p>]]></description>
      <pubDate>Thu, 29 Mar 2007 07:02:14 -0500</pubDate>
    </item>
  </channel>
</rss>
