<?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>Wed, 19 Jun 2013 16:12:44 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[WebTutor.pl: Strong data typing in PHP, part II: autoboxing and indestructable objects]]></title>
      <guid>http://www.phpdeveloper.org/news/16198</guid>
      <link>http://www.phpdeveloper.org/news/16198</link>
      <description><![CDATA[<p>
In the second part of their series looking at data typing in PHP, the WebTutor blog takes a different approach to supporting strong typing in PHP, using <a href="http://php.webtutor.pl/index.php/2011/04/13/strong-data-typing-in-php-part-ii-autoboxing-and-indestructable-objects-english-version/">autoboxing and indestructible objects</a>.
</p>
<blockquote>
In an earlier <a href="http://php.webtutor.pl/index.php/2011/03/23/silne-typowanie-danych-w-php-czesc-i/">article on the strong typing</a> I've described the typehint mechanism that provides data type enforcement for the values sent to the methods and functions. Unfortunately said implementation does not protect against another problem associated with the dynamic typing of variables: a lack of type enforcement when overwritting value of an existing variable. In order to control the type of data, I decided to introduce to PHP the concept of autoboxing known from other languages such as C# and Java.
</blockquote>
<p>
He talks briefly about what autoboxing is (wrapping primitive types into objects automatically) and links to <a href="http://webscripts.softpedia.com/script/PHP-Clases/Java-and-C--compatible-object-autoboxing-66176.html">a library</a> that can be used to accomplish it. A bit of sample code is included showing how to create an AutoBoxedObject and how to use it in practice on some string values.
</p>]]></description>
      <pubDate>Thu, 14 Apr 2011 12:09:40 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Matthew Turland's Blog: The Yin and Yang of Typing]]></title>
      <guid>http://www.phpdeveloper.org/news/9546</guid>
      <link>http://www.phpdeveloper.org/news/9546</link>
      <description><![CDATA[<p>
A little while back <i>Matthew Turland</i> <a href="http://ishouldbecoding.com/2008/01/19/the-yin-and-yang-of-typing/">posted about</a> something that some developers moving over to PHP from more strict languages have an issue with - variable typing - and how its evolved in languages over time.
</p>
<blockquote>
Without a little background in programming languages or computer science in general, it's entirely possible that <a href="http://en.wikipedia.org/wiki/Type_system">typing systems</a> are not something that have crossed your mind. I thought I'd take a blog entry to share some of my thoughts on how it's affecting the creation and evolution of languages.
</blockquote>
<p>
He walks through history a bit, mentioning C, Java, Python and PHP and how they differ in their default type handling. He especially focuses on the "blurred line" between strong and weak typing and how some if offers special features to the language that uses the method.
</p>]]></description>
      <pubDate>Fri, 01 Feb 2008 11:58:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[ITJungle.com: System i PHP Drive Going Strong, Zend Says]]></title>
      <guid>http://www.phpdeveloper.org/news/6405</guid>
      <link>http://www.phpdeveloper.org/news/6405</link>
      <description><![CDATA[<p>
From ITJungle.com today, there's <A href="http://www.itjungle.com/fhs/fhs100306-story01.html">a new article</a> that talks to Zend about their effort to get PHP pushed to the System i platform via the Zend Core and the progress it's making.
</p>
<blockquote>
The push to create a new generation of young PHP programmers and PHP-driven Web applications on the IBM System i is moving forward according to plan, according to Zend Technology, the company commercializing the open source scripting language and providing support and training services. "Things are going phenomenally well," Zend business development vice president Mike Pinette says, giving evidence of that early success. "We're firing on all cylinders."
</blockquote>
<p>
They <a href="http://www.itjungle.com/fhs/fhs100306-story01.html">go on to talk about</a> other offerings Zend is making available for the platform including their popular Zend Platform package. There's talk of how Zend's effort is spreading (across countries) and their additional focus on the "bread and butter" shops - "manufacturers, distributors, retail chains, banks, and financial institutions that have heavily invested in OS/400 and RPG over the years".
</p>]]></description>
      <pubDate>Tue, 03 Oct 2006 07:12:19 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Chris Shiflett's Blog: PHP Insecurity]]></title>
      <guid>http://www.phpdeveloper.org/news/4715</guid>
      <link>http://www.phpdeveloper.org/news/4715</link>
      <description><![CDATA[<i>Chris Shiflett</i>'s <a href="http://shiflett.org/archive/185">latest post</a> mentions <a href="http://www.greebo.net/?p=320">this criticism</a> of PHP's insecurity as made by <i>Andrew van der Stock</i>.
<p>
<quote>
<i>
<a href="http://www.greebo.net/">Andrew van der Stock</a> has written a <a href="http://www.greebo.net/?p=320">strong criticism</a> of PHP's insecurity. Andrew is a seasoned security expert and a major contributor to <a href="http://www.owasp.org/">OWASP</a>, and he states:
<p>
"After writing PHP forum software for three years now, I've come to the conclusion that it is basically impossible for normal programmers to write secure PHP code. It takes far too much effort."
<p>
He <a href="http://www.greebo.net/?p=320">continues</a>, citing specific areas where he thinks PHP is weak and asserting that "PHP must now mature and take on a proper security architecture."
</i>
</quote>
<p>
<i>Chris</i> also mentions that some of the reasons <i>Andrew</i> mentions include register_globals, magic_quotes_gpc, and safe_mode - all due to be removed in the latest PHP version (6). Also, be sure to <a href="http://shiflett.org/archive/185#comments">check out the comments</a> on the post for a good bit more information and discussion...]]></description>
      <pubDate>Tue, 24 Jan 2006 06:34:00 -0600</pubDate>
    </item>
  </channel>
</rss>
