cvs: phpdoc-de /reference/json constants.xml
| From: | Carola 'Sammy' Kummert | Date: | Wed, 25 Mar 2009 11:44:42 +0000 |
| Subject: | cvs: phpdoc-de /reference/json constants.xml | ||
| Groups: | php.doc.de | ||
| Request: | Send a blank email to doc-de+get-3356@lists.php.net to get a copy of this message | ||
sammywg Wed Mar 25 11:44:42 2009 UTC
Modified files:
/phpdoc-de/reference/json constants.xml
Log:
sync to en
http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/json/constants.xml?r1=1.3&r2=1.4&diff_format=u
Index: phpdoc-de/reference/json/constants.xml
diff -u phpdoc-de/reference/json/constants.xml:1.3 phpdoc-de/reference/json/constants.xml:1.4
--- phpdoc-de/reference/json/constants.xml:1.3 Sat Mar 7 23:32:59 2009
+++ phpdoc-de/reference/json/constants.xml Wed Mar 25 11:44:42 2009
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.3 $ -->
-<!-- EN-Revision: 1.8 Maintainer: sammywg Status: ready -->
+<!-- $Revision: 1.4 $ -->
+<!-- EN-Revision: 1.9 Maintainer: sammywg Status: ready -->
<appendix xml:id="json.constants" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
&reftitle.constants;
@@ -56,8 +56,75 @@
</listitem>
</varlistentry>
</variablelist>
+
+ <para>
+ Die folgenden Konstanten können kombiniert (verodert) werden,
+ um Optionen für <function>json_encode</function> zu bilden.
+ Sie sind durchgängig ab PHP 5.3.0 verfügbar.
+ </para>
+ <variablelist>
+ <varlistentry>
+ <term>
+ <constant>JSON_HEX_TAG</constant>
+ (<type>integer</type>)
+ </term>
+ <listitem>
+ <simpara>
+ Alle < und > werden zu \u003C und \u003E konvertiert.
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <constant>JSON_HEX_AMP</constant>
+ (<type>integer</type>)
+ </term>
+ <listitem>
+ <simpara>
+ Alle &s werden zu \u0026 konvertiert.
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <constant>JSON_HEX_APOS</constant>
+ (<type>integer</type>)
+ </term>
+ <listitem>
+ <simpara>
+ Alle ' werden zu \u0027 konvertiert.
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <constant>JSON_HEX_QUOT</constant>
+ (<type>integer</type>)
+ </term>
+ <listitem>
+ <simpara>
+ Alle " werden zu \u0022 konvertiert.
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <constant>JSON_FORCE_OBJECT</constant>
+ (<type>integer</type>)
+ </term>
+ <listitem>
+ <simpara>
+ Gibt ein Objekt bevorzugt als Array aus, wenn ein nichtassoziatives Array
+ Array verwendet wird. Besonders nützlich, wenn der Empfänger der Ausgabe
+ ein Objekt erwartet und das Array leer ist.
+ </simpara>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+
</appendix>
+
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml