Skip to main content

Developer & Code

PHP Deserialize Code Processor

Process code with PHP Deserialize and review the transformed output. Enter the code, choose the processing options, then copy the result.

Tool workspace

Your input stays in this browser.

Add the required input to continue.

Needs input

You can run the tool again after any change.

Options

Your result appears here

Process code with PHP Deserialize and review the transformed output. Enter the code, choose the processing options, then copy the result.

This tool runs open-source code from CyberChef by GCHQ (Apache License 2.0). See open-source credits.

PHP Deserialize Code Processor processes developer text in your browser. For a correct result, use only trusted serialized input.

the decoded PHP value Processing runs in the browser.

Instructions

  1. Provide text or data for this tool.
  2. Run PHP deserialization with the expected format.
  3. Review the output against a small known PHP Deserialize Code Processor example.
  4. Keep the source code or markup until the result passes its target parser.

Example

Input: a supported serialized PHP value

Settings: PHP Deserialize Code Processor: run PHP deserialization with the expected format

Result: the decoded PHP value

Limits

  • PHP Deserialize Code Processor: deserialization can invoke unsafe behaviors in some runtimes
  • PHP Deserialize Code Processor: The operation does not detect a different language automatically.
  • PHP Deserialize Code Processor: Processing stays in the browser.