Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
An interactive php shell with support for readline, autocomplete, and fatal-error tolerance.
branch: master

This branch is 2 commits ahead, 16 commits behind apinstein:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.markdown
iphp
iphp.php
iphp_commands.php

README.markdown

iphp - Interactive PHP Shell

iphp is an interactive php shell that solves a number of painful problems with normal php shells:

  • Fatal Error handling - iphp doesn't die even if your code does.
  • optional readline support
  • readline support includes: autocomplete, history, line editing
  • support ctags tags files
  • implemented as a class for integration with your framework
  • support for require/include; you can load php files within iphp
  • extensible command system

Example:

php> new ArrayObject(array(1,2))

=> ArrayObject Object
(
    [0] => 1
    [1] => 2
)

php> $_[0] + 1
=> 2

php> \help 
alias(es)                     <help>
-------------------------------------------------------
exit,die,bye,quit             No help available.
reload                        Re-initialize the iphp state so it's just as if you quit and re-started.
help,?                        No help available.
Something went wrong with that request. Please try again.