Skip to content

Instantly share code, notes, and snippets.

@DavidBruchmann
Created March 5, 2019 12:41
Show Gist options
  • Save DavidBruchmann/6f14d20fbce8b202f5a4b57af83d4fd6 to your computer and use it in GitHub Desktop.
Save DavidBruchmann/6f14d20fbce8b202f5a4b57af83d4fd6 to your computer and use it in GitHub Desktop.
decode the blobs in TYPO3-scheduler-tasks
$hex = '';
$result = '';
$encoded = substr($hex, 2);
while(strlen($encoded)) {
$current = substr($encoded, 0, 2);
$encoded = substr($encoded, 2);
$result .= chr(hexDec($current));
}
echo $result;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment