<?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>Fri, 09 Jan 2009 22:22:25 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[David Coallier's Blog: PHP Namespaces (Part 2: Namespace constants)]]></title>
      <guid>http://www.phpdeveloper.org/news/8532</guid>
      <link>http://www.phpdeveloper.org/news/8532</link>
      <description><![CDATA[<p>
Following up from his <a href="http://www.phpdeveloper.org/news/8492">previous post</a> about namespaces in the upcoming PHP6 version of the language, <i>David Coallier</i> has <a href="http://blog.agoraproduction.com/index.php?/archives/48-PHP-Namespaces-Part-2-Namespace-constants.html">posted part two</a>, a look at namespace constants.
</p>
<blockquote>
Hello all, welcome to that part 2 of PHP Namespace education. Again, Dmitry comes up with another patch that has been discussed a bit on the php.internals list and this patch gives us the ability to declare Namespace constants (just like a class constant).
</blockquote>
<p>
Included is some <a href="http://blog.agoraproduction.com/index.php?/archives/48-PHP-Namespaces-Part-2-Namespace-constants.html">versy simple code</a> that defines the constant with the "const" keyword and imports it via a packaged namespace using the double-colons.
</p>]]></description>
      <pubDate>Mon, 27 Aug 2007 08:58:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Ed Finkler's Blog: PHPSecInfo v0.2.1 now available]]></title>
      <guid>http://www.phpdeveloper.org/news/7579</guid>
      <link>http://www.phpdeveloper.org/news/7579</link>
      <description><![CDATA[<p>
<i>Ed Finkler</i> has <a href="http://funkatron.com/wp/archives/php/phpsecinfo-v021-now-available/">an announcement</a> about the latest release of the PHP security audit tool, PHPSecInfo, for version 0.2.1 today.
</p>
<blockquote>
<a href="http://phpsecinfo.com/">PhpSecInfo</a> v0.2.1 is now available. It's primarily a bugfix release, but a fairly significant one.
</blockquote>
<p>
<a href="http://phpsec.org/projects/phpsecinfo/CHANGELOG">Updates</a> include:
<ul>
<li>uid and gid tests now correctly test the user and group that PHP is executing as
<li>Changed upload_max_filesize and post_max_size return 'OK' if current value is equal to recommended value
<li>fixed nonstandard naming on some constants
<li>fixed XHTML validation issue
</ul>
</p>]]></description>
      <pubDate>Mon, 09 Apr 2007 07:36:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[WebReference.com: The Building Blocks: Data Types, Literals, Variables, and Constants - Part 2]]></title>
      <guid>http://www.phpdeveloper.org/news/7139</guid>
      <link>http://www.phpdeveloper.org/news/7139</link>
      <description><![CDATA[<p>
WebReference.com has posted <a href="http://www.webreference.com/programming/php/by_example2/index.html">part two in a series</a> looking at the "building blocks" that make up PHP and its use. This time, it's a look at the containers for your data - the data types, literals, variables, and constants.
</p>
<p>
They go through each, explaining what they are, how they're used and when you'd want to use them in your code. They explain the data types and how those fit with each "container" and some basic things like valid names and how to assign things correctly.
</p>
<p>
They even get <a href="http://www.webreference.com/programming/php/by_example2/index.html">get into</a> working with variables from GET and POST requests as well as working with the scope of variables and getting the metadata about them (is it an integer? is it empty?)
</p>]]></description>
      <pubDate>Mon, 22 Jan 2007 09:52:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPBuilder.com: BitMasks: Emulate Unix Permissions in PHP (Quickly)]]></title>
      <guid>http://www.phpdeveloper.org/news/5995</guid>
      <link>http://www.phpdeveloper.org/news/5995</link>
      <description><![CDATA[<p>
Permissions in Unix-based systems have become one of the standard models for development all over the world. They're simple to learn and use while being extremely powerful at the same time. In <a href="http://www.phpbuilder.com/columns/eric_potvin20060809.php3">this new article</a> (as contributed by <i>Eric Potvin</i>) from PHPBuilder.com today, they bring this power to the realm of PHP with bitmasks.
</p>
<blockquote>
Bitmasking is a very useful method to emulate Unix-style file permissions (read/write/execute for example). What's nice about a PHP implementation is that you can configure your own bitmasks and use them for any kind of permissions in your scripts and applications. The implementation is relatively simple as well.
</blockquote>
<p>
They <a href="http://www.phpbuilder.com/columns/eric_potvin20060809.php3">start by defining</a> a few of the permission levels (add/delete/denied) in PHP constants before showing the bitMask() function you can use to check a user's permissions. They also include some simple pseudo-code to show how it's used. For more information, check out the <a href="http://www.gen-x-design.com/archives/bitmasks-emulate-unix-permissions-in-php">complete article here</a>.
</p>]]></description>
      <pubDate>Wed, 09 Aug 2006 16:01:53 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: PHP Gotchas!]]></title>
      <guid>http://www.phpdeveloper.org/news/5232</guid>
      <link>http://www.phpdeveloper.org/news/5232</link>
      <description><![CDATA[<p>
The Zend Developer Zone has a <a href="http://devzone.zend.com/node/view/id/168">new post</a> for those out there struggling with the small stuff. You've got the language down and you're learning the syntax, but there's still a few things that elude your grasp. If this is you, check out <a href="http://devzone.zend.com/node/view/id/168">their list</a> of "PHP Gotchas" to see if your problem is on there.
</p>
<quote>
<i>
<p>
Call them obscure, call them pointless, call them "newb mistakes." Whatever you call them, you've more than likely been tripped up at some point in your PHP coding journey by seemingly odd or illogical behaviors of the language. With PHP being a loosely-typed language, funny things are bound to happen. 
</p>
<p>
PHP is an easy language to pick up for the casual coder--things should "just work." But not everyone comes into PHP development with a strong programming background, so here are some charming examples of ways PHP can trip you up if you aren't careful. Put on your thinking caps--here comes the science!
</p>
</i>
</quote>
<p>
Included in <a href="http://devzone.zend.com/node/view/id/168">their list</a> of common problems for budding PHP developers are things like finding a "needle" in a string "haystack", working with constants, using and/or, and the __toString functionality in PHP5.
</p>]]></description>
      <pubDate>Mon, 24 Apr 2006 12:49:58 -0500</pubDate>
    </item>
  </channel>
</rss>
