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; });
Output for git.master, git.master_jit, rfc.property-hooks
BrandID:1 AccountTranID:138483 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: RollbackTranType: BrandID:1 AccountTranID:138484 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: RollbackTranType:

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
27.16 ms | 409 KiB | 5 Q