Good day.
NL> + <function>phpinfo</function> outputs plain text instead of HTML when
NL> + using the CLI mode.
Oh yes, this is true.
Link: http://www.php.net/manual/en/features.commandline.php
NL> This command line option calls phpinfo(), and prints out the
NL> results. If PHP is not working correctly, it is advisable to use
NL> php -i and see whether any error messages are printed out before
NL> or in place of the information tables. Beware that the output is
^^^^^^^^^^^^^^^^^^^^^^^^^
NL> in HTML and therefore quite huge.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
And this is not true.
In attachment there are diff file, which fix it.
--
Best regards,
Войцеховский Александр [young],
http://young.org.uaIndex: commandline.xml
===================================================================
RCS file: /repository/phpdoc/en/features/commandline.xml,v
retrieving revision 1.31
diff -r1.31 commandline.xml
772,773c772,773
< Beware that the output is in <literal>HTML</literal> and therefore
< quite huge.
---
> Beware that when using the CGI mode the output is in <literal>HTML</literal>
> and therefore quite huge.