As alterações a seguir foram feitas em funções de extensões nativas
Version | Function | Description |
---|---|---|
5.5.2 | DOMDocument::schemaValidate | Added the flags parameter |
DOMDocument::schemaValidateSource | Added the flags parameter | |
5.5.0/PECL 3.0.0 | IntlDateFormatter::create | An IntlCalendar object is allowed for calendar. Objects of type IntlTimeZone and DateTimeZone are allowed for timezone. Invalid timezone identifiers (including empty strings) are no longer allowed for timezone. If NULL is given for timezone, the timezone identifier given by date_default_timezone_get will be used instead of ICUʼs default. |
IntlDateFormatter::format | Support for providing IntlCalendar objects to the value parameter was added. | |
IntlDateFormatter::setCalendar | It became possible to pass an IntlCalendar object. | |
5.5.0 | preg_replace | O modificador /e está obsoleto. Use preg_replace_callback como alternativa. Veja a documentação PREG_REPLACE_EVAL para adicionais informações sobre riscos de segurança. |
SoapClient::SoapClient | New ssl_method option. | |
5.4.0/PECL 2.0.0b1 | idn_to_ascii | Added the parameters variant and idna_info; UTS #46 support. |
idn_to_utf8 | Added the parameters variant and idna_info; UTS #46 support. | |
5.4.0 | DOMDocument::loadHTML | Added options parameter. |
DOMDocument::loadHTMLFile | Added options parameter. | |
hash | The tiger algorithm now uses big-endian byte ordering. | |
hash_algos | Support for joaat, fnv132 and fnv164 was added. Support for Salsa10 and Salsa20 was removed. | |
mb_encode_numericentity | Added is_hex parameter. | |
openssl_decrypt | The raw_output was changed to options. | |
openssl_encrypt | The raw_output was changed to options. | |
preg_match_all | The matches parameter became optional. | |
Phar::setStub | Added len parameter. | |
PharData::setStub | Added len parameter. | |
SoapClient::SoapClient | New keep_alive option. | |
5.4 | grapheme_substr | If length is given and positive and the argument string is shorter than the specified length, all the rest of the string according to start parameter is returned. Previously, FALSE was returned. |
5.3.6 | DOMDocument::saveHTML | The node parameter was added. |
preg_match | Returns FALSE if offset is higher than subject length. | |
preg_match_all | Returns FALSE if offset is higher than subject length. | |
5.3.4 | IntlDateFormatter::format | Support for providing DateTime objects to the value parameter was added. |
5.3.3 | DOMXPath::evaluate | The registerNodeNS parameter was added. |
DOMXPath::query | The registerNodeNS parameter was added. | |
ldap_sasl_bind | Support on Windows was added. | |
openssl_decrypt | The iv parameter was added. | |
openssl_encrypt | The iv parameter was added. | |
5.3.2 (PECL OCI8 1.4) | oci_set_prefetch | Before this release, rows must be >= 1. |
5.3.2 | imap_append | Added INTERNALDATE support to imap_append. |
imap_open | params added | |
5.3.0 (PECL OCI8 1.3.4) | oci_set_prefetch | Before this release, prefetching was limited to the lesser of rows rows and 1024 * rows bytes. The byte size restriction has now been removed. |
5.3.0 | hash_algos | Support for md2, ripemd256, ripemd320, salsa10, salsa20, snefru256 and sha224 was added |
mb_get_info | The entry "http_output_conv_mimetypes" was made available. | |
mcrypt_create_iv | MCRYPT_DEV_RANDOM and MCRYPT_DEV_URANDOM became available on Windows platforms. | |
mcrypt_create_iv | It is no longer required to call srand first. This is now done automatically. | |
shm_attach | This function now returns a recurso instead of an integer. | |
stream_context_create | Added the optional params argument. | |
stream_socket_pair | This function is now available on Windows platforms. | |
ReflectionFunction::__construct | name can now be a closure. | |
5.2.10 | curl_setopt | Introduced CURLOPT_PROTOCOLS, and CURLOPT_REDIR_PROTOCOLS. |
5.2.4 | ldap_first_attribute | The ber_identifier was removed. This is now handled automatically by PHP. |
ldap_next_attribute | The ber_identifier was removed. This is now handled automatically by PHP. | |
stream_wrapper_register | Added the flags parameter. | |
5.2.3 | XMLWriter::writeElement | The content parameter became optional. |
XMLWriter::writeElementNS | The content parameter became optional. | |
PDOStatement::getColumnMeta | table field | |
5.2.2 | DOMDocument::registerNodeClass | Prior to 5.2.2, a previously registered extendedclass had to be unregistered before being able to register a new class extending the same baseclass. |
preg_match | Named subpatterns now accept the syntax (?<name>) and (?'name') as well as (?P<name>). Previous versions accepted only (?P<name>). | |
preg_match_all | Named subpatterns now accept the syntax (?<name>) and (?'name') as well as (?P<name>). Previous versions accepted only (?P<name>). | |
5.2.0 | curl_multi_info_read | msgs_in_queue was added. |
imap_open | n_retries added | |
imap_reopen | n_retries added | |
mb_strrpos | Added the optional parameter offset. | |
openssl_verify | The signature_alg parameter was added. | |
PDOStatement::execute | The keys from input_parameters must match the ones declared in the SQL. Before PHP 5.2.0 this was silently ignored. | |
SoapServer::SoapServer | Added the typemap option. | |
XMLReader::open | encoding and options were added. | |
XMLReader::XML | encoding and options were added. | |
5.1.3 | curl_getinfo | Introduced CURLINFO_HEADER_OUT. |
mb_get_info | The entries "mail_charset", "mail_header_encoding", and "mail_body_encoding" were made available. | |
SoapClient::__doRequest | The one_way parameter was added. | |
XMLReader::getAttribute | Return NULL if no attribute found. Previously, returned an empty string. | |
5.1.0 | DOMDocument::save | Added the options parameter |
DOMDocument::saveXML | Added the options parameter | |
curl_setopt | Introduced CURLOPT_AUTOREFERER, CURLOPT_BINARYTRANSFER, CURLOPT_FTPSSLAUTH, CURLOPT_PROXYAUTH, and CURLOPT_TIMECONDITION. | |
openssl_pkcs7_verify | The content parameter was added. | |
preg_replace | Adicinado o parâmetro count | |
preg_replace_callback | O parâmetro count foi adicionado | |
stream_copy_to_stream | Added the offset parameter | |
stream_filter_append | Prior to PHP 5.1.0, this function returns TRUE on success ou FALSE em caso de falha. | |
stream_filter_prepend | Prior to PHP 5.1.0, this function returns TRUE on success ou FALSE em caso de falha. | |
stream_get_contents | The offset was added. | |
5.0.0 | com_release | This function was removed. |
curl_setopt | Introduced CURLOPT_FTP_USE_EPRT, CURLOPT_NOSIGNAL, CURLOPT_UNRESTRICTED_AUTH, CURLOPT_BUFFERSIZE, CURLOPT_HTTPAUTH, CURLOPT_PROXYPORT, CURLOPT_PROXYTYPE, CURLOPT_SSLCERTTYPE, and CURLOPT_HTTP200ALIASES. | |
mb_encode_mimeheader | The indent parameter was added. | |
mb_send_mail | The Content-Type and Content-Transfer-Encoding headers may be redefined as of PHP 5.0.0. Before this time, the values defined by mb_language are always used. | |
openssl_pkcs7_encrypt | The cipherid parameter was added. | |
openssl_sign | The signature_alg parameter was added. | |
stream_get_meta_data | The following entries were added in the returned array: mode, seekable, and uri. |