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:
9
cli.php
9
cli.php
@@ -362,7 +362,14 @@ class cli
|
|||||||
$r->auth["email"] = "cli";
|
$r->auth["email"] = "cli";
|
||||||
$s = call_user_func_array(array($r, $method), $argv);
|
$s = call_user_func_array(array($r, $method), $argv);
|
||||||
if ($this->QUIET === false || $s !== "" && $s !== array () && $s !== null)
|
if ($this->QUIET === false || $s !== "" && $s !== array () && $s !== null)
|
||||||
var_dump ($s);
|
{
|
||||||
|
if (is_string ($s))
|
||||||
|
echo $s;
|
||||||
|
elseif (is_array ($s))
|
||||||
|
print_r ($s);
|
||||||
|
else
|
||||||
|
var_dump ($s);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (Exception $e)
|
catch (Exception $e)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user