I am getting following error when i call to html_entity_decode() to decode web URL.
My code:
<script>
es = new EventSource('<?php echo html_entity_decode($start); ?>');
</script>
Error:
PHP Warning: html_entity_decode(): charset `UTF-8;' not supported, assuming utf-8
Php version is 7.0
Please help me to fix this issue. all answer is very helpful me
thank you