Li-An, this plugin takes care of situations when the code you would enter in a PHP “text widget” produces an error.

Secondly, having the option to enter raw PHP might be a potential security risk.

I use it for Popularity Contest and a few other plugins and so far I haven’t had the need for raw PHP.