You are here: Announcing phpsh -- an interactive shell for PHP « All PHP « IT news, forums, messages
Announcing phpsh -- an interactive shell for PHP

Posted by Charles Cheever on 08/28/06 08:03

Hi,

We're releasing a readline-based interactive shell for PHP called
phpsh.

Users can enter php statements and expressions and they will be
evaluated on the fly.
Here is a transcript of a trivial example session:
php> $t = time()
php> = $t
1156747482
php> = strftime('The current time is %x %X', $t)
The current time is 08/27/06 23:44:42


phpsh has been useful for codebase testing, inspection, and interactive
scripting. It has history (even between sessions), tab-completion, and
documentation access for user-defined functions. It works with ctags,
allowing you to instantly jump into the code where a function is
defined using vim or emacs.

phpsh is available at http://www.phpsh.org/

We wrote phpsh as a tool to make PHP development easier and faster at
Facebook. You can check out other Facebook open source contributions
at http://developer.facebook.com/opensource.php . phpsh works on
systems where the python2.4 subprocess module and GNU readline module
work (Linux and OS X, probably not Windows). phpsh is open source;
access to the repository is available through darcs, and details of
license can be found on the phpsh website.

We hope others find it as useful as we have,
- Dan and Charlie from Facebook

http://www.phpsh.org/
http://developer.facebook.com/opensource.php
http://www.facebook.com/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация