4. Functions removed from the library
Prev | Chapter 9. Helper functions | Next

## 4. Functions removed from the library

The following two functions have been deprecated in version 1.1 of the library, and removed in version 2, in order to avoid conflicts with the EPI xml-rpc library, which also defines two functions with the same names.

To ease the transition to the new naming scheme and avoid breaking existing implementations, the following scheme has been adopted:

- If EPI-XMLRPC is not active in the current PHP installation, the constant `XMLRPC_EPI_ENABLED` will be set to `'0'`

- If EPI-XMLRPC is active in the current PHP installation, the constant `XMLRPC_EPI_ENABLED` will be set to `'1'`

The following documentation is kept for historical reference:

### 4.1. xmlrpc_decode

`$phpval = xmlrpc_decode(` | $xmlrpc_val`)`; |

`xmlrpcval` | `$xmlrpc_val;`

Alias for php_xmlrpc_decode.

### 4.2. xmlrpc_encode

`$xmlrpc_val = xmlrpc_encode(` | $phpval`)`; |

`mixed` | `$phpval;`

Alias for php_xmlrpc_encode.

Prev | Up | Next
3. Automatic conversion of php functions into xmlrpc methods (and vice versa) | Home | 5. Debugging aids