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');
?>
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');
?>
The definitive reference with all things PHP, and their definitions.
Contents: