News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Alex Inführ:
PHP non alpha numeric 7 and 6 char code
December 17, 2012 @ 09:32:02

Following along with the non-alpha PHP code that Gareth Heyes recently posted about, Alex Inführ has created some of his own using only dollar signs, underscores, equals, plus and parentheses.

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.

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)".

0 comments voice your opinion now!
nonalpha code characters six seven tutorial


blog comments powered by Disqus

Similar Posts

IBM developerWorks: Cook up Web sites fast w/CakePHP, Part 1: Adding related information & services

PHPMac.com: Building and Installing Apache 2.2.2 and PHP 5.1.3 (or 5.1.4) on Mac OS X 10.4.6

DevShed: Benchmarking with the Xdebug Extension

Gonzalo Ayuso: Sending automated emails with PHP, Swiftmailer and Twig

Zend Developer Zone: Tutorial : Using Zend Framework Without PDO


Community Events

Don't see your event here?
Let us know!


language series composer php7 api part2 project symfony opinion example interview configure application framework introduction laravel yii2 podcast list community

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework