Hi! > Perhaps a compromise would be to choose the quickest method of > serialization, add it to PHP core. > > In php.ini add the directive > serialization.method = msgpack / Igbinary / ....
We could, but what if you need to read/write data specifically from current PHP serializer? You'd have to mess then with runtime directives, it doesn't look like a good design. That's like having one db_query() function for all databases and have a config parameter that switches the global database type. I think the other option is better - to have extensions for all underlying functions and abstraction layer (PDO or userspace) that provides unified API if needed. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php