Ejemplo n.º 1
0
 protected function setUp()
 {
     global $SAP_CONFIG;
     $this->config = Spyc::YAMLLoad($SAP_CONFIG);
     echo "sapnwrfc version: " . sapnwrfc_version() . "\n";
     echo "nw rfc sdk version: " . sapnwrfc_rfcversion() . "\n";
 }
Ejemplo n.º 2
0
<?php

/**
 * Check if you have successfully installed this extension
 */
if (!extension_loaded('sapnwrfc')) {
    throw new \Exception('Extension "sapnwrfc" not loaded. Please see https://github.com/piersharding/php-sapnwrfc#installation');
}
echo 'Your SapNwRfc extension version: ' . sapnwrfc_version() . PHP_EOL;
echo 'Your SapNwRfc version: ' . sapnwrfc_rfcversion() . PHP_EOL;
echo 'Congratulation! Your installation looks good.' . PHP_EOL;
Ejemplo n.º 3
0
 public function testVersion()
 {
     $this->assertInternalType('string', sapnwrfc_version());
 }