<!DOCTYPE html>
<html>
<body>
<?php
echo substr_replace("Hello world","Shanghai",6);
?>
</body>
</html>