Created
October 16, 2024 16:50
-
-
Save lunfel/28bfa000594b27c8467db04a31b24266 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// ex: cat php-serialized-data.txt | php unserialize.php | jq ... | |
$data = stream_get_contents(STDIN); | |
print json_encode(unserialize($data)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment