3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = '{"error":null,"miningSpeeds":[{"coinTypeCode":"HXC","currentHash":"5 Gh/sec","miningTime":"The last coin switch was 4 minutes ago.","port":"Connect via port 3326 (Keccak)."},{"coinTypeCode":"LOT","currentHash":"9823 Kh/sec","miningTime":"The last coin switch was 44 minutes ago.","port":"Connect via port 3332 (Scrypt)."},{"coinTypeCode":"MZC","currentHash":"11 Th/sec","miningTime":"The last coin switch was 20 minutes ago.","port":"Connect via port 3331 (SHA256)."}]}'; $j = json_decode($data, true); print_r($j);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [error] => [miningSpeeds] => Array ( [0] => Array ( [coinTypeCode] => HXC [currentHash] => 5 Gh/sec [miningTime] => The last coin switch was 4 minutes ago. [port] => Connect via port 3326 (Keccak). ) [1] => Array ( [coinTypeCode] => LOT [currentHash] => 9823 Kh/sec [miningTime] => The last coin switch was 44 minutes ago. [port] => Connect via port 3332 (Scrypt). ) [2] => Array ( [coinTypeCode] => MZC [currentHash] => 11 Th/sec [miningTime] => The last coin switch was 20 minutes ago. [port] => Connect via port 3331 (SHA256). ) ) )

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:
35.3 ms | 403 KiB | 8 Q