Working on a little PHP project I got going here. As a hobbyist I'm not a pro by any means, and I was unable to find specific information on this.
Starting with the example code from the Wiki:
$bitcoin = new jsonRPCClient('http://user:PW@127.0.0.1:8332/');
print_r($bitcoin->getinfo()); echo "\n";
Obviously works as does, for example:
print_r($bitcoin->getaddressesbyaccount('user')); echo "\n";
However this doesnt work?:
print_r($bitcoin->getrawmempool()); echo "\n";
JSON is new for me so is it something about the formatting of the parameters being passed to the API?
But getrawmempool needs no other paramaters just as getinfo doesn't... or does it? Maybe its my client?
Also other API calls seem to be hit and miss, so clearly I'm missing something important and probably obvious... would love a little help

Client Info:
Array
(
[version] => 60300
[protocolversion] => 60001
[walletversion] => 10500
[balance] => 2.6432
[blocks] => 198267
[connections] => 8
[proxy] =>
[difficulty] => 2694047.952955
[testnet] =>
[keypoololdest] => 1312129826
[keypoolsize] => 101
[paytxfee] => 0
[errors] =>
)