<?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>Sun, 19 May 2013 13:43:36 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Johannes Schl&uuml;ter's Blog: Testing persistent connection and thread-safety features in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/17712</guid>
      <link>http://www.phpdeveloper.org/news/17712</link>
      <description><![CDATA[<p>
In <a href="http://schlueters.de/blog/archives/166-Testing-persistent-connection-and-thread-safety-features-in-PHP.html">this recent post</a> to his blog <i>Johannes Schl&uuml;ter</i> he talks about a way that he's come up with to test functionality that uses persistent connections (and an module he created to help).
</p>
<blockquote>
In a few rare cases this is not what people like, for that PHP introduced "persistent connections" of different kinds. Testing those is a bit annoying as you have to configure a webserver and ensure to hit the same instance over the course of a test and then use a load generator, probably one which can detect a failure. Additionally by having a webserver in the game there is more code being executed, which might mean an additional source for trouble while debugging. An alternative might be using FastCGI, while that adds it's own issues for such a test. To solve this for myself I, some time ago, wrote a PHP SAPI module called <a href="https://github.com/johannes/pconn-sapi">pconn</a> and pushed it to github. 
</blockquote>
<p>
The extension provides a way to emulate requests by executing a script multiple times automatically, making it easier to test things that require checking against multiple things simultaneously. While the <a href="http://us2.php.net/manual/en/features.commandline.webserver.php">built-in webserver</a> (PHP 5.4) can be used to test some of these things too, <i>Johannes'</i> extension can also be compiled to help with testing of threading in applications as well.
</p>]]></description>
      <pubDate>Thu, 22 Mar 2012 09:51:58 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Null and Empty Strings]]></title>
      <guid>http://www.phpdeveloper.org/news/11496</guid>
      <link>http://www.phpdeveloper.org/news/11496</link>
      <description><![CDATA[<p>
On DevShed today, there's a <a href="http://www.devshed.com/c/a/MySQL/Null-and-Empty-Strings/">new tutorial</a> posted looking at two things that can cause headaches for PHP developers (especially when evaluating and comparing values) - nulls and empty strings.
</p>
<blockquote>
Anyone who has programmed for any length of time has encountered the concepts of null and empty strings. They are not the same, and confusing the two can cause some serious problems. This article deals with these concepts in the context of PHP and MySQL.
</blockquote>
<p>
They start with a bit of a quiz before getting into how to handle them correctly - making null "safe" and working with it correctly in a MySQL context. SQL statements and table structures are included for their examples.
</p>]]></description>
      <pubDate>Wed, 03 Dec 2008 11:16:51 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Mike Lively's Blog: Late Static Binding (LSB) forward_static_call()]]></title>
      <guid>http://www.phpdeveloper.org/news/9939</guid>
      <link>http://www.phpdeveloper.org/news/9939</link>
      <description><![CDATA[<p>
On his blog, <i>Mike Lively</i> has <a href="http://www.ds-o.com/archives/69-Late-Static-Binding-LSB-forward_static_call.html">posted a look</a> at some of the work he's been doing on patches for the late static binding functionality to be included in PHP, including an example of the updates in action.
</p>
<blockquote>
This weekend I wrapped up a few small tests and sent the patch in and it was subsequently pushed to <a href="http://www.ds-o.com/exit.php?url_id=193&entry_id=69">php 5.3 and php 6.0</a>. Now, this is not at all the way I wanted things to work, in all honesty I think the patch is pretty hokey but unfortunately nobody really spoke up in support of the changes I wanted to make to parent:: in regards to LSB.
</blockquote>
<p>
His example shows how to override a static method and push that new method's execution to the parent class (in two ways - safe using forward_static_call and the not so safe calling itself with a parent:: override).
</p>]]></description>
      <pubDate>Wed, 09 Apr 2008 11:24:19 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Job Posting: MODE Visual Seeks PHP Developer (Charlotte, NC)]]></title>
      <guid>http://www.phpdeveloper.org/news/9550</guid>
      <link>http://www.phpdeveloper.org/news/9550</link>
      <description><![CDATA[<table cellpadding="3" cellspacing="2" border="0">
<tr>
	<td style="font-weight:bold;vertical-align:top;font-size:11px">Company</td>
	<td style="font-size:11px">MODE Visual</td>
</tr>
<tr>
	<td style="font-weight:bold;vertical-align:top;font-size:11px">Location</td>
	<td style="font-size:11px">Charlotte, NC</td>
</tr>
<tr>
	<td style="font-weight:bold;vertical-align:top;font-size:11px">Title</td>
	<td style="font-size:11px">Web Developer</td>
</tr>
<tr>
	<td style="font-weight:bold;vertical-align:top;font-size:11px">Summary</td>
	<td style="font-size:11px">
	<p>
	We're looking for a full-time onsite Web Developer with a focus in PHP. Alongside our Director of Technology, you will be driving a variety of web development projects combining front and back-end programming for national clients. We are a small design and interactive studio so there is tremendous opportunity for growth and diverse work for national clients and innovative brands.
	</p>
	<p>
	Tech Details<br/>
	You should be a person who constantly desires to stay up-to-date on development trends, technologies and innovations. You should be an expert in PHP/MySQL development in an MVC framework. You'll distinguish yourself if you have in-depth knowledge of multiple languages, platforms and technologies including:
	</p>
	<ul>
	<li>ASP.NET (2.0+)
	<li>JAVA
	<li>MySQL
	<li>Javascript (AJAX)
	<li>XHTML / CSS
	<li>Actionscript
	<li>Version control (Subversion/Git)
	</ul>
	<p>
	Other capabilities and experiences that are desired include: eCommerce experience, a web design sensibility, Flash skills and comfort with the Adobe CS Suite.
	</p>
	<p>Responsibilities</p>
	<ul>
	<li>Develop, maintain and support large, high-availability, web based internal applications and reporting tools; support high-traffic commercial websites
	<li>Interest in creating the next generation of interactive media applications
	<li>Research new platforms and architecture to support current and future business requirements
	<li>Ensure consistency and adherence to MODE's standards, processes, and policies for all projects.
	</ul>
	<p>Required Skills</p>
	</ul>
	<li>2+ years web development experience
	<li>experience in client facing communications
	<li>Computer Science degree or equivalent experience
	<li>Excellent analytical/problem solving skills, ability to think creatively and solve complex technical problems
	<li>Quality oral/written communication and interpersonal skills in order to effectively partner with the technologies and business communities
	<li>Ability to develop a clear understanding of client needs and plan applications to meet their needs.
	</ul>
	<p>As a MODE team member, you'll be rewarded with:</p>
	</ul>
	<li>A fun, friendly work environment
	<li>Competitive salary commensurate with experience
	<li>Casual dress code
	<li>Performance-based bonus
	<li>Generous paid vacation (19 floating days, 6 holidays)
	<li>100% employee covered medical benefits
	<li>Possible relocation assistance
	<li>Great North Carolina weather
	</ul>
	<p>If interested we ask that you write a cover letter including the following:</p>
	</ul>
	<li>Why you are right for our position
	<li>Your salary requirements
	<li>A set of 3 urls that demonstrate work you are most proud of including a brief description of your role on each project
	</ul>
	<p>
	Please send your cover letter and resume to jobs@modevisual.com with subject "Web Developer".
	</p>
	</td>
</tr>
<tr>
	<td style="font-weight:bold;vertical-align:top;font-size:11px">Link</td>
	<td style="font-size:11px"><a href="http://www.modevisual.com/beta/jobs/#WebDeveloper">More Information</a></td>
</tr>
</table>]]></description>
      <pubDate>Fri, 01 Feb 2008 13:31:38 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Andrei Zmievski's Blog: 50% There]]></title>
      <guid>http://www.phpdeveloper.org/news/6945</guid>
      <link>http://www.phpdeveloper.org/news/6945</link>
      <description><![CDATA[<p>
<i>Andrei Zmievski</i> has posted an <a href="http://www.gravitonic.com/blog/archives/000305.html">encouraging note</a> on his blog about the progress of PHP6 concerning the number of functions that have been correctly converted to support Unicode.
</p>
<blockquote>
Well, PHP boys and girls, this feels like quite a milestone: 50% of the 3084 functions that are bundled with PHP 6 have been upgraded to support and work safely with Unicode.
</blockquote>
<p>
He <a href="http://www.gravitonic.com/blog/archives/000305.html">includes a small chart</a> beside the post as well showing where things are currently at like the safe vs unsafe functions.
</p>]]></description>
      <pubDate>Wed, 20 Dec 2006 08:08:02 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Tobias Schlitt's Blog: Taint mode for PHP?]]></title>
      <guid>http://www.phpdeveloper.org/news/6934</guid>
      <link>http://www.phpdeveloper.org/news/6934</link>
      <description><![CDATA[<p>
<i>Tobias Schlitt</i> has a <a href="http://schlitt.info/applications/blog/index.php?/archives/516-Taint-mode-for-PHP.html">great (long) post</a> responding to <a href="http://news.php.net/php.internals/26979">a proposal</a> made on the php.internals mailing list for the inclusion of "taint mode" in upcoming PHP versions.
</p>
<p>
<i>Tobias</i> starts with an overview of what "taint mode" is so that everyone's on the same page. His example involves the incoming and outgoing data usually involved in an application and how the incoming can be the most problematic when it comes to the values inside. This is where taint mode can come to the rescue. At its most basic level, it's a method for, assuming everything coming in is "tainted", creating a mechanism to automatically clean the data before it's even touched.
</p>
<p>
With the <a href="http://schlitt.info/applications/blog/index.php?/archives/516-Taint-mode-for-PHP.html">basics down</a>, <i>Tobias</i> looks back to the proposal for a few additional comments. He considers <a href="http://news.php.net/php.internals/26979">the proposal</a> a great way to introduce the functionality to the language. There are some draw backs he mentions, though, including the additional overhead of working through every inputted value.
</p>
<blockquote>
Overall, I think this whole thing would be a great addition to PHP and I hope this could come for 6.0. What do you think?
</blockquote>
<p>
You can also check out some other opinions on the matter:
<ul>
<li><a href="http://moosh.et.son.brol.be/blog/index.php/2006/12/18/417-tainted-mode-pour-php">"Tainted mode" pour php</a> on the Kamelot Blog
</ul> 
</p>]]></description>
      <pubDate>Tue, 19 Dec 2006 11:03:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP 10.0 Blog: Production mode]]></title>
      <guid>http://www.phpdeveloper.org/news/6911</guid>
      <link>http://www.phpdeveloper.org/news/6911</link>
      <description><![CDATA[<p>
In an effort to get some thought going about ways to encourage security in PHP applications, <i>Stas</i> has posted <a href="http://php100.wordpress.com/2006/12/17/production-mode/">an idea</a> about a simplified php.ini setting - production=On.
</p>
<p>
His idea is that, with this setting on, the PHP installation would:
<ul> 
<li>disable display errors
<li>disable phpinfo()
<li>turn expose_php off
<li>make max_execution_time/memory_limit reasonable
<li>and possibly a few others that some developers forget to set correctly
</ul>
<a href="http://php100.wordpress.com/2006/12/17/production-mode/">Comments on the post</a> range from disagreement to suggestions on improvement and support.
</p>]]></description>
      <pubDate>Mon, 18 Dec 2006 08:43:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP Security Blog: The Suhosin Patch, File Uploads, and Stealth Mode]]></title>
      <guid>http://www.phpdeveloper.org/news/6825</guid>
      <link>http://www.phpdeveloper.org/news/6825</link>
      <description><![CDATA[<p>
On the PHP Security Blog, there's two new posts concerning their <a href="http://www.suhosin.org/">Suhosin patch</a> for PHP - one talking about a remote code execution vulnerability found in the <a href="http://blog.bitflux.ch/archive/2006/09/28/upload-progress-meter-extension-for-php-5-2.html">uploadprogressmeter extension</a> (which as already been corrected) and the other dealing with the "stealth mode" of the patch to find compatibility problems.
</p>
<p>
As mentioned, the issue with the <a href="http://pecl.php.net/package/uploadprogress">uploadprogress extension</a> has been fixed and as been introduced into the PECL repository. The <a href="http://blog.php-security.org/archives/57-Suhosin-0.9.16-with-Stealth-Mode.html">other post</a> just mentions what the patch is doing to try to keep compatibility problems from happening due to back extensions and/or modules being loaded in an application.
</p>
<p>
More details about the Suhosin patch can be found <a href="http://www.suhosin.org/">here</a>.
</p>]]></description>
      <pubDate>Tue, 05 Dec 2006 10:02:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Pierre-Alain Joye's Blog: Windows fixes release for Zip, fopen(,"rb") may not be binary safe]]></title>
      <guid>http://www.phpdeveloper.org/news/6777</guid>
      <link>http://www.phpdeveloper.org/news/6777</link>
      <description><![CDATA[<p>
A new release of the Zip PECL package has been made according to <a href="http://blog.thepimp.net/index.php/post/2006/11/28/Windows-fixes-release-for-Zip-fopenrb-may-not-be-binary-safe">this post</a> on <i>Pierre-Alain Joye</i>'s blog today. The main update in <a href="http://pecl.php.net/get/zip">this release</a> is to counteract a Windows bug that's interfering with binary file opens.
</p>
<blockquote>
The issue is actually a windows bug. No matter if I give or not the "b" flag to fopen, the write operations are not binary safe. It seems to be a known issue as many projects use the same trick.
</blockquote>
<p>
The problem comes up when PHP forces the binary mode in SAPI and CLI, making the binary writes to a file non-binary safe no matter what. <i>Pierre</i> is also <a href="http://blog.thepimp.net/index.php/post/2006/11/28/Windows-fixes-release-for-Zip-fopenrb-may-not-be-binary-safe">asking for help</a> from anyone out there with any information/bug reports/references about this issue that would yield something useful.
</p>]]></description>
      <pubDate>Tue, 28 Nov 2006 07:13:09 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[SitePoint PHP Blog: How to tell when PHP 5 is safe to use...]]></title>
      <guid>http://www.phpdeveloper.org/news/4469</guid>
      <link>http://www.phpdeveloper.org/news/4469</link>
      <description><![CDATA[On the SitePoint PHP blog today, there's <a href="http://www.sitepoint.com/blogs/2005/12/07/how-to-tell-when-php-5-is-safe-to-use/">Harry's opinion</a> on telling "when PHP5 is safe to use".
<p>
<quote>
<i>
The answer is very simple - <a href="http://phplens.com/phpeverywhere/?q=node/view/221">watch John</a>.
<p>
When John migrates, to me it means two things in particular;
<ul>
<li>If there is a <a href="http://phplens.com/lens/php-book/optimizing-debugging-php.php">performance</a> hit vs. the older PHP version, it will be an acceptable one.
<li>There are no show-stopping bugs.
</ul>
Don't believe me? Well the short proof is John's company have their future riding on it. A longer proof is to take a deep look at the code in <a href="http://adodb.sourceforge.net/">adodb</a> which is a great way to grasp John's mindset / experience. Otherwise browse the <a href="http://phplens.com/phpeverywhere/">phpeverywhere</a> archives...
</i>
</quote>
<p>
It's an interesting standard to set for the adoption of something as beneficial as the move from PHP4 to PHP5, but it is one way to judge the effectiveness. When you see the major applications tailoring their setups for PHP5 environments, it might be time to consider jumping ship yourself...]]></description>
      <pubDate>Thu, 08 Dec 2005 08:36:40 -0600</pubDate>
    </item>
  </channel>
</rss>
