Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Recover broken php serialized data

License

NotificationsYou must be signed in to change notification settings

wizacode/php-error-proof-unserializer

Repository files navigation

Intro

Notice:unserialize(): Error at offset ... of ... bytes ...

You can try this to unserialize a corrupted serialized string.

Usage

useWizacode\ErrorProofUnserializer\ErrorProofUnserializer;// Attempt to unserialize a corrupted serialized string:$recoveredUnserializedData = ErrorProofUnserializer::process($brokenSerializedString);// Or only fix the serialized string:$fixedSerializedData = ErrorProofUnserialize::fix($brokenSerializedString);

P.S.: Don't record php serialized data in a RDBMS (or use at least a binary safe storage type)

About

Recover broken php serialized data

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors2

  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp