Interaktive PHP Shell

Original post provide by php-Blogger

Ich habe mich schon mal letztes Jahr mit der interaktiven Shell von PHP beschäftigt und war damals zu dem Schluss gekommen, dass sie nicht wirklich brauchbar ist, weil sich z.b. keine ‘Fatal Error’ abfangen lassen und so jeder Schreibfehler zum Abbruch der Shell führt.

Jan Kneschke, der Entwickler meines bevorzugten WebServers lighttpd, hat sich nun dieser Problematik angenommen und hat eine PHP Shell entwickelt, die den eingegebenen PHP Code vor dem Ausführen prüft. Dies geschieht über die Tokenizer Erweiterung. So lässt sich vor dem Ausführen beispielsweise überprüfen ob bei einem Funktionsaufruf die jeweilige Funktion überhaupt existiert oder dass keine doppelten Funktionsnamen angelegt werden.

Das Hauptaugenmerkt bei der Entwicklung der PHP-Shell liegt also bei der Vermeidung des ‘Fatal Error’ - welcher sonst zum sofortigen Abbruch des PHP Interpreters führt.

Ich habe bisher nur kurz mit der PHP Shell gespielt, kann aber jetzt schon sagen, dass sie sehr viel brauchbarer ist, als die in PHP eingebaute Shell - eben Dank der Vermeidung des ‘Fatal Error’. Wer mit der Shell experimentieren möchte, kann Sier hier herunterladen:

PHP Shell von Jan Kneschke

Previous Articles:
Adding Google-like Search Operators To Simple Search Boxes
Give your users instant access to your most important information.
ADOdb Implementation Of Active Record: Cloning Zend_Db_DataObject
Try ADOdb's Active Record Implementation! Read the tutorial. This implementation has been incorporated in the main ADOdb code branch since 4.80. Download ADOdb. Enjoy! PS: I noticed that the Preview release lacks the source code of the Zend_Db_DataObject implementation.
Scale-Up Or Scale-Out Your Database
SQL Server 2005 These are good introductory articles: Scaling Out SQL Server 2005 Achieving Massive Scalability with SQL Server Oracle 10g (RAC) These are much more sophisticated articles. Also can you spot where Oracle 10g RAC beats SQL Server 2005 in scaleout?
Phplondon Conference 2008
February 29th (Leap Year Day). phplondon.org announce their third annual community conference to be held at Inmarsat, Old Street, London.This year the conference will run two tracks and include speakers such as Derick Rethans, Wez Furlong, Scott MacVicar and Zoe Slattery.We will also be holding an extended presentation and discussion on frameworks for PHP.Visit our conference site to register.
Php|tek 2008: Chicago
The PHP Community meets in May for one of North America's premier PHP conferences of 2008. Join us to hear top speakers such as Derick Rethans (eZ Systems), Lucas Nelan (Facebook), Chris Shiflett (OmniTI), Eli White (Digg) and yes, even Terry Chay (Tagged).
More Articles:
Share Your OPML
Das ist im Prinzip nicht weiter spektakulär. Der nette Aspekt an der Sache ist, dass man sehen kann, welche Leute die gleichen Feeds abonniert haben und ob sich so möglicherweise noch weitere interessante Feeds entdecken lassen. Wen's interessiert: hier sind meine abonnierten Feeds.
Merkwürdiger OSX Absturz [update]
Jetzt muss ich mal herausfinden, woran das liegen könnte. Ich teste gerade diverse locking-mechanismen um eine brauchbare Möglichkeit zu finden 'race conditions' zu vermeiden. In diesem Speziellen Script wollte ich einen Mechanismus testen, der über Semaphoren funktioniert - möglicherweise geht dabei etwas schief.
PHP @ FrOSCon Call For Papers
The event will take place on August 25th and 26th in St. Augustin (near Bonn), Germany. For the dedicated PHP talks program, the call for papers is open until June 4th. Talks are accepted in English and German language.
PHP Québec Conference 2007
It features 2 days of technicals talks and an additional day of workshop. Among the speakers, the well know PHP experts such has: Rasmus Lerdorf, Andrei Zmievski, Derick Rethans, Ilia Alshanetsky, John Coggeshall, Damien Séguy, and many more. The conference has three distinct tracks : Advanced Techniques, Data Availability, PHP: Beyound Theory.
Online PayPal Payments With PHP And Oracle
Help your users buy products instantly online.

Leave a Reply