Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
$animeTrend = json_decode(file_get_contents("https://kitsu.io/api/edge/trending/anime")..
Decoded Output download
<? $animeTrend = json_decode(file_get_contents("https://kitsu.io/api/edge/trending/anime"), true);
$animeTrends = json_decode(file_get_contents("https://kitsu.io/api/edge/anime?filter[status]=current&sort=-averageRating&page[limit]=20"), true);
$animeSlide = json_decode(file_get_contents("https://kitsu.io/api/edge/anime?filter[year]=2024"), true);
$animeAiring = json_decode(file_get_contents("https://kitsu.io/api/edge/anime?filter[status]=current&sort=-averageRating&page[limit]=8"), true);
$animePopular = json_decode(file_get_contents("https://kitsu.io/api/edge/anime?filter[status]=current&sort=-popularityRank&page[limit]=8"), true);
$animeFavorite = json_decode(file_get_contents("https://kitsu.io/api/edge/anime?filter[status]=current&sort=-favoritesCount&page[limit]=8"), true);
$animeCompleted = json_decode(file_get_contents("https://kitsu.io/api/edge/anime?filter[status]=finished&page[limit]=8"), true);
$animeUpcoming = json_decode(file_get_contents("https://kitsu.io/api/edge/anime?filter[status]=upcoming&sort=-startDate&page[limit]=8"), true);
$animeLatest = json_decode(file_get_contents("https://kitsu.io/api/edge/anime?filter[status]=upcoming&page[limit]=8"), true);
if ( isset($_GET['keyword']) ) {
$keyword = $_GET['keyword'];
$animeSearch = json_decode(file_get_contents("https://kitsu.io/api/edge/anime?filter[text]=$keyword&page[limit]=20"), true);
}
$animeEpisodes = json_decode(file_get_contents("https://kitsu.io/api/edge/episodes"), true); ?>
Did this file decode correctly?
Original Code
$animeTrend = json_decode(file_get_contents("https://kitsu.io/api/edge/trending/anime"), true);
$animeTrends = json_decode(file_get_contents("https://kitsu.io/api/edge/anime?filter[status]=current&sort=-averageRating&page[limit]=20"), true);
$animeSlide = json_decode(file_get_contents("https://kitsu.io/api/edge/anime?filter[year]=2024"), true);
$animeAiring = json_decode(file_get_contents("https://kitsu.io/api/edge/anime?filter[status]=current&sort=-averageRating&page[limit]=8"), true);
$animePopular = json_decode(file_get_contents("https://kitsu.io/api/edge/anime?filter[status]=current&sort=-popularityRank&page[limit]=8"), true);
$animeFavorite = json_decode(file_get_contents("https://kitsu.io/api/edge/anime?filter[status]=current&sort=-favoritesCount&page[limit]=8"), true);
$animeCompleted = json_decode(file_get_contents("https://kitsu.io/api/edge/anime?filter[status]=finished&page[limit]=8"), true);
$animeUpcoming = json_decode(file_get_contents("https://kitsu.io/api/edge/anime?filter[status]=upcoming&sort=-startDate&page[limit]=8"), true);
$animeLatest = json_decode(file_get_contents("https://kitsu.io/api/edge/anime?filter[status]=upcoming&page[limit]=8"), true);
if ( isset($_GET['keyword']) ) {
$keyword = $_GET['keyword'];
$animeSearch = json_decode(file_get_contents("https://kitsu.io/api/edge/anime?filter[text]=$keyword&page[limit]=20"), true);
}
$animeEpisodes = json_decode(file_get_contents("https://kitsu.io/api/edge/episodes"), true);
Function Calls
json_decode | 1 |
file_get_contents | 1 |
Stats
MD5 | d5fa003c437cae72670d5ee0034f7e6a |
Eval Count | 0 |
Decode Time | 49 ms |