Storico dei cambiamenti

Le seguenti modifiche sono state apportate alle classi/funzioni/metodi di questa estensione.

VersionFunctionDescription
8.4.0str_getcsvL'affidamento sul valore predefinito di escape è ora deprecato.
 str_getcsvNow throws a ValueError if separator, enclosure, or escape is invalid. This mimics the behavior of fgetcsv and fputcsv.
8.3.0str_getcsvViene restituita una stringa vuota invece di una stringa con un singolo byte null per l'ultimo campo se contiene solo una chiusura non terminata.
8.2.0lcfirstCase conversion no longer depends on the locale set with setlocale. Only ASCII characters will be converted.
 utf8_decodeThis function has been deprecated.
 utf8_encodeThis function has been deprecated.
8.1.0htmlspecialchars_decodeflags changed from ENT_COMPAT to ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401.
8.0.0parse_strresult non è più opzionale.
7.4.0str_getcsvThe escape parameter now interprets an empty string as signal to disable the proprietary escape mechanism. Formerly, an empty string was treated like the default parameter value.
7.2.0parse_strL'uso di parse_str senza un secondo parametro ora genera un avviso E_DEPRECATED.
 utf8_decodeThis function has been moved from the XML extension to the core of PHP. In previous versions, it was only available if the XML extension was installed.
 utf8_encodeThis function has been moved from the XML extension to the core of PHP. In previous versions, it was only available if the XML extension was installed.
7.0.0setlocaleIl supporto per il parametro category passato come una stringa è stato rimosso. Solo le costanti LC_* possono essere usate in questa versione.
5.3.0setlocaleQuesta funzione emette un avviso E_DEPRECATED se una stringa è passata al parametro category invece che una delle costanti LC_*.
5.2.5addcslashesSono state aggiunte le sequenze di escape \v e \f.
5.1.0sha1_fileModificata la funzione per utilizzare lr API streams. Ciò significa che si può utlizzare la funzione con i vari warppers, tipo sha1_file('http://example.com/..')
 str_word_countAggiunto il parametro charlist
5.0.0sha1_fileAggiunto il parametro raw_output.
4.1.0trimE' stato aggiunto il parametro opzionale charlist.
add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top