cli : display the complete string instead of truncate it
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2758 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
7
cli.php
7
cli.php
@@ -362,8 +362,15 @@ class cli
|
||||
$r->auth["email"] = "cli";
|
||||
$s = call_user_func_array(array($r, $method), $argv);
|
||||
if ($this->QUIET === false || $s !== "" && $s !== array () && $s !== null)
|
||||
{
|
||||
if (is_string ($s))
|
||||
echo $s;
|
||||
elseif (is_array ($s))
|
||||
print_r ($s);
|
||||
else
|
||||
var_dump ($s);
|
||||
}
|
||||
}
|
||||
catch (Exception $e)
|
||||
{
|
||||
file_put_contents("php://stderr", $e->getMessage()."\n");
|
||||
|
||||
Reference in New Issue
Block a user