declare Encoding¶
declare() with the encoding
keyword specifies the encoding of the file that holds PHP script. This applies to the current file only.
<?php
declare(encoding='UTF-8');
?>
Related : declare()
The definitive reference with all things PHP, and their definitions.
Contents: