Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 844055a

Browse files
authored
Adding comment/Wrong-way
1 parent ee0c7f5 commit 844055a

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

‎decode-json.php‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@
99
$token='eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJzdGF0dXMiOiJzdWNjZXNzIiwiZGF0YTEiOiJ0ZXN0MSIsImRhdGEyIjoidGVzdDIiLCJkYXRhMyI6InRlc3QzIiwiZGF0YTQiOiJ0ZXN0NCIsImRhdGE1IjoidGVzdDUifQ.nOa6tq6bDCiURP2GpTehux3geHiNiqQKJXaZ0M_uJ0WD0yTmKM66LS23fCAMraem58HWnmlX4V4WB7-eTfFpbQ';
1010
$decode = JWT::decode($token, $key, array('HS512'));
1111
print_r($decode);
12-
// print $decode."\n";
13-
//$object=json_decode($decode);
14-
//print_r($object);
12+
/*
13+
Wrong-way:
14+
print $decode."\n";
15+
$object=json_decode($decode);
16+
print_r($object);
17+
*/
1518
print "\n";

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /