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());

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.70.0180.00316.50
8.3.60.0120.00318.18
8.3.50.0040.01118.19
8.3.40.0070.00718.46
8.3.30.0140.00018.45
8.3.20.0040.00420.48
8.3.10.0050.00321.73
8.3.00.0000.00723.70
8.2.190.0100.01016.58
8.2.180.0120.00616.35
8.2.170.0060.01522.96
8.2.160.0070.00720.39
8.2.150.0000.00724.18
8.2.140.0040.00424.66
8.2.130.0070.00020.31
8.2.120.0070.00026.35
8.2.110.0060.00322.23
8.2.100.0080.00417.84
8.2.90.0080.00017.75
8.2.80.0080.00017.97
8.2.70.0030.00517.92
8.2.60.0050.00317.96
8.2.50.0030.00518.10
8.2.40.0050.00319.22
8.2.30.0000.00719.09
8.2.20.0040.00417.89
8.2.10.0050.00319.23
8.2.00.0030.00519.84
8.1.280.0120.00325.92
8.1.270.0080.00018.89
8.1.260.0080.00026.35
8.1.250.0000.00728.09
8.1.240.0060.00322.22
8.1.230.0060.00620.88
8.1.220.0000.00817.74
8.1.210.0080.00018.77
8.1.200.0030.00617.23
8.1.190.0080.00017.23
8.1.180.0050.00518.10
8.1.170.0000.00918.59
8.1.160.0040.00418.86
8.1.150.0000.00718.68
8.1.140.0040.00418.86
8.1.130.0000.00720.06
8.1.120.0000.00717.40
8.1.110.0000.00717.39
8.1.100.0040.00417.46
8.1.90.0040.00417.33
8.1.80.0000.00717.27
8.1.70.0000.00717.39
8.1.60.0000.00717.48
8.1.50.0070.00017.45
8.1.40.0040.00417.42
8.1.30.0030.00617.64
8.1.20.0060.00317.48
8.1.10.0070.00317.48
8.1.00.0070.00317.36
8.0.300.0030.00319.65
8.0.290.0060.00316.75
8.0.280.0040.00418.39
8.0.270.0000.00717.08
8.0.260.0060.00318.30
8.0.250.0030.00316.75
8.0.240.0000.00816.77
8.0.230.0030.00316.85
8.0.220.0070.00016.71
8.0.210.0040.00416.79
8.0.200.0000.00616.84
8.0.190.0000.00716.78
8.0.180.0030.00616.82
8.0.170.0040.00416.86
8.0.160.0000.00716.83
8.0.150.0070.00016.76
8.0.140.0030.00316.71
8.0.130.0050.00013.20
8.0.120.0000.00816.79
8.0.110.0050.00216.79
8.0.100.0000.00816.63
8.0.90.0040.00416.71
8.0.80.0070.01016.77
8.0.70.0000.00716.71
8.0.60.0070.00016.71
8.0.50.0040.00416.82
8.0.30.0130.01316.83
8.0.20.0120.00617.40
8.0.10.0040.00416.92
8.0.00.0080.01416.56
7.4.330.0000.00515.55
7.4.320.0060.00316.41
7.4.300.0030.00316.53
7.4.290.0060.00216.49
7.4.280.0030.00416.45
7.4.270.0000.00716.41
7.4.260.0030.00316.30
7.4.250.0000.00716.28
7.4.240.0070.00016.41
7.4.230.0000.00716.52
7.4.220.0030.00616.54
7.4.210.0070.00916.45
7.4.200.0040.00416.32
7.4.160.0100.00716.41
7.4.140.0090.00917.86
7.4.130.0090.00916.30
7.4.120.0180.00616.29
7.4.110.0000.01616.26
7.4.100.0040.01316.21
7.4.90.0030.01316.26
7.4.80.0040.01419.39
7.4.70.0100.00716.41
7.4.60.0110.00816.50
7.4.50.0060.00616.31
7.4.40.0060.00916.23
7.4.00.0070.00715.07
7.3.330.0000.00613.00
7.3.320.0000.00512.86
7.3.310.0000.00716.06
7.3.300.0050.00216.14
7.3.290.0070.00016.04
7.3.280.0090.00616.20
7.3.260.0110.01116.25
7.3.240.0080.01116.35
7.3.230.0170.00016.03
7.3.210.0090.00916.05
7.3.200.0030.01316.29
7.3.190.0060.01816.15
7.3.180.0070.01016.31
7.3.170.0160.00716.41
7.3.160.0000.01716.34
7.3.10.0590.00314.66
7.3.00.0530.00514.68
7.2.330.0070.01016.60
7.2.320.0130.00916.48
7.2.310.0040.01316.22
7.2.300.0030.01316.38
7.2.290.0100.00716.43
7.2.130.0400.00914.58
7.2.120.0500.00514.93
7.2.110.0530.00514.91
7.2.100.0410.00614.78
7.2.90.0540.00514.93
7.2.80.0440.00514.86
7.2.70.0420.00514.82
7.2.60.0470.00514.88
7.2.50.0460.00314.94
7.2.40.0680.00814.73
7.2.30.0560.00514.99
7.2.20.0430.00515.01
7.2.10.0580.01014.83
7.2.00.0380.00914.92
7.1.250.0520.00313.90

preferences:
16.98 ms | 401 KiB | 5 Q