diff options
author | Toon Schoenmakers <toon.schoenmakers@copernica.com> | 2015-10-08 11:38:50 +0200 |
---|---|---|
committer | Toon Schoenmakers <toon.schoenmakers@copernica.com> | 2015-10-08 11:38:50 +0200 |
commit | 8b7a4d319b56220f2ef03eaa4190a55db59cde5c (patch) | |
tree | 5638a78b3358680ec7775df62fdc66e9288d1d20 /common | |
parent | 780a9445afc58a46a6c1e4dd3c4b5a4ce7f03042 (diff) |
Handle exceptions thrown from unserialize similar to normal php
Most of this code was taken from ext/standard/vars.c:948, the error
message isn't the same, but that's just a small detail.
Funny enough you can actually make unserialize throw if you make this
code handling the same as serialize, but as the php documentation says
that unserialize doesn't throw we just handle it like this (the way we should).
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions