I'm using the library easybitcoin to interact with php bitcoind this and the file test.php when I run it I get this error:
Notice: Array to string conversion in Arrayini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL | E_STRICT);
require_once ('easybitcoin.php');
$bitcoin = new Bitcoin('bitcoinrpc','G7BZDHzNdbJ38oqmXSHXbYwsbNY6Djz3gX9SAE7fisud');
$info = $bitcoin->getinfo();
echo $info;
I solved the problem with print_r ($ info)