cvs: phpdoc-ro /reference/var/functions var-dump.xml
| From: | Simion Onea | Date: | Thu, 15 May 2008 09:27:27 +0000 |
| Subject: | cvs: phpdoc-ro /reference/var/functions var-dump.xml | ||
| Groups: | php.doc.ro | ||
| Request: | Send a blank email to doc-ro+get-440@lists.php.net to get a copy of this message | ||
simionea Thu May 15 09:27:27 2008 UTC
Modified files:
/phpdoc-ro/reference/var/functions var-dump.xml
Log:
Updated the file.
http://cvs.php.net/viewvc.cgi/phpdoc-ro/reference/var/functions/var-dump.xml?r1=1.3&r2=1.4&diff_format=u
Index: phpdoc-ro/reference/var/functions/var-dump.xml
diff -u phpdoc-ro/reference/var/functions/var-dump.xml:1.3
phpdoc-ro/reference/var/functions/var-dump.xml:1.4
--- phpdoc-ro/reference/var/functions/var-dump.xml:1.3 Tue Sep 18 14:05:18 2007
+++ phpdoc-ro/reference/var/functions/var-dump.xml Thu May 15 09:27:27 2008
@@ -1,39 +1,74 @@
-<?xml version="1.0" encoding="iso-8859-2"?>
-<!-- EN-Revision: 1.0 Maintainer: adiju Status: outdated -->
-<!-- splitted from ./ro/functions/var.xml, last change in rev 1.1 -->
-<!-- last change to 'var-dump' in en/ tree in rev 1.84 -->
- <refentry xml:id="function.var-dump" xmlns="http://docbook.org/ns/docbook">
- <refnamediv>
- <refname>var_dump</refname>
- <refpurpose>Afiºeazã informaþii despre o variabilã</refpurpose>
- </refnamediv>
- <refsect1>
- <title>Descriere</title>
- <methodsynopsis>
- <type>void</type><methodname>var_dump</methodname>
-
<methodparam><type>mixed</type><parameter>expression</parameter></methodparam>
- <methodparam
choice="opt"><type>mixed</type><parameter>expression</parameter></methodparam>
- <methodparam
choice="opt"><parameter>...</parameter></methodparam>
- </methodsynopsis>
- <simpara>
- Aceastã funcþie afiºeazã o informaþie structuratã despre una sau mai multe
- variabile. Tablourile sunt explorate recursiv pentru a afiºa valorile
- în aceastã structurã.
- </simpara>
- &tip.ob-capture;
- <simpara>
- Comparaþi <function>var_dump</function> cu
- <function>print_r</function>.
- </simpara>
- <para>
- <informalexample>
- <programlisting role="php">
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision: 1.4 $ -->
+<!-- EN-Revision: 1.13 Maintainer: simionea Status: translated -->
+<!-- CREDITS: adiju -->
+<!-- splitted from ./en/functions/var.xml, last change in rev 1.84 -->
+<refentry xml:id="function.var-dump" xmlns="http://docbook.org/ns/docbook">
+ <refnamediv>
+ <refname>var_dump</refname>
+ <refpurpose>AfiÅeazÄ informaÅ£ia despre o variabilÄ</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <type>void</type><methodname>var_dump</methodname>
+
<methodparam><type>mixed</type><parameter>expression</parameter></methodparam>
+ <methodparam
choice="opt"><type>mixed</type><parameter>expression</parameter></methodparam>
+ <methodparam
choice="opt"><parameter>...</parameter></methodparam>
+ </methodsynopsis>
+ <simpara>
+ AceastÄ funcÅ£ie afiÅeazÄ informaÅ£ia structuratÄ despre una sau mai multe
+ expresii, ce include tipul Åi valoarea sa. Masivele Åi obiectele sunt
+ traversate recursiv Åi valorile sunt amplasate vizual astfel încât sÄ
+ reflecte structura.
+ </simpara>
+ <simpara>
+ Ãn PHP 5 toate proprietÄÅ£ile publice, private Åi protejate ale obiectelor
+ vor fi afiÅate.
+ </simpara>
+ &tip.ob-capture;
+ </refsect1>
+
+ <refsect1 role="parameters">
+ &reftitle.parameters;
+ <para>
+ <variablelist>
+ <varlistentry>
+ <term><parameter>expression</parameter></term>
+ <listitem>
+ <para>
+ Variabila, pe care doriÅ£i sÄ o exportaÅ£i.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </para>
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ &return.void;
+ </para>
+ </refsect1>
+
+ <refsect1 role="examples">
+ &reftitle.examples;
+ <para>
+ <example>
+ <title>Exemple <function>var_dump</function></title>
+ <programlisting role="php">
<![CDATA[
<?php
-$a = array (1, 2, array ("a", "b", "c"));
-var_dump ($a);
-
-/* afiºeazã:
+$a = array(1, 2, array("a", "b", "c"));
+var_dump($a);
+?>
+]]>
+ </programlisting>
+ &example.outputs;
+ <screen>
+<![CDATA[
array(3) {
[0]=>
int(1)
@@ -49,25 +84,40 @@
string(1) "c"
}
}
-
-*/
+]]>
+ </screen>
+ <programlisting role="php">
+<![CDATA[
+<?php
$b = 3.1;
-$c = TRUE;
-var_dump($b,$c);
+$c = true;
+var_dump($b, $c);
-/* afiºeazã:
+?>
+]]>
+ </programlisting>
+ &example.outputs;
+ <screen>
+<![CDATA[
float(3.1)
bool(true)
-
-*/
-?>
]]>
- </programlisting>
- </informalexample>
- </para>
- </refsect1>
- </refentry>
+ </screen>
+ </example>
+ </para>
+ </refsect1>
+
+ <refsect1 role="seealso">
+ &reftitle.seealso;
+ <para>
+ <simplelist>
+ <member><function>var_export</function></member>
+ <member><function>print_r</function></member>
+ </simplelist>
+ </para>
+ </refsect1>
+</refentry>
<!-- Keep this comment at the end of the file
Local variables: