Created
August 19, 2019 18:30
-
-
Save ginsterbusch/590bf349927685b094bff6e084a86f09 to your computer and use it in GitHub Desktop.
Komische kryptische Zeichen in Shortcodes
This file contains hidden or 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 | |
$x = 'eyJoYWxsbyI6IndlbHQiLCJzb25nLXRpdGVsIjp7Im1laW4iOiJnZWhpcm4iLCJkZWluIjoiZ2VoaXJuIn0sInVybCI6Imh0dHBzJTNBJTJGJTJGdXNhYmlsaXR5LWlkZWFsaXN0Lm5ldCUyRiUyM2tvbnRha3QiLCJlaW5zX3BsdXMiOnRydWV9'; | |
$y = base64_decode( $x ); | |
$z = json_decode( urldecode( $y ), true ); // true ergibt ein array, ohne haben wir reine StdClass-Objektorgie | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment