New Functions
PHP 5.4 introduced some new functions:
PHP Core:
-
hex2bin()()
-
http_reponse_code()()
-
get_declared_traits()()
-
getimagesizefromstring()()
-
stream_set_chunk_size()()
-
socket_import_stream()()
-
trait_exists()()
-
header_register_callback()()
SPL:
Session:
-
session_status()()
session_register_shutdown()()
Mysqli:
-
mysqli_error_list()()
mysqli_stmt_error_list()()
Libxml:
-
libxml_set_external_entity_loader()()
LDAP:
-
ldap_control_paged_results()()
ldap_control_paged_results_response()()
Intl:
-
transliterator_create()()
transliterator_create_from_rules()()
transliterator_create_inverse()()
transliterator_get_error_code()()
transliterator_get_error_message()()
transliterator_list_ids()()
transliterator_transliterate()()
The following functions are now natively implemented, making them available
on all operating systems which can run PHP: