Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * File: hilih.php
- * @author: Cvar1984 <gedzsarjuncomuniti@gmail.com>
- * Date: 19.01.2020
- * Last Modified Date: 19.01.2020
- * Last Modified By: Cvar1984 <gedzsarjuncomuniti@gmail.com>
- */
- $paragraf = 'Nama sAya budi';
- $pattern = '/a|u|e|o/i';
- $replace = 'i';
- $result = preg_replace($pattern, $replace, $paragraf);
- $result = strtolower($result);
- $result = ucwords($result);
- echo $result . PHP_EOL;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement