Source for file php-shell-cmd.php
Documentation is available at php-shell-cmd.php
require_once "PHP/Shell.php";
PHP-Barebone-Shell - Version %s%s
(c) 2006, Jan Kneschke <jan@kneschke.de>
>> use '?' to open the inline help
$__shell->hasReadline () ? ', with readline() support' : '');
while ($__shell->input ()) {
if ($__shell->parse () == 0 ) {
## we have a full command, execute it
$__shell_retval = eval ($__shell->getCode ());
if (isset ($__shell_retval)) {
## cleanup the variable namespace
} catch (Exception $__shell_exception) {
print $__shell_exception->getMessage ();
## cleanup the variable namespace
unset ($__shell_exception);
Documentation generated on Mon, 11 Mar 2019 14:40:33 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|