Skip to content

Commit

Permalink
PHP Deserialize NULL values converted to correctly
Browse files Browse the repository at this point in the history
PHP Deserialize now correctly returns N as a null instead of an empty object
  • Loading branch information
Storms-Engineering committed Oct 12, 2019
1 parent 3472484 commit 7a3ca02
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/core/operations/PHPDeserialize.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,7 @@ class PHPDeserialize extends Operation {
switch (kind) {
case "n":
expect(";");
return "";

return "null";
case "i":
case "d":
case "b": {
Expand Down

0 comments on commit 7a3ca02

Please sign in to comment.