Return the difference of the two arguments without limit checking.

This is the replacement callback for xmlrpc_example.subtract xmlrpc method.

Parameters

int|float $num1: First number

int|float $num2: Second Number

Return value

int|float The difference of the two arguments

Related topics

1 string reference to '_xmlrpc_example_alter_subtract'
xmlrpc_example_xmlrpc_alter in xmlrpc_example/xmlrpc_example.module
Implements hook_xmlrpc_alter().

File

xmlrpc_example/xmlrpc_example.module, line 677
Module file for xmlrpc_example module.

Code

function _xmlrpc_example_alter_subtract($num1, $num2) {
  return $num1 - $num2;
}