mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 08:28:54 +00:00

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334639 c90b9560-bf6c-de11-be94-00142212c4b1
150 lines
4.2 KiB
XML
150 lines
4.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
|
|
<sect1 xml:id="migration56.changed-functions">
|
|
<title>Changed functions</title>
|
|
|
|
<sect2 xml:id="migration56.changed-functions.core">
|
|
<title>PHP Core</title>
|
|
|
|
<itemizedlist>
|
|
<listitem>
|
|
<simpara>
|
|
<function>crypt</function> will now raise an
|
|
<constant>E_NOTICE</constant> error if the <parameter>salt</parameter>
|
|
parameter is omitted.
|
|
</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara>
|
|
<function>substr_compare</function> will now accept <literal>0</literal>
|
|
for its <parameter>length</parameter> parameter.
|
|
</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara>
|
|
<function>unserialize</function> will now fail if passed serialised data
|
|
that has been manipulated to attempt to instantiate an object without
|
|
calling its constructor.
|
|
</simpara>
|
|
</listitem>
|
|
</itemizedlist>
|
|
</sect2>
|
|
|
|
<sect2 xml:id="migration56.changed-functions.curl">
|
|
<title><link linkend="book.curl">cURL</link></title>
|
|
|
|
<itemizedlist>
|
|
<listitem>
|
|
<simpara>
|
|
Uploads using the <literal>@file</literal> syntax are now only supported
|
|
if the <constant>CURLOPT_SAFE_UPLOAD</constant> option is set to
|
|
&false;. <classname>CURLFile</classname> should be used instead.
|
|
</simpara>
|
|
</listitem>
|
|
</itemizedlist>
|
|
</sect2>
|
|
|
|
<sect2 xml:id="migration56.changed-functions.mcrypt">
|
|
<title><link linkend="book.mcrypt">Mcrypt</link></title>
|
|
|
|
<itemizedlist>
|
|
<listitem>
|
|
<simpara>
|
|
The <parameter>source</parameter> parameter of
|
|
<function>mcrypt_create_iv</function> now defaults to
|
|
<constant>MCRYPT_DEV_URANDOM</constant> instead of
|
|
<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>
|
|
<function>stream_socket_enable_crypto</function> now allows the
|
|
<parameter>crypto_type</parameter> parameter to be optional if the
|
|
stream's SSL context includes the new <parameter>crypto_type</parameter>
|
|
option.
|
|
</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> and <function>pg_delete</function> are no
|
|
longer experimental.
|
|
</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara>
|
|
<function>pg_send_execute</function>,
|
|
<function>pg_send_prepare</function>, <function>pg_send_query</function>
|
|
and <function>pg_send_query_params</function> will no longer block until
|
|
query write completion if the underlying socket stream for the database
|
|
connection is set to non-blocking mode.
|
|
</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>
|
|
now allows non-final internal classes to be
|
|
instantiated.
|
|
</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> and
|
|
<methodname>XMLReader::getAttributeNo</methodname> now return &null; if
|
|
the attribute could not be found, like
|
|
<methodname>XMLReader::getAttribute</methodname>.
|
|
</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
|
|
-->
|