| Newsgroups |
php.doc.pt-br |
| Message-ID |
<[email protected]> |
Hello PHP PT_BR Documentation team,
There are contributions within the online editor queue for this language.
Please review, then commit or delete these patches.
Patches for review :
-----------------------
New file: pt_BR/reference/array/functions/array-key-first.xml
By: Henrique Holanda on 2018-09-14 19:16:05
===================================================================
--- pt_BR/reference/array/functions/array-key-first.xml
+++ pt_BR/reference/array/functions/array-key-first.xml
@@ -0,0 +1,101 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision: $ -->
+<!-- EN-Revision: 345623 Maintainer: Henrique Holanda Status: ready -->
+<!-- Reviewed: no -->
+
+<refentry xml:id="function.array-key-first" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <refnamediv>
+ <refname>array_key_first</refname>
+ <refpurpose>Retorna a primeira chave de um array</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <type>mixed</type><methodname>array_key_first</methodname>
+ <methodparam><type>array</type><parameter>array</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ Retorna a primeira chavo do <parameter>array</parameter> informado sem afetar
+ o ponteiro interno do array.
+ </para>
+ </refsect1>
+
+ <refsect1 role="parameters">
+ &reftitle.parameters;
+ <variablelist>
+ <varlistentry>
+ <term><parameter>array</parameter></term>
+ <listitem>
+ <para>
+ Um array.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ Retorna a primeira chave do <parameter>array</parameter> se o array não for vazio;
+ &null; ou de maneira diferente.
+ </para>
+ </refsect1>
+
+ <refsect1 role="examples">
+ &reftitle.examples;
+ <para>
+ <example xml:id="array_key_first.example.basic">
+ <title>Uso básico do <function>array_key_first</function></title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+$array = ['a' => 1, 'b' => 2, 'c' => 3];
+
+$firstKey = array_key_first($array);
+
+var_dump(firstKey);
+?>
+]]>
+ </programlisting>
+ &example.outputs;
+ <screen>
+<![CDATA[
+string(1) "a"
+]]>
+ </screen>
+ </example>
+ </para>
+ </refsect1>
+
+ <refsect1 role="seealso">
+ &reftitle.seealso;
+ <simplelist>
+ <member><function>array_key_last</function></member>
+ <member><function>reset</function></member>
+ </simplelist>
+ </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
+-->
=> Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=85311
=> Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=85311
------------------------------------------------------------------
New file: pt_BR/reference/array/functions/array-key-last.xml
By: Henrique Holanda on 2018-09-14 19:20:10
===================================================================
--- pt_BR/reference/array/functions/array-key-last.xml
+++ pt_BR/reference/array/functions/array-key-last.xml
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision: $ -->
+<!-- EN-Revision: 345342 Maintainer: Henrique Holanda Status: ready -->
+<!-- Reviewed: no -->
+
+<refentry xml:id="function.array-key-last" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <refnamediv>
+ <refname>array_key_last</refname>
+ <refpurpose>Retorna a última chave de um array</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <type>mixed</type><methodname>array_key_last</methodname>
+ <methodparam><type>array</type><parameter>array</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ Retorna a última chave de um <parameter>array</parameter> informado sem afetar
+ o ponteiro interno do array.
+ </para>
+ </refsect1>
+
+ <refsect1 role="parameters">
+ &reftitle.parameters;
+ <variablelist>
+ <varlistentry>
+ <term><parameter>array</parameter></term>
+ <listitem>
+ <para>
+ Um array.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ Retorna a última chave de um <parameter>array</parameter> se o array não for vazio;
+ &null; ou de maneira diferente.
+ </para>
+ </refsect1>
+
+ <refsect1 role="seealso">
+ &reftitle.seealso;
+ <simplelist>
+ <member><function>array_key_first</function></member>
+ <member><function>end</function></member>
+ </simplelist>
+ </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
+-->
=> Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=85312
=> Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=85312
------------------------------------------------------------------
Modified: pt_BR/reference/math/functions/exp.xml
By: Henrique Holanda on 2018-09-14 19:32:50
===================================================================
--- pt_BR/reference/math/functions/exp.xml
+++ pt_BR/reference/math/functions/exp.xml
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="UTF-8"?>
<!-- EN-Revision: 297028 Maintainer: ae Status: ready --><!-- CREDITS: rarruda,ae -->
<refentry xml:id="function.exp" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
=> Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=85313
=> Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=85313
------------------------------------------------------------------
Modified: pt_BR/reference/session/functions/session-id.xml
By: Henrique Holanda on 2018-09-14 19:33:34
===================================================================
=> Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=85314
=> Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=85314
------------------------------------------------------------------
Modified: pt_BR/reference/simplexml/simplexmlelement/getName.xml
By: Henrique Holanda on 2018-09-14 19:35:02
===================================================================
=> Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=85315
=> Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=85315
------------------------------------------------------------------
Modified: pt_BR/reference/bc/ini.xml
By: Henrique Holanda on 2018-09-14 19:38:55
===================================================================
--- pt_BR/reference/bc/ini.xml
+++ pt_BR/reference/bc/ini.xml
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="UTF-8"?>
<!-- EN-Revision: 323642 Maintainer: ae Status: ready --><!-- CREDITS: ae,felipe -->
<section xml:id="bc.configuration" xmlns="http://docbook.org/ns/docbook">
&reftitle.runtime;
=> Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=85316
=> Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=85316
------------------------------------------------------------------
Modified: pt_BR/install/unix/solaris.xml
By: Henrique Holanda on 2018-09-14 19:40:26
===================================================================
--- pt_BR/install/unix/solaris.xml
+++ pt_BR/install/unix/solaris.xml
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="UTF-8"?>
<!-- EN-Revision: 310601 Maintainer: ae Status: ready --><!-- CREDITS: narigone,ae -->
<sect1 xml:id="install.unix.solaris" xmlns="http://docbook.org/ns/docbook">
<title>Dicas de instalação específicas para o <productname>Solaris</productname></title>
@@ -10,7 +10,7 @@
<title>Software Necessário</title>
<para>
Instalações do <productname>Solaris</productname> frequentemente não possuem compiladores C e suas ferramentas relacionadas.
- Leia <link linkend="faq.installation.needgnu">esse FAQ</link>
+ Leia <link linkend="faq.installation.needgnu">esse FAQ</link>
para informação sobre porque usar versões GNU para algumas
dessas ferramentas é necessário.
</para>
@@ -91,7 +91,7 @@
Além você pode precisar instalar (e talvez até compilar) softwares
específicos à sua configuração, como o Oracle
ou MySQL.
- </para>
+ </para>
</sect2>
<sect2 xml:id="install.unix.solaris.packages">
<title>Utilizando pacotes</title>
=> Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=85317
=> Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=85317
------------------------------------------------------------------
Modified: pt_BR/reference/filesystem/functions/file-put-contents.xml
By: Junior Grossi on 2019-06-14 08:50:25
===================================================================
--- pt_BR/reference/filesystem/functions/file-put-contents.xml
+++ pt_BR/reference/filesystem/functions/file-put-contents.xml
@@ -104,31 +104,6 @@
Adquire um bloqueio exclusivo enquanto estiver escrevendo.
</entry>
</row>
- <row>
- <entry>
- <constant>FILE_TEXT</constant>
- </entry>
- <entry>
- Os dados de <parameter>data</parameter> são escritos em modo texto.
- Se a semântica unicode estiver habilitada, o encoding padrão é UTF-8.
- Você pode especificar um encoding diferente criando um
- contexto personalizado ou alterando o encoding padrão utilizando
- <function>stream_default_encoding</function>. Esta flag não pode ser
- usada com <constant>FILE_BINARY</constant> e está disponível apenas
- a partir do PHP 6.
- </entry>
- </row>
- <row>
- <entry>
- <constant>FILE_BINARY</constant>
- </entry>
- <entry>
- Os dados de <parameter>data</parameter> serão escritos em modo binário.
- Esta é a opção padrão e não pode ser utilizada com
- <constant>FILE_TEXT</constant>. Esta flag está disponível apenas a partir
- do PHP 6.
- </entry>
- </row>
</tbody>
</tgroup>
</table>
=> Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=92546
=> Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=92546
------------------------------------------------------------------
--
https://edit.php.net/
This email is send automatically by the Php Docbook Online Editor.