1 of 5

PHP 5.3, 55 bytes

<?for(;$i<strlen($a);){echo(($a{$i++})!=' ')?'*':"\n";}


Usage:
Call the Script and define a global variable ($a)
php -d error_reporting=0 script.php?a="Hello World"