PHP html_entity_decode() Function

The html_entity_decode() function is used to convert all HTML entities to their applicable characters. The html_entity_decode() function is the opposite of htmlentities(). You may also like PHP htmlspecialchars_decode() Function. Example <?php $str = ‘&lt;a href=&quot;https://scriptsgurus.com&quot;&gt;scriptsgurus.com&lt;/a&gt;’; echo html_entity_decode($str); ?> Output <a…

Read MorePHP html_entity_decode() Function

PHP hex2bin() Function

The PHP hex2bin() function is used to decode a hexadecimally encoded binary string. In other words, you can use this function to convert a string of hexadecimal values to ASCII characters. You may also like PHP convert_uuencode() Function and How…

Read MorePHP hex2bin() Function

PHP hebrev() Function

The hebrev() function converts Hebrew text from a right-to-left flow to a left-to-right flow. Tip: hebrev() and hebrevc() can convert Hebrew logical text (the Windows encoding) to Hebrew visual text. Hebrew visual requires no special right-to-left character support to be…

Read MorePHP hebrev() Function

PHP fprintf() Function

The fprintf() function writes a formatted string to a specified stream resource. Returns a formatted string formatting, using the inputs to dynamically input their values into the formatted string using a preset set of rules, specified below. You may also…

Read MorePHP fprintf() Function

PHP echo() Function

The echo() function outputs one or more strings. Note: The echo() function is not actually a function, so you are not required to use parentheses with it. However, if you want to pass more than one parameter to echo(), using…

Read MorePHP echo() Function