Skip to content

Instantly share code, notes, and snippets.

@jrdnrc
Last active March 22, 2017 08:46
Show Gist options
  • Save jrdnrc/71b92c28c354edfaf4185bb30a3b9a08 to your computer and use it in GitHub Desktop.
Save jrdnrc/71b92c28c354edfaf4185bb30a3b9a08 to your computer and use it in GitHub Desktop.
Decoder
<?php declare(strict_types = 1);
$switched = str_replace(['-', '_'], ['+', '/'], $raw);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment