Download the PHP package fxmlrpc/serialization without Composer
On this page you can find all versions of the php package fxmlrpc/serialization. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download fxmlrpc/serialization
More information about fxmlrpc/serialization
Files in fxmlrpc/serialization
Package serialization
Short Description Serialization logic for FXMLRPC
License MIT
Homepage http://fxmlrpc.org
Informations about the package serialization
FXMLRPC Serialization
Serialization logic for FXMLRPC.
Install
Via Composer
Usage
This is the contract package for serialization logic used in FXMLRPC.
Currently the following implementations are available:
- Native: Uses XML-RPC extension
- XML Reader: Custom XML reading logic utilizing bitmasks
- Zend Framework Adapter
How fast is it really?
IO performance is out of reach from a userspace perspective, but parsing and serialization speed is what matters. How fast can we generate the XML payload from PHP data structures and how fast can we parse the servers response? FXMLRPC uses stream based XML writers/readers to achieve it’s performance and heavily optimizes (read uglifies) for it. As a result the userland version is only around 2x slower than the native C implementation (ext/xmlrpc).
Run ./vendor/bin/phpbench run --report=custom to execute the benchmarking test suite.
Zend Incompatibility list
Zend is not fully compatible with the rest of the serializers and parsers.
Parser incompatibility
- Automatically decodes Base64 encoded values
- Does not return DateTime objects
- Cannot return empty DateTime values
- Does not support Apache Nil
- Incorrectly detects invalid multiple parameters
- Cannot parse response containing an XXE Attack
Serializer incompatibility
- If no params are passed, no empty params tag is generated
- Unlike the xmlrpc extension, Zend does not add newlines
Testing
Security
If you discover any security related issues, please contact us at [email protected].
Credits
License
The MIT License (MIT). Please see License File for more information.