1
0
mirror of https://github.com/php/doc-ru.git synced 2026-04-26 16:58:14 +02:00
Files
archived-doc-ru/reference/info/functions/getmypid.xml
T
2024-03-26 16:35:40 +03:00

81 lines
2.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 8dd14a886c7e954cef181c374b6f05cc7149e643 Maintainer: tmn Status: ready -->
<!-- Reviewed: no -->
<refentry xml:id="function.getmypid" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>getmypid</refname>
<refpurpose>
Получает ID процесса PHP
</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type class="union"><type>int</type><type>false</type></type><methodname>getmypid</methodname>
<void/>
</methodsynopsis>
<para>
Функция получает идентификатор процесса PHP.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
&no.function.parameters;
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Функция возвращает идентификатор процесса PHP или &false;,
если возникла ошибка.
</para>
</refsect1>
<refsect1 role="notes">
&reftitle.notes;
<warning>
<para>
Идентификаторы процессов в системе не уникальны,
поэтому это слабые источники энтропии.
Не рекомендуем полагаться на pid в контекстах, которые влияют на безопасность.
</para>
</warning>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function>getmygid</function></member>
<member><function>getmyuid</function></member>
<member><function>get_current_user</function></member>
<member><function>getmyinode</function></member>
<member><function>getlastmod</function></member>
</simplelist>
</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
-->