<?php
echo "Hi";

function foo() {
    declare(encoding="UTF-8");
}

echo "Bye"
?>