https://github.com/isaactorresmichel/phpserializer
PHP Serializer is a Factory to get a SerDes class optimized for your PHP installation. Credits on original idea to https://www.drupal.org/project/couchbasedrupal
https://github.com/isaactorresmichel/phpserializer
deserializer php php-7 php7 serdes serializer
Last synced: 14 days ago
JSON representation
PHP Serializer is a Factory to get a SerDes class optimized for your PHP installation. Credits on original idea to https://www.drupal.org/project/couchbasedrupal
- Host: GitHub
- URL: https://github.com/isaactorresmichel/phpserializer
- Owner: isaactorresmichel
- License: mit
- Created: 2017-08-04T16:32:22.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-09T16:15:48.000Z (over 8 years ago)
- Last Synced: 2025-01-19T18:43:58.590Z (12 months ago)
- Topics: deserializer, php, php-7, php7, serdes, serializer
- Language: PHP
- Size: 20.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PHP Serializer
[](https://travis-ci.org/isaactorresmichel/phpserializer)
[](https://github.com/isaactorresmichel/phpserializer/issues)
[](https://github.com/isaactorresmichel/phpserializer/network)
[](https://github.com/isaactorresmichel/phpserializer/stargazers)
[](https://raw.githubusercontent.com/isaactorresmichel/phpserializer/master/LICENSE)
[](https://github.com/ellerbrock/open-source-badges/)
PHP Serializer is a Factory to get a SerDes class optimized for your PHP installation.
```php
getSerializer()->serialize("Hello World!");
$success = false;
$data = $sd_factory->getSerializer()->unserialize($data, $success);
if($success){
echo "Unserialize was successful: {$data}";
} else {
echo "Failed!";
}
```
Credits on original idea to David Garcia on https://www.drupal.org/project/couchbasedrupal