Hello good day, I am trying to use the "sapnwrfc" extension in a project, but I get an error when doing the following example:
Note: It is worth mentioning that I am using php 7.4 and sdk 7.5, and the library already appears in my php.info and in the php modules I hope you can help me.



'xx',
'sysnr' => '01',
'client' => '300',
'user' => 'xxxx',
'passwd' => 'xxxx',
'trace' => SapConnection::TRACE_LEVEL_OFF,
];
testReadTable();
function testReadTable()
{
try {
$conn = new sapnwrfc($this->config);
$h = $conn->function_lookup('RFC_GET_TABLE_ENTRIES');
$parms = array('BYPASS_BUFFER' => 'X', 'MAX_ENTRIES' => 1, 'TABLE_NAME' => 'T005ZR');
$h->invoke($parms);
} catch (sapnwrfcCallException $e) {
//echo "Exception type: ".$e."\n";
echo "Exception key: " . $e->key . "\n";
echo "Exception code: " . $e->code . "\n";
echo "Exception message: " . $e->getMessage() . "\n";
$this->assertTrue(true);
} catch (Exception $e) {
echo "Exception type: " . $e . "\n";
echo "Exception key: " . $e->key . "\n";
echo "Exception code: " . $e->code . "\n";
echo "Exception message: " . $e->getMessage() . "\n";
throw new Exception('Connection failed.');
}
echo "I am a happy piece of code that carried on....\n";
}