-
Notifications
You must be signed in to change notification settings - Fork 42
/
changed-functions.xml
152 lines (136 loc) · 4.51 KB
/
changed-functions.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: da75c15e022c72fdab6ed68f936ee41ecc5909b1 Maintainer: simp Status: ready -->
<sect1 xml:id="migration56.changed-functions">
<title>Geänderte Funktionen</title>
<sect2 xml:id="migration56.changed-functions.core">
<title>PHP Core</title>
<itemizedlist>
<listitem>
<simpara>
<function>crypt</function> ruft nun einen Fehler der Stufe
<constant>E_NOTICE</constant> hervor, wenn der Parameter
<parameter>salt</parameter> ausgelassen wird.
</simpara>
</listitem>
<listitem>
<simpara>
<function>substr_compare</function> akzeptiert nun auch <literal>0</literal>
als Wert für den Parameter <parameter>length</parameter>.
</simpara>
</listitem>
<listitem>
<simpara>
<function>unserialize</function> schlägt nun fehl, wenn serialisierte Daten
übergeben werden, welche so manipuliert wurden, dass ein Objekt erzeugt werden
soll ohne dessen Konstruktor aufzurufen.
</simpara>
</listitem>
</itemizedlist>
</sect2>
<sect2 xml:id="migration56.changed-functions.curl">
<title><link linkend="book.curl">cURL</link></title>
<itemizedlist>
<listitem>
<simpara>
Uploads mittels der <literal>@file</literal>-Syntax werden nun nur
noch unterstützt, wenn die Option <constant>CURLOPT_SAFE_UPLOAD</constant>
auf &false; gestellt wird. Es sollte stattdessen
<classname>CURLFile</classname> verwendet werden.
</simpara>
</listitem>
</itemizedlist>
</sect2>
<sect2 xml:id="migration56.changed-functions.mcrypt">
<title><link linkend="book.mcrypt">Mcrypt</link></title>
<itemizedlist>
<listitem>
<simpara>
Der Parameter <parameter>source</parameter> von
<function>mcrypt_create_iv</function> hat nun einen
Standardwert von <constant>MCRYPT_DEV_URANDOM</constant>
anstelle von <constant>MCRYPT_DEV_RANDOM</constant>.
</simpara>
</listitem>
</itemizedlist>
</sect2>
<sect2 xml:id="migration56.changed-functions.openssl">
<title><link linkend="book.openssl">OpenSSL</link></title>
<itemizedlist>
<listitem>
<simpara>
Der Parameter <parameter>crypto_type</parameter> von
<function>stream_socket_enable_crypto</function> kann nun
optional sein, wenn der SSL-Kontext des Streams die neue
Option <parameter>crypto_type</parameter> enthält.
</simpara>
</listitem>
</itemizedlist>
</sect2>
<sect2 xml:id="migration56.changed-functions.pgsql">
<title><link linkend="book.pgsql">PostgreSQL</link></title>
<itemizedlist>
<listitem>
<simpara>
<function>pg_insert</function>, <function>pg_select</function>,
<function>pg_update</function> und <function>pg_delete</function>
sind nicht länger experimentell.
</simpara>
</listitem>
<listitem>
<simpara>
<function>pg_send_execute</function>,
<function>pg_send_prepare</function>, <function>pg_send_query</function>
und <function>pg_send_query_params</function> blockieren nicht mehr
bis die Schreiboperation der Abfrage abgeschlossen ist, wenn der
zugrunde liegende Socket-Stream der Datenbankverbindung auf einen
nicht blockierenden Modus eingestellt ist.
</simpara>
</listitem>
</itemizedlist>
</sect2>
<sect2 xml:id="migration56.changed-functions.reflection">
<title><link linkend="book.reflection">Reflection</link></title>
<itemizedlist>
<listitem>
<simpara>
<methodname>ReflectionClass::newInstanceWithoutConstructor</methodname>
erlaubt nun die Instanziierung von nicht-finalen internen Klassen.
</simpara>
</listitem>
</itemizedlist>
</sect2>
<sect2 xml:id="migration56.changed-functions.xmlreader">
<title><link linkend="book.xmlreader">XMLReader</link></title>
<itemizedlist>
<listitem>
<simpara>
<methodname>XMLReader::getAttributeNs</methodname> und
<methodname>XMLReader::getAttributeNo</methodname> geben nun,
wie <methodname>XMLReader::getAttribute</methodname>
&null; zurück, wenn das Attribut nicht gefunden wurde.
</simpara>
</listitem>
</itemizedlist>
</sect2>
</sect1>
<!-- 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
-->