3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = '{ Success: true, Status: "Ok", Data: { _id: "5b93e0e03ae012046018dc83", lastRefreshDate: "2019-01-22T03:20:55.248Z", nestedLeagueID: "42719", season: { seasonName: "Premier League 18/19", seasonYear: "18/19", seasonID: "4AE95" }, league: { _id: "598a3860a455be173c3f6927", name: "Premier League", leagueID: "42719", regionName: "England", regionFlagName: "england", regionFlagIcon: null, regionID: "426F9", countryID: null, currentSeasonID: "4AE95", hasCompleteCoverage: true }, leagueDetailedInfo: { currentChampion: { teamID: "42719", teamName: "Manchester City" }, titlesRecord: { teamID: "4273D", teamName: "Manchester United", titlesCount: 20 }, roundsCount: 38, averageGoals: 283, averageYellowCards: 320, averageRedCards: 15, homeWinsPercentage: 46, awayWinsPercentage: 35, drawsPercentage: 19, endLeagueDate: "2019-05-13T23:59:00Z", startLeagueDate: "2018-08-10T19:00:00Z", startLeagueTimestamps: 1533927600, endLeagueTimestamps: 1557791940 }, tables: [ { tableName: "Unique League Table", table: [ { teamName: "Liverpool", teamID: "4274F", positionOverall: "1", positionAtHome: "2", positionAtAway: "2", pointsOverall: "60", pointsAtHome: "31", pointsAtAway: "29", playedTotal: "23", winTotal: "19", drawTotal: "3", lossTotal: "1", goalsForTotal: "54", goalsAgainstTotal: "13", goalDifferenceTotal: "+41", playedHome: "11", winHome: "10", drawHome: "1", lossHome: "0", goalsForHome: "31", goalsAgainstHome: "6", goalDifferenceHome: "+25", playedAway: "12", winAway: "9", drawAway: "2", lossAway: "1", goalsForAway: "23", goalsAgainstAway: "7", goalDifferenceAway: "+16" }, { teamName: "Manchester City", teamID: "42719", positionOverall: "2", positionAtHome: "1", positionAtAway: "3", pointsOverall: "56", pointsAtHome: "33", pointsAtAway: "23", playedTotal: "23", winTotal: "18", drawTotal: "2", lossTotal: "3", goalsForTotal: "62", goalsAgainstTotal: "17", goalDifferenceTotal: "+45", playedHome: "12", winHome: "11", drawHome: "0", lossHome: "1", goalsForHome: "40", goalsAgainstHome: "10", goalDifferenceHome: "+30", playedAway: "11", winAway: "7", drawAway: "2", lossAway: "2", goalsForAway: "22", goalsAgainstAway: "7", goalDifferenceAway: "+15" } ] } ] } }'; $decoded = json_decode($data, true); print_r($decoded); var_dump(json_last_error());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3etl2
function name:  (null)
number of ops:  15
compiled vars:  !0 = $data, !1 = $decoded
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%7B%0ASuccess%3A+true%2C%0AStatus%3A+%22Ok%22%2C%0AData%3A+%7B%0A_id%3A+%225b93e0e03ae012046018dc83%22%2C%0AlastRefreshDate%3A+%222019-01-22T03%3A20%3A55.248Z%22%2C%0AnestedLeagueID%3A+%2242719%22%2C%0Aseason%3A+%7B%0AseasonName%3A+%22Premier+League+18%2F19%22%2C%0AseasonYear%3A+%2218%2F19%22%2C%0AseasonID%3A+%224AE95%22%0A%7D%2C%0Aleague%3A+%7B%0A_id%3A+%22598a3860a455be173c3f6927%22%2C%0Aname%3A+%22Premier+League%22%2C%0AleagueID%3A+%2242719%22%2C%0AregionName%3A+%22England%22%2C%0AregionFlagName%3A+%22england%22%2C%0AregionFlagIcon%3A+null%2C%0AregionID%3A+%22426F9%22%2C%0AcountryID%3A+null%2C%0AcurrentSeasonID%3A+%224AE95%22%2C%0AhasCompleteCoverage%3A+true%0A%7D%2C%0AleagueDetailedInfo%3A+%7B%0AcurrentChampion%3A+%7B%0AteamID%3A+%2242719%22%2C%0AteamName%3A+%22Manchester+City%22%0A%7D%2C%0AtitlesRecord%3A+%7B%0AteamID%3A+%224273D%22%2C%0AteamName%3A+%22Manchester+United%22%2C%0AtitlesCount%3A+20%0A%7D%2C%0AroundsCount%3A+38%2C%0AaverageGoals%3A+283%2C%0AaverageYellowCards%3A+320%2C%0AaverageRedCards%3A+15%2C%0AhomeWinsPercentage%3A+46%2C%0AawayWinsPercentage%3A+35%2C%0AdrawsPercentage%3A+19%2C%0AendLeagueDate%3A+%222019-05-13T23%3A59%3A00Z%22%2C%0AstartLeagueDate%3A+%222018-08-10T19%3A00%3A00Z%22%2C%0AstartLeagueTimestamps%3A+1533927600%2C%0AendLeagueTimestamps%3A+1557791940%0A%7D%2C%0Atables%3A+%5B%0A%7B%0AtableName%3A+%22Unique+League+Table%22%2C%0Atable%3A+%5B%0A%7B%0AteamName%3A+%22Liverpool%22%2C%0AteamID%3A+%224274F%22%2C%0ApositionOverall%3A+%221%22%2C%0ApositionAtHome%3A+%222%22%2C%0ApositionAtAway%3A+%222%22%2C%0ApointsOverall%3A+%2260%22%2C%0ApointsAtHome%3A+%2231%22%2C%0ApointsAtAway%3A+%2229%22%2C%0AplayedTotal%3A+%2223%22%2C%0AwinTotal%3A+%2219%22%2C%0AdrawTotal%3A+%223%22%2C%0AlossTotal%3A+%221%22%2C%0AgoalsForTotal%3A+%2254%22%2C%0AgoalsAgainstTotal%3A+%2213%22%2C%0AgoalDifferenceTotal%3A+%22%2B41%22%2C%0AplayedHome%3A+%2211%22%2C%0AwinHome%3A+%2210%22%2C%0AdrawHome%3A+%221%22%2C%0AlossHome%3A+%220%22%2C%0AgoalsForHome%3A+%2231%22%2C%0AgoalsAgainstHome%3A+%226%22%2C%0AgoalDifferenceHome%3A+%22%2B25%22%2C%0AplayedAway%3A+%2212%22%2C%0AwinAway%3A+%229%22%2C%0AdrawAway%3A+%222%22%2C%0AlossAway%3A+%221%22%2C%0AgoalsForAway%3A+%2223%22%2C%0AgoalsAgainstAway%3A+%227%22%2C%0AgoalDifferenceAway%3A+%22%2B16%22%0A%7D%2C%0A%7B%0AteamName%3A+%22Manchester+City%22%2C%0AteamID%3A+%2242719%22%2C%0ApositionOverall%3A+%222%22%2C%0ApositionAtHome%3A+%221%22%2C%0ApositionAtAway%3A+%223%22%2C%0ApointsOverall%3A+%2256%22%2C%0ApointsAtHome%3A+%2233%22%2C%0ApointsAtAway%3A+%2223%22%2C%0AplayedTotal%3A+%2223%22%2C%0AwinTotal%3A+%2218%22%2C%0AdrawTotal%3A+%222%22%2C%0AlossTotal%3A+%223%22%2C%0AgoalsForTotal%3A+%2262%22%2C%0AgoalsAgainstTotal%3A+%2217%22%2C%0AgoalDifferenceTotal%3A+%22%2B45%22%2C%0AplayedHome%3A+%2212%22%2C%0AwinHome%3A+%2211%22%2C%0AdrawHome%3A+%220%22%2C%0AlossHome%3A+%221%22%2C%0AgoalsForHome%3A+%2240%22%2C%0AgoalsAgainstHome%3A+%2210%22%2C%0AgoalDifferenceHome%3A+%22%2B30%22%2C%0AplayedAway%3A+%2211%22%2C%0AwinAway%3A+%227%22%2C%0AdrawAway%3A+%222%22%2C%0AlossAway%3A+%222%22%2C%0AgoalsForAway%3A+%2222%22%2C%0AgoalsAgainstAway%3A+%227%22%2C%0AgoalDifferenceAway%3A+%22%2B15%22%0A%7D%0A%0A%5D%0A%7D%0A%5D%0A%7D%0A%7D'
  122     1        INIT_FCALL                                               'json_decode'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 <true>
          4        DO_ICALL                                         $3      
          5        ASSIGN                                                   !1, $3
  123     6        INIT_FCALL                                               'print_r'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                                 
  124     9        INIT_FCALL                                               'var_dump'
         10        INIT_FCALL                                               'json_last_error'
         11        DO_ICALL                                         $6      
         12        SEND_VAR                                                 $6
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.45 ms | 1434 KiB | 17 Q