Comments (4)
Hi @sodabrew. Sorry, I have no relation to the msgpack project and can't help with moving your PR forward :(
Regarding the community recommendations, this library was burn because of various issues and limitations I ran into while using the pecl extension and I tried to address them in my own implementation. Indeed, the official PHP extension seems not maintained anymore, but I'm not aware of any published recommendations regarding moving away from pecl towards my library.
from msgpack.php.
Thanks for the background info! So I'll describe my use case and let's see what we can do.
I maintain the php-mecached module. It supports using several different encoders transparently by setting the flags
value of the memcached item. The three encoders currently supported are PHP Serialize, IgBinary, and MesssagePack via the msgpack-php C extension.
All three of these are C-based options.
I haven't given much thought to PHP-callback serializers. But I figure that should be pretty straightforward with this module, pass in a variable and get back a binary string?
from msgpack.php.
But I figure that should be pretty straightforward with this module, pass in a variable and get back a binary string?
Correct, it should work for all data types except objects. To be able to serialize objects you have to implement your own type transformer.
from msgpack.php.
Closing as the issue is not related to msgpack.php.
from msgpack.php.
Related Issues (14)
- Use generators for unpackArray/unpackMap HOT 4
- Add packer flags to disable utf8/bin and array/map auto-detection
- Add an ability to pack to single-precision floats
- Add support for the timestamp extension HOT 2
- tryUnpack - how do you know when to return while streaming HOT 2
- Bump minimum PHP version requirement to 7.x
- Optimize packing map keys
- BufferUnpacker with Type transformers not decoding correctly HOT 4
- Installing without composer HOT 1
- PHP 8 support HOT 5
- Use array_is_list() for detecting array/map HOT 2
- Consider making PackOptions::FORCE_STR the default option
- Inline BufferUnpacker::ensureLength() and compare perf
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from msgpack.php.