Author name: Tutor Network Team

PHP htmlentities() Function

In this article, you will learn how to convert plain characters into HTML entities. The htmlentities() function convert characters into HTML entities. Note: To perform the reverse operation (HTML entities back to characters), you can use html_entity_decode() function. htmlentities() function uses translation table. To get the translation table, you can use get_html_tranlsation_table() function. What is …

PHP htmlentities() Function Read More »

PHP get_html_translation_table() Function

In this article, you will learn how to get the translation table used by the PHP htmlentities() and htmlspecialchars() functions. The PHP GET_HTML_TRANSLATION_TABLE() function returns the translation table used by these two functions. There exist some characters, which can be encoded in many ways, but the get_html_translation() function keep the common encoding method in the …

PHP get_html_translation_table() Function Read More »

PHP html_entity_decode() Function

In this article, you will learn how to convert HTML element into characters. The PHP html_entity_decode() function convert HTML entity ti characters. Note: This function is the opposite of htmlentities() function. What is the syntax of the html_entity_decode() function? Parameters Details string Required. Specifies the string to decode flags Optional. Specifies how to handle quotes …

PHP html_entity_decode() Function Read More »

PHP hex2bin() Function

In this article, you will learn how to convert hexadecimal string to ASCII characters. The hex2bin() function convert the string of hexadecimal values to ASCII characters. What is the syntax of the HEX2BIN() function? Parameters Details string The value in hexadecimal to convert to ASCII character – Required PHP hex2bin() method examples of the HEX2BIN() …

PHP hex2bin() Function Read More »

en English
X
Scroll to Top