https://github.com/apinstein/iphp
An interactive php shell (REPL) with support for readline, autocomplete, include/require, and fatal-error tolerance.
https://github.com/apinstein/iphp
Last synced: about 1 year ago
JSON representation
An interactive php shell (REPL) with support for readline, autocomplete, include/require, and fatal-error tolerance.
- Host: GitHub
- URL: https://github.com/apinstein/iphp
- Owner: apinstein
- Created: 2009-12-09T03:41:08.000Z (over 16 years ago)
- Default Branch: master
- Last Pushed: 2014-04-01T18:33:09.000Z (over 12 years ago)
- Last Synced: 2025-04-14T12:06:38.891Z (about 1 year ago)
- Language: PHP
- Homepage:
- Size: 271 KB
- Stars: 72
- Watchers: 2
- Forks: 11
- Open Issues: 6
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
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
INSTALLATION
============
pear install apinstein.pearfarm.org/iphp
EXAMPLE
=======
php> new ArrayObject(array(1,2))
=> ArrayObject Object
(
[0] => 1
[1] => 2
)
php> $_[0] + 1
=> 2
php> \help
alias(es)
-------------------------------------------------------
exit,die,bye,quit Quit the shell.
reload Re-initialize the iphp state so it's just as if you quit and re-started.
help,? View a list of all installed commands.