$hoge = '/home/user/public_html/hoge.jpg';

$hoge = '/home/user/public_html;
にする一番スマートなやり方ってどんなのがありますか?