mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Document PHP 5.5 CLI functions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330257 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
24ec4b99df
commit
38f174c66c
4 changed files with 148 additions and 4 deletions
|
@ -811,6 +811,23 @@ String dereferencing: P
|
|||
</itemizedlist>
|
||||
</sect2>
|
||||
|
||||
<sect2 xml:id="migration55.new-functions.cli">
|
||||
<title><link linkend="features.commandline">CLI</link></title>
|
||||
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<simpara>
|
||||
<function>cli_get_process_title</function>
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>
|
||||
<function>cli_set_process_title</function>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</sect2>
|
||||
|
||||
<sect2 xml:id="migration55.new-functions.intl">
|
||||
<title><link linkend="book.intl">Intl</link></title>
|
||||
|
||||
|
|
58
reference/info/functions/cli-get-process-title.xml
Normal file
58
reference/info/functions/cli-get-process-title.xml
Normal file
|
@ -0,0 +1,58 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
|
||||
<refentry xml:id="function.cli-get-process-title" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>cli_get_process_title</refname>
|
||||
<refpurpose>Return current process title</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>cli_get_process_title</methodname>
|
||||
<void />
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Available only in <link linkend="features.commandline">CLI</link>.
|
||||
</para>
|
||||
|
||||
&warn.undocumented.func;
|
||||
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
&no.function.parameters;
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Return a string with the current process title or &null; on error.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
67
reference/info/functions/cli-set-process-title.xml
Normal file
67
reference/info/functions/cli-set-process-title.xml
Normal file
|
@ -0,0 +1,67 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
|
||||
<refentry xml:id="function.cli-set-process-title" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>cli_set_process_title</refname>
|
||||
<refpurpose>Change process title</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>cli_set_process_title</methodname>
|
||||
<methodparam><type>string</type><parameter>title</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Available only in <link linkend="features.commandline">CLI</link>.
|
||||
</para>
|
||||
|
||||
&warn.undocumented.func;
|
||||
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>title</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.success;
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
|
@ -6,12 +6,14 @@
|
|||
<versions>
|
||||
<function name='assert' from='PHP 4, PHP 5'/>
|
||||
<function name='assert_options' from='PHP 4, PHP 5'/>
|
||||
<function name='cli_get_process_title' from='PHP 5 >= 5.5.0'/>
|
||||
<function name='cli_set_process_title' from='PHP 5 >= 5.5.0'/>
|
||||
<function name='dl' from='PHP 4, PHP 5'/>
|
||||
<function name='extension_loaded' from='PHP 4, PHP 5'/>
|
||||
<function name='gc-collect-cycles' from='PHP 5 >= 5.3.0'/>
|
||||
<function name='gc-disable' from='PHP 5 >= 5.3.0'/>
|
||||
<function name='gc-enable' from='PHP 5 >= 5.3.0'/>
|
||||
<function name='gc-enabled' from='PHP 5 >= 5.3.0'/>
|
||||
<function name='gc_collect_cycles' from='PHP 5 >= 5.3.0'/>
|
||||
<function name='gc_disable' from='PHP 5 >= 5.3.0'/>
|
||||
<function name='gc_enable' from='PHP 5 >= 5.3.0'/>
|
||||
<function name='gc_enabled' from='PHP 5 >= 5.3.0'/>
|
||||
<function name='get_cfg_var' from='PHP 4, PHP 5'/>
|
||||
<function name='get_current_user' from='PHP 4, PHP 5'/>
|
||||
<function name='get_defined_constants' from='PHP 4 >= 4.1.0, PHP 5'/>
|
||||
|
|
Loading…
Reference in a new issue