eval.in

Paste #42931

PHP — PHP 5.5.1, pasted 8 months ago

1
2
3
4
5
6
7
8
<?php
/**
 * @link http://stackoverflow.com/a/18202603/367456
 */

$sentence = "Is this dog your's because it can't be mine";

echo ucwords($sentence);

Program Output

Is This Dog Your's Because It Can't Be Mine

OK (0.004 sec real, 0.006 sec wall, 14 MB, 42 syscalls)

Fork