I'm not that familiar with PHP so I could be wrong, but it looks like you're passing strings instead of variables here?:
$bitcoin = new Bitcoin('$rpc_user','$rpc_pass','$rpc_host','$rpc_port');
Instead, it should be this:
$bitcoin = new Bitcoin($rpc_user,$rpc_pass,$rpc_host,$rpc_port);