3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json_raw = '{ "address":"1Dt295C6EaBLKNNsCo1iwc2WaUXruyzww2", "event":"address-transaction", "block_chain":"bitcoin", "transaction":{ "hash":"cd37ad7d5110bb047bc2a97c2dc0ff7d0c88bf421dbd1fc876b425ff405b0d2f", "block_height":321058, "block_hash":"000000000000000000099527c0311fa6f4ef51aec43ae5009e641406d3566a75", "block_time":"2014-09-16T23:58:28Z", "inputs":[ { "transaction_hash":"cd37ad7d5110bb047bc2a97c2dc0ff7d0c88bf421dbd1fc876b425ff405b0d2f", "output_hash":"e1f6f765c35b3a41261a414989798b9faa341b880cf3151d47034da64160a9ff", "output_index":0, "value":200000, "addresses":[ "14AbfWbvE4AcPZE5Pwpq7bYdEysdwn68Kr" ], "script_signature":"3045022100be50300d6c5610808883a2dc5e8d47b67ec03c5f2b5fd9bceae52a5ea66f69f50220456d77ddb55b1dfc3698010cf268c98c7d420453cd2d79d0de07c26d2947850301 04c17edd7ee737f2c242b60d2f13ad3eacfc4c1189f9e62ae74ce53aca4fa219db7590c9409427d5cb56b9cd899277b593561cf89cf95c1f766d1c0547c718d4db" }, { "transaction_hash":"cd37ad7d5110bb047bc2a97c2dc0ff7d0c88bf421dbd1fc876b425ff405b0d2f", "output_hash":"262ae3162b1394f00787478528d0cd6f982c56d20df94f876ec45775abdbbdad", "output_index":2, "value":217124, "addresses":[ "1NFPbX2HN8XDZJnsN86MtGMeZdTFZiF2Ce" ], "script_signature":"3046022100fbf684920555f9fd041263a2231cf0f8135dff5b13f7ba70354fc54522c09181022100aa6c99ca0ea5e4b25862139d7e9829323c961484e558a7569c70679642d016cb01 04ce3c3ecb10b91bc5db7f82df4606b14e7a985f31c043f9e015386a1fe4171e541e3b260d0f8239379b84966e8f0373d13040f2039c65b208056a1331753594f4" } ], "outputs":[ { "transaction_hash":"cd37ad7d5110bb047bc2a97c2dc0ff7d0c88bf421dbd1fc876b425ff405b0d2f", "output_index":0, "value":200000, "addresses":[ "1Dt295C6EaBLKNNsCo1iwc2WaUXruyzww2" ], "script":"OP_DUP OP_HASH160 8d47aca50f1d3deab83f3ee744bc3c171f8536d0 OP_EQUALVERIFY OP_CHECKSIG", "script_hex":"76a9148d47aca50f1d3deab83f3ee744bc3c171f8536d088ac", "script_type":"pubkeyhash", "required_signatures":1, "spent":true }, { "transaction_hash":"cd37ad7d5110bb047bc2a97c2dc0ff7d0c88bf421dbd1fc876b425ff405b0d2f", "output_index":1, "value":197124, "addresses":[ "1Hpq3hxhL1DNC7gsGoj8ZJ1uUfZMJibVNa" ], "script":"OP_DUP OP_HASH160 b88dab8a11dde77e2c7ca365c86ddd4cdb44fe45 OP_EQUALVERIFY OP_CHECKSIG", "script_hex":"76a914b88dab8a11dde77e2c7ca365c86ddd4cdb44fe4588ac", "script_type":"pubkeyhash", "required_signatures":1, "spent":false } ], "amount":397124, "fees":20000, "confirmations":10, "propagation_level":null, "double_spend":null, "chain_received_at":"2014-09-16T23:34:08.16201Z" } }'; $json_array = json_decode($json_raw, TRUE);
Output for git.master, git.master_jit, rfc.property-hooks

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:
47.16 ms | 401 KiB | 8 Q