PHP Deserialize NULL values converted to correctly

PHP Deserialize now correctly returns N as a null instead of an empty object
This commit is contained in:
Storms-Engineering 2019-10-01 21:07:26 -08:00
parent 3472484601
commit 7a3ca027bb

View File

@ -128,8 +128,7 @@ class PHPDeserialize extends Operation {
switch (kind) {
case "n":
expect(";");
return "";
return "null";
case "i":
case "d":
case "b": {