<?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:28:57 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Alex Inf&uuml;hr: PHP  non alpha numeric 7 and 6 char code]]></title>
      <guid>http://www.phpdeveloper.org/news/18900</guid>
      <link>http://www.phpdeveloper.org/news/18900</link>
      <description><![CDATA[<p>
Following along with the <a href="http://phpdeveloper.org/news/18885">non-alpha PHP</a> code that <i>Gareth Heyes</i> recently posted about, <i>Alex Inf&uuml;hr</i> has <a href="http://insert-script.blogspot.co.uk/2012/12/php-non-alpha-numeric-76-chars.html">created some of his own</a> using only dollar signs, underscores, equals, plus and parentheses.
</p>
<blockquote>
I used the following charset: $_=+(); As you can see only 7 chars. In the end the function log will be created,because this won't exceed the memory limit. In the beginning I created the php function assert and it was 99 mb large php file, way too big to get executed.
</blockquote>
<p>
He uses a few tricks to get the language to create strings (counting to infinity), changing the letters in the resulting string, He includes the steps in the process and a large block of the non-alpha PHP code at the end of the post, a 46KByte block that echoes "log(12)".
</p>]]></description>
      <pubDate>Mon, 17 Dec 2012 09:32:02 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Gareth Heyes: Tweetable PHP-Non Alpha]]></title>
      <guid>http://www.phpdeveloper.org/news/18885</guid>
      <link>http://www.phpdeveloper.org/news/18885</link>
      <description><![CDATA[<p>
<i>Gareth Heyes</i> has a new post that <a href="http://www.thespanner.co.uk/2012/12/13/tweetable-php-non-alpha/">shares some of his efforts</a> to write "non-alpha PHP", using characters other than the alpha-numeric ones to write executable PHP scripts. In his case, this involves a lot of pluses, underscores and square brackets.
</p>
<blockquote>
I started to try and break the 10 charset limit of PHP non-alpha after @InsertScript showed me that PHP Dev supports [] syntax for arrays. I wondered if it would be possible to break the limit within production PHP. At first I thought you could but then after some testing I found that there was no way to concat without "." and no way to call a string as a function without $ and =. However since I got into PHP Non-alpha again I thought why not try and improve it and make the code tweetable.
</blockquote>
<p>
He works through the whole process of his discovery - starting with the creation of a non-alpha version of "0" (zero), moving into letter creation and finally all the way up to a full word..."assert". The result is tweetable code that echoes that string and contains more symbols than letters. If you're interested in more of this non-alpha kind of coding, check out some of the other posts on <a href="http://www.thespanner.co.uk/">his blog</a>.
</p>]]></description>
      <pubDate>Thu, 13 Dec 2012 09:40:25 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Gareth Heyes: PHP nonalpha tutorial]]></title>
      <guid>http://www.phpdeveloper.org/news/18388</guid>
      <link>http://www.phpdeveloper.org/news/18388</link>
      <description><![CDATA[<p>
<i>Gareth Heyes</i> has <a href="http://www.thespanner.co.uk/2012/08/21/php-nonalpha-tutorial/">another post</a> to his site on the topic of "non-alpha PHP code", this time getting a bit more into the process and how his examples are parsed by PHP into more familiar functionality.
</p>
<blockquote>
My first post on PHP non-alpha numeric code was a bit brief, in the excitement of the discovery I failed to detail in depth the process. I've decided to follow up with a tutorial and hopefully explain the process better for anyone wanting to learn or improve the technique. The basis of PHP non-alphanumeric code is to take advantage of the fact that PHP automatically converts Arrays into a string "Array" when using in a string context.
</blockquote>
<p>
He includes some basic examples showing how, with just a combination of things like "+", "_" and "[" or "]" you can reproduce similar output to echoing out an array and use that "Array" output string to get to other strings (like the letter "B"). There's also a more lengthy example showing how to build up the string "print 1+1" and have it execute using this technique.
</p>]]></description>
      <pubDate>Wed, 22 Aug 2012 08:53:02 -0500</pubDate>
    </item>
  </channel>
</rss>
