<?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>Tue, 21 May 2013 16:21:51 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[David Soria Parra's Blog: PHP 5.3.99-dev and DTrace Part I]]></title>
      <guid>http://www.phpdeveloper.org/news/14436</guid>
      <link>http://www.phpdeveloper.org/news/14436</link>
      <description><![CDATA[<p>
As <i>David Soria Parra</i> mentions in a recent post to his blog, the DTrace functionality <a href="http://blog.experimentalworks.net/2010/04/php-5-3-99-dev-and-dtrace-part-i/">has been backported</a> to the PHP 5.3 branch and gives developers a bit more information about what's happening inside their applications.
</p>
<blockquote>
For those not following the PHP development. We backported the DTraces probes from the abandoned PHP 6.0 branch, back to the new trunk PHP 5.3.99-dev. It is called 5.3.99 because the PHP dev community has not decided yet on a version number (5.4 or 6.0).
</blockquote>
<p>
He gives the configure line to get it working on Solaris and Mac OSX and a sample line of code to ensure everything's working correctly. The results show the full execution of the example. This functionality can replace <a href="http://pecl.php.net/package/DTrace">this extension</a> from the PECL repository.
</p>]]></description>
      <pubDate>Thu, 29 Apr 2010 12:17:32 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Rob Thompson's Blog: PHP and Solaris - getcwd() Behavior]]></title>
      <guid>http://www.phpdeveloper.org/news/9022</guid>
      <link>http://www.phpdeveloper.org/news/9022</link>
      <description><![CDATA[<p>
<i>Rob Thompson</i> <a href="http://rob.sun3.org/php-code/php-and-solaris-getcwd-behavior/">passed along</a> some information that PHP users running on Solaris might want to check out - the slightly buggy behavior of the PHP getcwd function on the platform.
</p>
<blockquote>
Many functions within the PHP codebase relied upon a universally working getcwd() [C] call to expand paths and to find out where a script is being executed. In particular, Solaris does not assume that getcwd() is a privilege that should be granted to users in directories that don't have 'r' (read) permission, even if it has 'x' (execute) permissions. [...] Under Linux, getcwd() behaves normally but under Solaris, getcwd() does not work with the --x restrictive permissions.
</blockquote>
<p>
He does note, happily, that this issue is <a href="http://rob.sun3.org/php-code/php-and-solaris-getcwd-behavior/">cleared up with an upgrade</a> to PHP 5.2.5 as soon as possible. He had code snippets included in the post so you can test your installation for the problem too.
</p>]]></description>
      <pubDate>Mon, 12 Nov 2007 13:47:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Bob Majdak's Blog: Compile That PHP-GTK2, and More]]></title>
      <guid>http://www.phpdeveloper.org/news/8981</guid>
      <link>http://www.phpdeveloper.org/news/8981</link>
      <description><![CDATA[<p>
The PHP-GTK Community site has pointed out a work-in-progress <a href="http://phpgtk.opsat.net/doc/gtk/compile-from-source.html">guide to compiling PHP-GTK2</a> from <i>Bob Majdak</i>:
</p>
<blockquote>
This document does not care about what distribution you use, these instructions will work on all shapes of Linux, FreeBSD, or Solaris. It is up to you to translate any line into the required line for your distribution. I will however tell you right now, if you are on Ubuntu and never done this before, you are missing pretty much every package you need.
</blockquote>
<p>
There is one platform that there's not instructions for, though - Windows. All of the other major platforms are presented. Tools needed to compile your own setup include Autotools, the usual make tools, GTK+, a recent version of PHP (5.2 or higher) and LibGlade.
</p>]]></description>
      <pubDate>Tue, 06 Nov 2007 10:23:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Tim Bray Explains Why Solaris in a Good Choice for PHP Developers]]></title>
      <guid>http://www.phpdeveloper.org/news/6542</guid>
      <link>http://www.phpdeveloper.org/news/6542</link>
      <description><![CDATA[<p>
Over on the Zend Developer Zone, <i>Cal Evans</i> shares part of a <a href="http://devzone.zend.com/node/view/id/1097">mini-interview</a> (one question, really) where <i>Cal</i> asked <i>Tim</i> about Solaris as a hosting and development platform for PHP.
</p>
<blockquote>
Tim will be at <a href="http://www.zendcon.com/">ZendCon</a> this year participating in a panel discussion titled "How Do The Stacks Stack Up?" I talked with Tim by phone because I was curious why PHP developers should consider Solaris as a development and deployment environment. Here's what Tim had to say.
</blockquote>
<p>
His answer was based around three main points - observability, virtualization "stuff", and the ZFS filesystem all Solaris systems come installed with. And, of course, he explains the thought process behind each (briefly).
</p>]]></description>
      <pubDate>Fri, 20 Oct 2006 09:51:56 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Wez Furlong's Blog: Undefined Behaviour]]></title>
      <guid>http://www.phpdeveloper.org/news/5264</guid>
      <link>http://www.phpdeveloper.org/news/5264</link>
      <description><![CDATA[<p>
Spurred on by some comments made in a thread on the php internals mailing list, <i>Wez Furlong</i> has posted <a href="http://netevil.org/node.php?nid=808">this new item</a> on his blog to help clear up some of the confusion around some "undefined behaviour" in the PDO libraries.
</p>
<quote>
<i>
<p>
In <a href="http://news.php.net/php.internals/22994">this</a> <a href="http://news.php.net/php.internals/23000">thread</a> <a href="http://news.php.net/php.internals/23001">on the</a> <a href="http://news.php.net/php.internals/23002">php internals</a> list, Kevin is asking why the handling of whitespace in certain PDO DSNs is inconsistent. I go on to point out that the manual doesn't say anything about whitespace in DSNs, and that all the documented examples have no whitespace around the DSN parameters.
</p>
<p>
This is an example of undefined behaviour. The PHP manual doesn't define what happens when you put whitespace in there. That doesn't tell you anything at all about whether you should or should not do that. It might work now, and it might work next week. In 6 months time, when you application is widely deployed and someone changes an apparently unrelated part of their system, it might NOT work and might result in someone getting paged at 3am trying to figure out what the mysterious problem is.
</p>
</i>
</quote>
<p>
<i>Wez</i> goes on to mention that there are some issues with this in the Solaris manual pages as well, as based on others running into this same sort of problem. The realy key here, though, is how the documenttion is defined. Developers, in his opinion, show always treat situations that aren't expressly defined by the manual as a "situation is undefined" rather than making their own expectations.
</p>]]></description>
      <pubDate>Sat, 29 Apr 2006 07:59:43 -0500</pubDate>
    </item>
  </channel>
</rss>
