polyfill-unserialize
polyfill-unserialize copied to clipboard
Backports unserialize options introduced in PHP 7.0 to older PHP versions.
Results
1
polyfill-unserialize issues
Sort by
recently updated
recently updated
newest added
According to upstream sources a sign (`+`, `-`) is accepted before the length: https://github.com/php/php-src/blob/PHP-5.4.45/ext/standard/var_unserializer.re#L260-L266 So it is possible to circumvent the polyfill by manually adding it, i.e.: `O:9:"Exception"` vs `O:+9:"Exception"`