<?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, 24 May 2012 04:33:44 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Lorna Mitchell's Blog: Missing pcre.h when installing pecl_oauth]]></title>
      <guid>http://www.phpdeveloper.org/news/15192</guid>
      <link>http://www.phpdeveloper.org/news/15192</link>
      <description><![CDATA[<p>
If you've ever come up against an error when trying to compile the <a href="http://pecl.php.net/package/oauth">pecl_oauth</a> package (from the PECL repository), you might take a look at <a href="http://www.lornajane.net/posts/2010/Missing-pcre.h-when-installing-pecl_oauth">this new post</a> from <i>Lorna Mitchell</i> on how she solved the issue and got the compile running smoothly again.
</p>
<blockquote>
When I tried to install from PECL, it grabbed the files, ran the configure step but stopped with an error status during make. [...] Closer inspection showed this line around the point things started to go wrong: Error [...] pcre.h: No such file or directory. I didn't have the header files for pcre installed - in ubuntu the headers are in the -dev packages.
</blockquote>
<p>
A quick call to "aptitude" to grab and install those development libraries and she was back up and running. She's running Ubuntu, but this tip is cross-distribution - you'll just have to use the package manager (and package name) of your distribution's choice.
</p>]]></description>
      <pubDate>Mon, 27 Sep 2010 12:58:50 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Padraic Brady's Blog: PCRE Regex Word Matching: "w" vs "a-zA-Z0-9_"]]></title>
      <guid>http://www.phpdeveloper.org/news/13732</guid>
      <link>http://www.phpdeveloper.org/news/13732</link>
      <description><![CDATA[<p>
<i>Padraic Brady</i> has <a href="http://blog.astrumfutura.com/archives/430-PCRE-Regex-Word-Matching-w-vs-a-zA-Z0-9_.html">posted about</a> an issue he noticed when working with regular expressions and the "word" character type to find something that's alpha-numeric (including an underscore):
</p>
<blockquote>
You can find the "word" generic character type used in a lot of PHP code including the Zend Framework. The problem is that the assumption above is incorrect. Now, most of the time these act identically because PHP is compiled using its own packaged PCRE library. However, I've seen more than once systems where this is not the case. Usually in some non-English capacity where additional locale support was considered necessary or standard practice.
</blockquote>
<p>
The problem comes when PHP is compiled against a custom PCRE library, making it more locale-aware. He gives instructions on how to get this to a testable state on your environment (using an <a href="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.00.tar.gz">updated PREC library</a>) and get it working for characters in French, like the accented "a" or "e".
</p>]]></description>
      <pubDate>Mon, 28 Dec 2009 09:41:21 -0600</pubDate>
    </item>
    <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[PHP.net: PHP 5.2.6 Released]]></title>
      <guid>http://www.phpdeveloper.org/news/10094</guid>
      <link>http://www.phpdeveloper.org/news/10094</link>
      <description><![CDATA[<p>
The PHP development team has released the latest version in the PHP 5.2.x series today - <a href="http://www.php.net/index.php#id2008-05-01-1">version 5.2.6</a>:
</p>
<blockquote>
This release focuses on improving the stability ofthe PHP 5.2.x branch with over 120 bug fixes, several of which are security related.All users of PHP are encouraged to upgrade to this release. Further details about the PHP 5.2.6 release can be found in the release announcement for 5.2.6, the full list of changes is available in the ChangeLog for PHP 5.
</blockquote>
<p>
Security updates include prevention of a buffer overflow in FastCGI mode, an integer overflow in printf, correction for a safe_mode bypass method in cURL and the bundling of PCRE 7.6 to update the regular expression functionality of the language.
</p>
<p>
You can grab this latest release from <a href="http://www.php.net/downloads.php">the downloads page</a> on PHP.net (or your favorite mirror) - both the source and the Windows binaries.
</p>]]></description>
      <pubDate>Fri, 02 May 2008 07:51:13 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Antony Dovgal's Blog: 5.3 snapshots are available]]></title>
      <guid>http://www.phpdeveloper.org/news/9718</guid>
      <link>http://www.phpdeveloper.org/news/9718</link>
      <description><![CDATA[<p>
<i>Antony Dovgal</i> <a href="http://daylessday.org/archives/14-5_3-snapshots-are-available.html">points out</a> that <i>Derick Rethans</i> has added the snapshots for PHP 5.3 to the <a href="http://snaps.php.net/">snaps.php.net</a> website.
</p>
<blockquote>
Short list of what you can find there: Namespaces, __callstatic() magic method, accessing static members through $foo::myFunc(), fully rewritten ini-parser with .htaccess-like user defined ini files for CGI/FastCGI, improved OpenSSL extension, PCRE 7.4, and other fixes and improvements that will never get into 5_2 branch.
</blockquote>
<p>
He recommends <a href="http://daylessday.org/archives/14-5_3-snapshots-are-available.html">teching throughly</a> before the major release to find all of the bug before the general public does. Builds for both <a href="http://snaps.php.net/php5.3-200802281130.tar.gz">source</a> and <a href="http://snaps.php.net/win32/php5.3-win32-200802201330.zip">Windows</a> systems have been posted.
</p>]]></description>
      <pubDate>Thu, 28 Feb 2008 09:33:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPWACT.org: Handling UTF-8 with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/9483</guid>
      <link>http://www.phpdeveloper.org/news/9483</link>
      <description><![CDATA[<p>
<i>Ed Finkler</i> has pointed out a handy resource for those trying to cope with using the UTF-8 support included in several of PHP's functions - <a href="http://www.phpwact.org/php/i18n/utf-8">this page</a> on the Web Application Component Toolkit wiki.
</p>
<blockquote>
This page is intended as a reference for functionality PHP provides which can either help with handling UTF-8 or should be regarded as a risk when used in conjunction with UTF-8 encoded strings. Further information can be found on the <a href="http://www.phpwact.org/php/i18n">Internationalization (I18N)</a> and <a href="http://www.phpwact.org/php/i18n/charsets">Character Sets / Character Encoding Issues</a> pages.
</blockquote>
<p>
It talks about the "dangerous" functionality PHP has (issues that the language has in current functions) when using things like the PCRE extension, the string extension, the array methods, handling variables, the XML extensions (DOM and SAX), image manipulation, and URL parsing functionality.
</p>]]></description>
      <pubDate>Thu, 24 Jan 2008 07:51:00 -0600</pubDate>
    </item>
  </channel>
</rss>

