$eth = $this->web3->eth;
$eth->batch(true);
$eth->gasPrice();
$eth->protocolVersion();
$eth->syncing();
$eth->provider->execute(function ($err, $data2) {
if ($err !== null) {
throw $err;
}
echo "data:";
var_dump($data2);
});
# returns
data:
array(3) {
[0] => NULL
[1] => NULL
[2] => NULL
}