cat $SERIALIZED_PHP_FILE | php -r 'echo json_encode(unserialize(file_get_contents("php://stdin")));'
Last active
June 13, 2022 10:23
-
-
Save jkullick/f80cc3c189260a970ce0a6bef0144397 to your computer and use it in GitHub Desktop.
Convert Serialized PHP to JSON
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment