3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '{ "data": [{ "BrandID": 1, "AccountTranID": "138483", "Datetime": { "date": "2019-07-31 21:26:15.513000", "timezone_type": 3, "timezone": "UTC" }, "PartyID": 1819748, "UserID": "adel2X", "Currency": "USD", "ProductID": 3, "ProductCode": "EBZZ", "ProductTranID": "EBZZ-f90f07cdfeff820904c56696dd72e321", "GameInfoID": 698, "GameID": "80233", "GameTranID": "80238cc6c07f85144d8ade97760f2cbdbff", "TranType": "GAME_BET", "AmountReal": "-.010000000000000000", "AmountPlayableBonus": ".000000000000000000", "AmountReleasedBonus": ".000000000000000000", "BalanceReal": ".000000000000000000", "BalancePlayableBonus": ".000000000000000000", "BalanceReleasedBonus": ".000000000000000000", "RollbackTranID": null, "RollbackTranType": null }, { "BrandID": 1, "AccountTranID": "138484", "Datetime": { "date": "2019-07-31 21:26:16.037000", "timezone_type": 3, "timezone": "UTC" }, "PartyID": 1819748, "UserID": "adel2X", "Currency": "USD", "ProductID": 3, "ProductCode": "GROOVY", "ProductTranID": "Bo-f90f07cdfeff820904c56696dd72e321re", "GameInfoID": 698, "GameID": "80233", "GameTranID": "80238cc6c07f85144d8ade97760f2cbdbff", "TranType": "GAME_WIN", "AmountReal": ".000000000000000000", "AmountPlayableBonus": ".000000000000000000", "AmountReleasedBonus": ".000000000000000000", "BalanceReal": ".000000000000000000", "BalancePlayableBonus": ".000000000000000000", "BalanceReleasedBonus": ".000000000000000000", "RollbackTranID": null, "RollbackTranType": null }] }'; //convert the json in array using json_decode $json_array = json_decode($json, true); //using array_walk_recursive get all the key and value array_walk_recursive($json_array, function($item, $key){ echo $key.':'.$item.PHP_EOL; });

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.4.130.0080.00517.47
8.4.120.0090.00220.86
8.4.110.0120.00818.98
8.4.100.0080.00517.77
8.4.90.0120.01020.29
8.4.80.0090.00719.00
8.4.70.0140.00820.79
8.4.60.0100.01018.76
8.4.50.0080.01320.31
8.4.40.0100.01019.26
8.4.30.0100.01020.53
8.4.20.0060.01318.94
8.4.10.0130.00717.53
8.3.260.0140.00316.47
8.3.250.0100.00819.07
8.3.240.0100.00516.48
8.3.230.0120.00816.37
8.3.220.0040.00418.88
8.3.210.0040.00616.55
8.3.200.0120.00716.40
8.3.190.0120.00817.17
8.3.180.0100.00718.78
8.3.170.0040.01518.91
8.3.160.0060.01216.48
8.3.150.0130.00616.96
8.3.140.0120.00320.71
8.3.130.0050.00318.40
8.3.120.0060.00318.85
8.3.110.0040.00420.94
8.3.100.0000.00924.06
8.3.90.0160.00316.38
8.3.80.0080.00317.97
8.3.70.0100.01016.75
8.3.60.0070.00716.50
8.3.50.0100.00821.09
8.3.40.0110.00418.87
8.3.30.0160.00018.47
8.3.20.0070.00021.76
8.3.10.0040.00422.09
8.3.00.0040.00423.65
8.2.290.0090.00816.45
8.2.280.0030.00718.36
8.2.270.0130.00716.69
8.2.260.0040.00417.31
8.2.250.0050.00516.73
8.2.240.0130.00617.14
8.2.230.0050.00322.58
8.2.220.0060.00337.54
8.2.210.0000.00826.77
8.2.200.0090.00316.38
8.2.190.0110.00416.58
8.2.180.0090.00616.38
8.2.170.0070.00718.88
8.2.160.0100.00722.96
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0050.00221.02
8.2.110.0080.00319.03
8.2.100.0080.00417.91
8.2.90.0030.00517.92
8.2.80.0000.00818.09
8.2.70.0060.00317.63
8.2.60.0040.00417.50
8.2.50.0030.00518.10
8.2.40.0040.00419.23
8.2.30.0000.00819.18
8.2.20.0000.00718.05
8.2.10.0070.00019.19
8.2.00.0030.00319.41
8.1.330.0090.01116.44
8.1.320.0090.01017.77
8.1.310.0120.00316.75
8.1.300.0030.00617.73
8.1.290.0030.00618.88
8.1.280.0140.00025.92
8.1.270.0040.00421.96
8.1.260.0000.02126.35
8.1.250.0050.00328.09
8.1.240.0060.00322.48
8.1.230.0060.00622.81
8.1.220.0040.00417.79
8.1.210.0070.00318.77
8.1.200.0080.00017.35
8.1.190.0040.00417.25
8.1.180.0030.00618.10
8.1.170.0000.00818.62
8.1.160.0000.00720.75
8.1.150.0040.00418.95
8.1.140.0000.00720.88
8.1.130.0030.00621.95
8.1.120.0050.00217.48
8.1.110.0050.00317.46
8.1.100.0040.00417.34
8.1.90.0000.01117.46
8.1.80.0000.00817.45
8.1.70.0000.00717.45
8.1.60.0040.00417.64
8.1.50.0070.00017.50
8.1.40.0030.00517.45
8.1.30.0030.00617.60
8.1.20.0040.00417.66
8.1.10.0050.00317.50
8.1.00.0000.00717.34
8.0.300.0060.00320.03
8.0.290.0000.00816.63
8.0.280.0000.00718.37
8.0.270.0030.00317.30
8.0.260.0000.00619.93
8.0.250.0100.00016.98
8.0.240.0070.00016.84
8.0.230.0030.00316.84
8.0.220.0030.00316.94
8.0.210.0000.00716.81
8.0.200.0060.00016.91
8.0.190.0040.00416.98
8.0.180.0050.00316.90
8.0.170.0050.00716.92
8.0.160.0040.00416.77
8.0.150.0000.00716.89
8.0.140.0040.00416.78
8.0.130.0060.00013.29
8.0.120.0080.00016.75
8.0.110.0040.00416.81
8.0.100.0040.00416.78
8.0.90.0060.00316.90
8.0.80.0080.00816.93
8.0.70.0090.00016.68
8.0.60.0040.00416.84
8.0.50.0050.00316.99
8.0.30.0030.01317.30
8.0.20.0100.01617.21
8.0.10.0070.00017.02
8.0.00.0100.00816.67
7.4.330.0050.00015.55
7.4.320.0030.00316.51
7.4.300.0000.00616.42
7.4.290.0000.00716.53
7.4.280.0040.00416.40
7.4.270.0040.00416.60
7.4.260.0000.00513.23
7.4.250.0070.00016.49
7.4.240.0000.00716.58
7.4.230.0030.00316.40
7.4.220.0030.00316.54
7.4.210.0070.01116.55
7.4.200.0000.00716.57
7.4.140.0090.00917.86
7.4.130.0100.01216.64
7.4.120.0070.01716.69
7.4.110.0150.00316.58
7.4.100.0200.00316.27
7.4.90.0160.00016.52
7.4.80.0130.00419.39
7.4.70.0070.01416.44
7.4.60.0100.00716.45
7.4.50.0060.00916.43
7.4.40.0030.01316.59
7.4.00.0070.00914.99
7.3.330.0020.00516.32
7.3.320.0060.00013.27
7.3.310.0000.00716.19
7.3.300.0030.00316.29
7.3.290.0000.00716.27
7.3.280.0100.00616.15
7.3.260.0090.01016.38
7.3.240.0110.00816.40
7.3.230.0030.01616.36
7.3.210.0130.00716.29
7.3.200.0060.01016.33
7.3.190.0040.01416.45
7.3.180.0110.00716.21
7.3.170.0120.00416.20
7.3.160.0090.00916.35
7.3.120.0100.00714.92
7.3.110.0110.00714.70
7.3.100.0090.00614.97
7.3.90.0030.01214.82
7.3.80.0060.00314.80
7.3.70.0080.00814.88
7.3.60.0030.01214.82
7.3.50.0080.00314.73
7.3.40.0050.00914.65
7.3.30.0070.00814.83
7.3.20.0080.01215.79
7.3.10.0080.00515.83
7.3.00.0080.00615.72
7.2.330.0100.00716.60
7.2.320.0060.01216.78
7.2.310.0100.01016.39
7.2.300.0180.00316.67
7.2.290.0090.00916.79
7.2.250.0100.01015.23
7.2.240.0100.01015.02
7.2.230.0000.01815.08
7.2.220.0030.00715.04
7.2.210.0000.01215.11
7.2.200.0090.00815.08
7.2.190.0020.01215.01
7.2.180.0110.00515.04
7.2.170.0060.00715.00
7.2.160.0090.00715.10
7.2.150.0070.00915.89
7.2.140.0050.00915.92
7.2.130.0140.00515.96
7.2.120.0130.00715.87
7.2.110.0050.01216.00
7.2.100.0120.01015.75
7.2.90.0080.00816.02
7.2.80.0110.00516.03
7.2.70.0040.01016.08
7.2.60.0100.00616.06
7.2.50.0120.00716.02
7.2.40.0070.01216.02
7.2.30.0100.01016.01
7.2.20.0080.01015.94
7.2.10.0090.00715.92
7.2.00.0050.01216.13
7.1.330.0040.01415.92
7.1.320.0140.00315.88
7.1.310.0000.01515.87
7.1.300.0080.00614.75
7.1.290.0100.00714.91
7.1.280.0440.00614.86
7.1.270.0080.00714.91
7.1.260.0100.00314.71
7.1.250.0120.00514.88
7.1.240.0030.00715.75
7.1.230.0030.01615.82
7.1.220.0040.00415.70
7.1.210.0000.01415.48
7.1.200.0030.01015.84
7.1.190.0000.01215.88
7.1.180.0030.00915.92
7.1.170.0040.00815.89
7.1.160.0000.01515.41
7.1.150.0000.01215.87
7.1.140.0000.00915.93
7.1.130.0000.01215.89
7.1.120.0040.00815.82
7.1.110.0030.01015.64
7.1.100.0110.00415.73
7.1.90.0030.01015.73
7.1.80.0090.00615.50
7.1.70.0040.01115.59
7.1.60.0030.01015.45
7.1.50.0050.00515.85
7.1.40.0100.00315.84
7.1.30.0080.00415.62
7.1.20.0090.00615.65
7.1.10.0030.00715.48
7.1.00.0050.00815.77

preferences:
122.86 ms | 403 KiB | 5 Q