reference/strings/functions/quoted-printable-decode.xml
6330e4d73192c49a6867c6bbc3cbf09d63a1e36a
...
...
@@ -10,7 +10,7 @@
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
12
<type>string</type><methodname>quoted_printable_decode</methodname>
13
-
<methodparam><type>string</type><parameter>str</parameter></methodparam>
13
+
<methodparam><type>string</type><parameter>string</parameter></methodparam>
14
14
</methodsynopsis>
15
15
<para>
16
16
This function returns an 8-bit binary string corresponding to the decoded
...
...
@@ -30,7 +30,7 @@
30
30
<para>
31
31
<variablelist>
32
32
<varlistentry>
33
-
<term><parameter>str</parameter></term>
33
+
<term><parameter>string</parameter></term>
34
34
<listitem>
35
35
<para>
36
36
The input string.
...
...
@@ -48,6 +48,33 @@
48
48
</para>
49
49
</refsect1>
50
50

51
+
<refsect1 role="examples">
52
+
&reftitle.examples;
53
+
<para>
54
+
<example>
55
+
<title><function>quoted_printable_decode</function> example</title>
56
+
<programlisting role="php">
57
+
<![CDATA[
58
+
<?php
59
+

60
+
$encoded = quoted_printable_encode('Möchten Sie ein paar Äpfel?');
61
+

62
+
var_dump($encoded);
63
+
var_dump(quoted_printable_decode($encoded));
64
+
?>
65
+
]]>
66
+
</programlisting>
67
+
&example.outputs;
68
+
<screen>
69
+
<![CDATA[
70
+
string(37) "M=C3=B6chten Sie ein paar =C3=84pfel?"
71
+
string(29) "Möchten Sie ein paar Äpfel?"
72
+
]]>
73
+
</screen>
74
+
</example>
75
+
</para>
76
+
</refsect1>
77
+

51
78
<refsect1 role="seealso">
52
79
&reftitle.seealso;
53
80
<para>
...
...
@@ -58,7 +85,6 @@
58
85
</refsect1>
59
86

60
87
</refentry>
61
-

62
88
<!-- Keep this comment at the end of the file
63
89
Local variables:
64
90
mode: sgml
65
91